Search in sources :

Example 1 with WholeNodeEditPolicy

use of org.whole.lang.ui.editpolicies.WholeNodeEditPolicy in project whole by wholeplatform.

the class AbstractFreeformNodePart method createEditPolicies.

protected void createEditPolicies() {
    installEditPolicy(EditPolicy.COMPONENT_ROLE, new WholeComponentEditPolicy(getCommandFactory()));
    installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new WholeNodeEditPolicy());
}
Also used : WholeNodeEditPolicy(org.whole.lang.ui.editpolicies.WholeNodeEditPolicy) WholeComponentEditPolicy(org.whole.lang.ui.editpolicies.WholeComponentEditPolicy)

Aggregations

WholeComponentEditPolicy (org.whole.lang.ui.editpolicies.WholeComponentEditPolicy)1 WholeNodeEditPolicy (org.whole.lang.ui.editpolicies.WholeNodeEditPolicy)1