Search in sources :

Example 6 with ConnectionEndpointEditPolicy

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());
    }
}
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 7 with ConnectionEndpointEditPolicy

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()));
}
Also used : ConnectionEndpointEditPolicy(org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy) WholeConnectionEditPolicy(org.whole.lang.ui.editpolicies.WholeConnectionEditPolicy)

Example 8 with ConnectionEndpointEditPolicy

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());
}
Also used : ConnectionEndpointEditPolicy(org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)

Example 9 with 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());
    }
}
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 10 with ConnectionEndpointEditPolicy

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());
}
Also used : ConnectionEndpointEditPolicy(org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)

Aggregations

ConnectionEndpointEditPolicy (org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)12 Command (org.eclipse.gef.commands.Command)3 ConnectionEditPolicy (org.eclipse.gef.editpolicies.ConnectionEditPolicy)3 GroupRequest (org.eclipse.gef.requests.GroupRequest)3 ArrayList (java.util.ArrayList)2 List (java.util.List)2 AssociationBendEditPolicy (org.jkiss.dbeaver.ext.erd.policy.AssociationBendEditPolicy)2 AssociationEditPolicy (org.jkiss.dbeaver.ext.erd.policy.AssociationEditPolicy)2 RelationshipEditPolicy (com.cubrid.common.ui.er.policy.RelationshipEditPolicy)1 ConnectionEditPolicy (com.cubrid.cubridmanager.ui.replication.editor.policies.ConnectionEditPolicy)1 ConnectionDeleteCommand (org.csstudio.opibuilder.commands.ConnectionDeleteCommand)1 ManhattanBendpointEditPolicy (org.csstudio.opibuilder.editpolicies.ManhattanBendpointEditPolicy)1 ConnectionRouter (org.eclipse.draw2d.ConnectionRouter)1 ManhattanConnectionRouter (org.eclipse.draw2d.ManhattanConnectionRouter)1 EditPolicy (org.eclipse.gef.EditPolicy)1 ReconnectRequest (org.eclipse.gef.requests.ReconnectRequest)1 AssociationBendEditPolicy (org.jkiss.dbeaver.erd.ui.policy.AssociationBendEditPolicy)1 AssociationEditPolicy (org.jkiss.dbeaver.erd.ui.policy.AssociationEditPolicy)1 ConnectionBendpointEditPolicy (org.knime.workbench.editor2.editparts.policy.ConnectionBendpointEditPolicy)1 IConnection (org.talend.core.model.process.IConnection)1