Search in sources :

Example 1 with WidgetTreeEditPolicy

use of org.csstudio.opibuilder.editpolicies.WidgetTreeEditPolicy 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)

Aggregations

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