Class StartupHelper2
- java.lang.Object
-
- de.loskutov.anyedit.actions.internal.StartupHelper2
-
public class StartupHelper2 extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classStartupHelper2.DirtyHookRunnableprivate static classStartupHelper2.DummyActionprivate static classStartupHelper2.PreExecutionHandler
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringFILE_SAVEprivate static java.lang.StringFILE_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 booleangetPref(java.lang.String prefkey)(package private) static org.eclipse.ui.application.IWorkbenchWindowConfigurergetWorkbenchWindowConfigurer(org.eclipse.ui.IWorkbenchWindow ww)Very dirty trick to get internal handle to WorkbenchWindowConfigurer.private voidhookOnCommand(java.lang.String commandId)voidinit()private static voidremove(org.eclipse.jface.action.IContributionManager manager, java.lang.String id)
-
-
-
Field Detail
-
FILE_SAVE_ALL
private static final java.lang.String FILE_SAVE_ALL
- See Also:
- Constant Field Values
-
FILE_SAVE
private static final java.lang.String FILE_SAVE
- See Also:
- Constant Field Values
-
-
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)
-
-