Class StartupHelper2


  • public class StartupHelper2
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String FILE_SAVE  
      private static java.lang.String FILE_SAVE_ALL  
    • Constructor Summary

      Constructors 
      Constructor Description
      StartupHelper2()
      Will be run after workbench is started and w.window is opened
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean getPref​(java.lang.String prefkey)  
      (package private) static org.eclipse.ui.application.IWorkbenchWindowConfigurer getWorkbenchWindowConfigurer​(org.eclipse.ui.IWorkbenchWindow ww)
      Very dirty trick to get internal handle to WorkbenchWindowConfigurer.
      private void hookOnCommand​(java.lang.String commandId)  
      void init()  
      private static void remove​(org.eclipse.jface.action.IContributionManager manager, java.lang.String id)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StartupHelper2

        public StartupHelper2()
        Will be run after workbench is started and w.window is opened
    • Method Detail

      • init

        public void init()
      • getWorkbenchWindowConfigurer

        static org.eclipse.ui.application.IWorkbenchWindowConfigurer getWorkbenchWindowConfigurer​(org.eclipse.ui.IWorkbenchWindow ww)
        Very dirty trick to get internal handle to WorkbenchWindowConfigurer.
        Parameters:
        ww -
      • hookOnCommand

        private void hookOnCommand​(java.lang.String commandId)
      • remove

        private static void remove​(org.eclipse.jface.action.IContributionManager manager,
                                   java.lang.String id)
      • getPref

        private static boolean getPref​(java.lang.String prefkey)