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 class
StartupHelper2.DirtyHookRunnable
private static class
StartupHelper2.DummyAction
private static class
StartupHelper2.PreExecutionHandler
-
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)
-
-
-
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)
-
-