use of org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy in project dbeaver by dbeaver.
the class AssociationPart method createEditPolicies.
@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_BENDPOINTS_ROLE, new AssociationBendEditPolicy());
if (isEditEnabled()) {
installEditPolicy(EditPolicy.COMPONENT_ROLE, new AssociationEditPolicy());
}
}
use of org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy in project whole by wholeplatform.
the class SimpleConnectionPart method createEditPolicies.
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_ROLE, new WholeConnectionEditPolicy(getCommandFactory()));
}
use of org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy in project dbeaver by serge-rider.
the class LockGraphEdgeEditPart method createEditPolicies.
@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ROLE, new LockGraphConnectionEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
}
use of org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy in project dbeaver by serge-rider.
the class AssociationPart method createEditPolicies.
@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_BENDPOINTS_ROLE, new AssociationBendEditPolicy());
if (isEditEnabled()) {
installEditPolicy(EditPolicy.COMPONENT_ROLE, new AssociationEditPolicy());
}
}
use of org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy in project dbeaver by dbeaver.
the class LockGraphEdgeEditPart method createEditPolicies.
@Override
protected void createEditPolicies() {
installEditPolicy(EditPolicy.CONNECTION_ROLE, new LockGraphConnectionEditPolicy());
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
}
Aggregations