Search in sources :

Example 1 with WidgetComponentEditPolicy

use of org.csstudio.opibuilder.editpolicies.WidgetComponentEditPolicy in project yamcs-studio by yamcs.

the class WidgetTreeEditpart method createEditPolicies.

@Override
protected void createEditPolicies() {
    super.createEditPolicies();
    installEditPolicy(EditPolicy.COMPONENT_ROLE, new WidgetComponentEditPolicy());
    installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new WidgetTreeEditPolicy());
}
Also used : WidgetComponentEditPolicy(org.csstudio.opibuilder.editpolicies.WidgetComponentEditPolicy) WidgetTreeEditPolicy(org.csstudio.opibuilder.editpolicies.WidgetTreeEditPolicy)

Example 2 with WidgetComponentEditPolicy

use of org.csstudio.opibuilder.editpolicies.WidgetComponentEditPolicy in project yamcs-studio by yamcs.

the class AbstractBaseEditPart method createEditPolicies.

@Override
protected void createEditPolicies() {
    installEditPolicy(EditPolicy.COMPONENT_ROLE, new WidgetComponentEditPolicy());
    installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new WidgetNodeEditPolicy());
}
Also used : WidgetComponentEditPolicy(org.csstudio.opibuilder.editpolicies.WidgetComponentEditPolicy) WidgetNodeEditPolicy(org.csstudio.opibuilder.editpolicies.WidgetNodeEditPolicy)

Aggregations

WidgetComponentEditPolicy (org.csstudio.opibuilder.editpolicies.WidgetComponentEditPolicy)2 WidgetNodeEditPolicy (org.csstudio.opibuilder.editpolicies.WidgetNodeEditPolicy)1 WidgetTreeEditPolicy (org.csstudio.opibuilder.editpolicies.WidgetTreeEditPolicy)1