|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
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(IViewSite origin,
java.lang.String commandID,
java.lang.Object param)
Execute a Command with a single Object as Parameter |
static java.lang.Object |
executeWithProgress(IViewSite origin,
java.lang.String commandID,
java.lang.Object param,
IProgressMonitor monitor)
Execute a Command with a single Object as Parameter and a ProgressMonitor |
static IProgressMonitor |
getMonitor(ExecutionEvent eev)
get the ProgressMonitor supplied by the caller |
static java.lang.Object |
getParam(ExecutionEvent eev)
Return the given single Parameter. |
Methods inherited from class java.lang.Object |
---|
equals, 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(IViewSite origin, java.lang.String commandID, java.lang.Object param, 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(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(ExecutionEvent eev)
eev
- the ExecutionEnvironment of the command
public static IProgressMonitor getMonitor(ExecutionEvent eev)
eev
- the ExecutionEnvironment of the Command
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |