Search in sources :

Example 1 with WholeLayoutEditPolicy

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

the class AbstractPart method createEditPolicies.

protected void createEditPolicies() {
    installEditPolicy(EditPolicy.CONTAINER_ROLE, new WholeContainerEditPolicy(getCommandFactory()));
    installEditPolicy(EditPolicy.COMPONENT_ROLE, new WholeComponentEditPolicy(getCommandFactory()));
    installEditPolicy(EditPolicy.LAYOUT_ROLE, new WholeLayoutEditPolicy(getCommandFactory()));
// installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new WholeHilightEditPolicy());
}
Also used : WholeContainerEditPolicy(org.whole.lang.ui.editpolicies.WholeContainerEditPolicy) WholeLayoutEditPolicy(org.whole.lang.ui.editpolicies.WholeLayoutEditPolicy) WholeComponentEditPolicy(org.whole.lang.ui.editpolicies.WholeComponentEditPolicy)

Example 2 with WholeLayoutEditPolicy

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

the class AbstractFreeformContentPanePart method createEditPolicies.

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

Aggregations

WholeComponentEditPolicy (org.whole.lang.ui.editpolicies.WholeComponentEditPolicy)2 WholeLayoutEditPolicy (org.whole.lang.ui.editpolicies.WholeLayoutEditPolicy)2 WholeContainerEditPolicy (org.whole.lang.ui.editpolicies.WholeContainerEditPolicy)1