|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elexis.actions.GlobalEventDispatcher
public class GlobalEventDispatcher
Nested Class Summary | |
---|---|
static interface |
GlobalEventDispatcher.IActivationListener
|
Method Summary | |
---|---|
static void |
addActivationListener(GlobalEventDispatcher.IActivationListener l,
org.eclipse.ui.IWorkbenchPart part)
Add a listener that will be informed as a View gets activated or deactivated, and becomes visible or invisible. |
ch.elexis.actions.GlobalEventDispatcher.GlobalListener |
getDefaultListener()
Einen Standardlistener holen, der ISelectionEvents von StructuredViewers der Workbench holt und an GlobalEvents weiterleitet. |
static GlobalEventDispatcher |
getInstance()
|
void |
partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
|
void |
partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
|
static void |
removeActivationListener(GlobalEventDispatcher.IActivationListener l,
org.eclipse.ui.IWorkbenchPart part)
Remove an activationlistener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GlobalEventDispatcher getInstance()
public ch.elexis.actions.GlobalEventDispatcher.GlobalListener getDefaultListener()
public static void addActivationListener(GlobalEventDispatcher.IActivationListener l, org.eclipse.ui.IWorkbenchPart part)
l
- the Activationlistener. If a listener is added twice, it will be called twice.part
- The workbench part to observepublic static void removeActivationListener(GlobalEventDispatcher.IActivationListener l, org.eclipse.ui.IWorkbenchPart part)
l
- The listener to remove. If no such listener was added, nothing happenspart
- the worbench part this listener was attached to. If no such par exists, nothing
happenspublic void partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
partActivated
in interface org.eclipse.ui.IPartListener2
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
partBroughtToTop
in interface org.eclipse.ui.IPartListener2
public void partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
partClosed
in interface org.eclipse.ui.IPartListener2
public void partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
partDeactivated
in interface org.eclipse.ui.IPartListener2
public void partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
partOpened
in interface org.eclipse.ui.IPartListener2
public void partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
partHidden
in interface org.eclipse.ui.IPartListener2
public void partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
partVisible
in interface org.eclipse.ui.IPartListener2
public void partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
partInputChanged
in interface org.eclipse.ui.IPartListener2
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |