Search in sources :

Example 1 with AssociationBendEditPolicy

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

Example 2 with AssociationBendEditPolicy

use of org.jkiss.dbeaver.erd.ui.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.erd.ui.policy.AssociationEditPolicy) AssociationBendEditPolicy(org.jkiss.dbeaver.erd.ui.policy.AssociationBendEditPolicy)

Aggregations

ConnectionEndpointEditPolicy (org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)2 AssociationBendEditPolicy (org.jkiss.dbeaver.erd.ui.policy.AssociationBendEditPolicy)2 AssociationEditPolicy (org.jkiss.dbeaver.erd.ui.policy.AssociationEditPolicy)2