Search in sources :

Example 1 with WholeConnectionEditPolicy

use of org.whole.lang.ui.editpolicies.WholeConnectionEditPolicy 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)

Aggregations

ConnectionEndpointEditPolicy (org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)1 WholeConnectionEditPolicy (org.whole.lang.ui.editpolicies.WholeConnectionEditPolicy)1