@Override
 protected void doDeActivate() {
   if (isActive()) {
     delegate.doDeActivate();
     super.doDeActivate();
   }
 }
Пример #2
0
  /** {@inheritDoc} Overidden, to set the selection behaviour of child EditParts. */
  @Override
  protected final EditPart createChild(final Object model) {
    EditPart result = super.createChild(model);

    // setup selection behavior for the new child
    if (result instanceof AbstractBaseEditPart) {
      ((AbstractBaseEditPart) result).setSelectable(false);
    }

    return result;
  }
 @Override
 protected void createEditPolicies() {
   super.createEditPolicies();
   installEditPolicy(DropPVtoPVWidgetEditPolicy.DROP_PV_ROLE, new DropPVtoPVWidgetEditPolicy());
 }
 @Override
 public void activate() {
   super.activate();
   // PV should be started at the last step.
   delegate.startPVs();
 }
 @Override
 protected void doActivate() {
   super.doActivate();
   delegate.doActivate();
 }
 @Override
 protected void registerBasePropertyChangeHandlers() {
   super.registerBasePropertyChangeHandlers();
   delegate.registerBasePropertyChangeHandlers();
 }
 @Override
 protected void initFigure(IFigure figure) {
   super.initFigure(figure);
   delegate.initFigure(figure);
 }