|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.ksbase.ui.menus.DynamicBundleLoader
public final class DynamicBundleLoader
The dynamic bundle loader class. This class contains lists of bundles which are loaded when a
specific editor is activated. The bundle data is generated by the
DynamicMenuContributions
class.
Field Summary | |
---|---|
static DynamicBundleLoader |
INSTANCE
Instance of this class. |
Method Summary | |
---|---|
void |
activateAllEditors()
Activates all pending bundles without caring of active editors. |
void |
addBundle(EditorTransformationSettings editor,
URI bundlePath)
Adding a bundle to the queue. |
void |
checkForWaitingEditor(String activeEditor)
Checks if a given editor has pending activations. |
void |
partActivated(IWorkbenchPart part)
A workbench part has been activated and needs to be checked against the waiting editors. |
void |
partBroughtToTop(IWorkbenchPart part)
A workbench part has been brought to top. |
void |
partClosed(IWorkbenchPart part)
A workbench part has been closed. |
void |
partDeactivated(IWorkbenchPart part)
A workbench part has been deactivated. |
void |
partOpened(IWorkbenchPart part)
A workbench part has been opened. |
void |
windowActivated(IWorkbenchWindow window)
A window has been activated. |
void |
windowClosed(IWorkbenchWindow window)
A window has been closed. |
void |
windowDeactivated(IWorkbenchWindow window)
A window has been deactivated. |
void |
windowOpened(IWorkbenchWindow window)
A window has been opened. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DynamicBundleLoader INSTANCE
Method Detail |
---|
public void addBundle(EditorTransformationSettings editor, URI bundlePath)
editor
- The editor to addbundlePath
- The URI to the bundle pathpublic void activateAllEditors()
public void checkForWaitingEditor(String activeEditor)
activeEditor
- The editor class name to checkpublic void windowActivated(IWorkbenchWindow window)
windowActivated
in interface IWindowListener
window
- The activated windowpublic void windowClosed(IWorkbenchWindow window)
windowClosed
in interface IWindowListener
window
- The closed windowpublic void windowDeactivated(IWorkbenchWindow window)
windowDeactivated
in interface IWindowListener
window
- The deactivated windowpublic void windowOpened(IWorkbenchWindow window)
windowOpened
in interface IWindowListener
window
- The opened windowpublic void partActivated(IWorkbenchPart part)
partActivated
in interface IPartListener
part
- The activated part.public void partBroughtToTop(IWorkbenchPart part)
partBroughtToTop
in interface IPartListener
part
- The activated part.public void partClosed(IWorkbenchPart part)
partClosed
in interface IPartListener
part
- The closed partpublic void partDeactivated(IWorkbenchPart part)
partDeactivated
in interface IPartListener
part
- The deactivated partpublic void partOpened(IWorkbenchPart part)
partOpened
in interface IPartListener
part
- The opened part
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |