|
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.commands.Handler
public class Handler
Simplified Handler for execution of Commands
Field Summary | |
---|---|
static java.lang.String |
DEFAULTPARAM
|
Constructor Summary | |
---|---|
Handler()
|
Method Summary | |
---|---|
static java.lang.Object |
execute(org.eclipse.ui.IViewSite origin,
java.lang.String commandID,
java.lang.Object param)
Execute a Command with a single Object as Parameter |
static java.lang.Object |
executeWithProgress(org.eclipse.ui.IViewSite origin,
java.lang.String commandID,
java.lang.Object param,
org.eclipse.core.runtime.IProgressMonitor monitor)
Execute a Command with a single Object as Parameter and a ProgressMonitor |
static org.eclipse.core.runtime.IProgressMonitor |
getMonitor(org.eclipse.core.commands.ExecutionEvent eev)
get the ProgressMonitor supplied by the caller |
static java.lang.Object |
getParam(org.eclipse.core.commands.ExecutionEvent eev)
Return the given single Parameter. |
static java.lang.Object |
getParam(java.lang.String paramName)
Return a named parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULTPARAM
Constructor Detail |
---|
public Handler()
Method Detail |
---|
public static java.lang.Object executeWithProgress(org.eclipse.ui.IViewSite origin, java.lang.String commandID, java.lang.Object param, org.eclipse.core.runtime.IProgressMonitor monitor)
origin
- The ViewSite the Command was originatedcommandID
- the ID of the command as defined in plugin.xmlparam
- the arbitrary parameter
public static java.lang.Object execute(org.eclipse.ui.IViewSite origin, java.lang.String commandID, java.lang.Object param)
origin
- The ViewSite the Command was originatedcommandID
- the ID of the command as defined in plugin.xmlparam
- the arbitrary parameter
public static java.lang.Object getParam(org.eclipse.core.commands.ExecutionEvent eev)
eev
- the ExecutionEnvironment of the command
public static org.eclipse.core.runtime.IProgressMonitor getMonitor(org.eclipse.core.commands.ExecutionEvent eev)
eev
- the ExecutionEnvironment of the Command
public static java.lang.Object getParam(java.lang.String paramName)
paramName
-
|
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 |