Search in sources :

Example 1 with AssociationBendEditPolicy

use of org.jkiss.dbeaver.ext.erd.policy.AssociationBendEditPolicy 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());
    }
}
Also used : ConnectionEndpointEditPolicy(org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy) AssociationEditPolicy(org.jkiss.dbeaver.ext.erd.policy.AssociationEditPolicy) AssociationBendEditPolicy(org.jkiss.dbeaver.ext.erd.policy.AssociationBendEditPolicy)

Aggregations

ConnectionEndpointEditPolicy (org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)1 AssociationBendEditPolicy (org.jkiss.dbeaver.ext.erd.policy.AssociationBendEditPolicy)1 AssociationEditPolicy (org.jkiss.dbeaver.ext.erd.policy.AssociationEditPolicy)1