Search in sources :

Example 1 with AssociationEditPolicy

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

Example 2 with AssociationEditPolicy

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