Search in sources :

Example 1 with TextualDirectEditEditPolicy

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

the class AbstractTextualFreeformNodePart method createEditPolicies.

@Override
protected void createEditPolicies() {
    super.createEditPolicies();
    installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new TextualHilightEditPolicy());
    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new TextualDirectEditEditPolicy(getCommandFactory()));
}
Also used : TextualDirectEditEditPolicy(org.whole.lang.ui.editpolicies.TextualDirectEditEditPolicy) TextualHilightEditPolicy(org.whole.lang.ui.editpolicies.TextualHilightEditPolicy)

Example 2 with TextualDirectEditEditPolicy

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

the class AbstractTextualEntityPart method createEditPolicies.

@Override
protected void createEditPolicies() {
    super.createEditPolicies();
    installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new TextualHilightEditPolicy());
    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new TextualDirectEditEditPolicy(getCommandFactory()));
}
Also used : TextualDirectEditEditPolicy(org.whole.lang.ui.editpolicies.TextualDirectEditEditPolicy) TextualHilightEditPolicy(org.whole.lang.ui.editpolicies.TextualHilightEditPolicy)

Aggregations

TextualDirectEditEditPolicy (org.whole.lang.ui.editpolicies.TextualDirectEditEditPolicy)2 TextualHilightEditPolicy (org.whole.lang.ui.editpolicies.TextualHilightEditPolicy)2