|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.amp.escape.command.ResourceHandler
org.eclipse.amp.escape.command.ExecuteHandler
public abstract class ExecuteHandler
The Class ExecuteHandler.
| Constructor Summary | |
|---|---|
ExecuteHandler(boolean headless)
Instantiates a new execute handler. |
|
| Method Summary | |
|---|---|
protected EclipseEscapeRunner |
createRunner()
Creates the runner. |
void |
execute(java.lang.Object executed,
java.lang.String name)
Starts a new job with a EclipseEscapeRunner that executes
the scape. |
protected abstract void |
executeOpen(EclipseEscapeRunner eclipseRunner,
java.lang.Object executed,
org.eclipse.core.runtime.IProgressMonitor monitor)
Execute open. |
protected abstract boolean |
handleSelect(java.lang.Object sel)
Handle select. |
boolean |
isHeadless()
|
void |
setEnabled(java.lang.Object evaluationContext)
|
void |
setHeadless(boolean headless)
|
| Methods inherited from class org.eclipse.amp.escape.command.ResourceHandler |
|---|
execute, execute, executeHandler, getMonitor, setMonitor |
| Methods inherited from class org.eclipse.core.commands.AbstractHandler |
|---|
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecuteHandler(boolean headless)
headless - the headless| Method Detail |
|---|
public final void execute(java.lang.Object executed,
java.lang.String name)
throws org.eclipse.core.commands.ExecutionException
EclipseEscapeRunner that executes
the scape.
execute in class ResourceHandlerexecuted - scape resource/class name to executename - scape name
org.eclipse.core.commands.ExecutionException - if problem executing
protected abstract void executeOpen(EclipseEscapeRunner eclipseRunner,
java.lang.Object executed,
org.eclipse.core.runtime.IProgressMonitor monitor)
eclipseRunner - the eclipse runnerexecuted - the executed scape resource/namemonitor - the monitorprotected EclipseEscapeRunner createRunner()
public void setEnabled(java.lang.Object evaluationContext)
setEnabled in interface org.eclipse.core.commands.IHandler2setEnabled in class org.eclipse.core.commands.AbstractHandlerprotected abstract boolean handleSelect(java.lang.Object sel)
sel - the sel
public void setHeadless(boolean headless)
public boolean isHeadless()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||