Examples of undoableDeactivateHook()


Examples of org.freeplane.features.styles.AutomaticLayoutController.undoableDeactivateHook()

          if(internalChange)
            return;
          final ModeController modeController = Controller.getCurrentModeController();
          AutomaticLayoutController al = modeController.getExtension(AutomaticLayoutController.class);
          NamedObject selectedItem = (NamedObject)mAutomaticLayoutComboBox.getSelectedItem();
          al.undoableDeactivateHook(Controller.getCurrentController().getMap().getRootNode());
          if(!selectedItem.equals(AUTOMATIC_LAYOUT_DISABLED)){
            al.undoableActivateHook(Controller.getCurrentController().getMap().getRootNode(), (AutomaticLayout) selectedItem.getObject());
          }
        }
      });
View Full Code Here

Examples of org.freeplane.view.swing.features.filepreview.ViewerController.undoableDeactivateHook()

    }
    //remove extended progress icon
    if (progUtil.hasExtendedProgressIcon(node)) {
      final ViewerController vc = ((ViewerController) Controller.getCurrentController().getModeController()
          .getExtension(ViewerController.class));
      vc.undoableDeactivateHook(node);
    }
  }

  @Override
  public void setEnabled() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.