Search in sources :

Example 1 with ConnectionBendpointEditPolicy

use of org.knime.workbench.editor2.editparts.policy.ConnectionBendpointEditPolicy in project knime-core by knime.

the class ConnectionContainerEditPart method createEditPolicies.

/**
 * {@inheritDoc}
 */
@Override
protected void createEditPolicies() {
    installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new ConnectionEndpointEditPolicy());
    // enable bendpoints (must be stored in extra info)
    installEditPolicy(EditPolicy.CONNECTION_BENDPOINTS_ROLE, new ConnectionBendpointEditPolicy());
}
Also used : ConnectionEndpointEditPolicy(org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy) ConnectionBendpointEditPolicy(org.knime.workbench.editor2.editparts.policy.ConnectionBendpointEditPolicy)

Aggregations

ConnectionEndpointEditPolicy (org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy)1 ConnectionBendpointEditPolicy (org.knime.workbench.editor2.editparts.policy.ConnectionBendpointEditPolicy)1