|
||||||||||
| 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.axf.ide.handlers.ModelRunHandler
public abstract class ModelRunHandler
The Class ModelRunHandler.
| Constructor Summary | |
|---|---|
ModelRunHandler(EngineControl control)
Instantiates a new model run handler. |
|
| Method Summary | |
|---|---|
java.lang.Object |
execute(org.eclipse.core.commands.ExecutionEvent event)
|
IEngine |
getRunner()
Gets the runner. |
boolean |
isEnabled()
|
void |
modelActivated(IModel model)
Notifies the listener that the given model has been activated, that is in foreground and controllable. |
void |
modelAdded(IModel model)
Model added. |
void |
modelRemoved(IModel model)
Model removed. |
void |
notifyChange()
Notify change. |
void |
observationEnd(IObservationProvider model)
Notifies that the model is no longer providing observations. |
void |
observationEnding(IObservationProvider observed)
Notifies that the model is about to be closed. |
void |
observeCreate(IObservationProvider observed)
Notifies that the model has been instantiated but has not yet been initialized. |
void |
observeInitialize(IObservationProvider observed)
Notifies that the model's initial state has been reached. |
void |
observeStart(IObservationProvider observed)
Notifies that the model is just starting execution. |
void |
observeStop(IObservationProvider observed)
Notifies that the model has stopped execution. |
void |
observeUpdate(IObservationProvider observed)
Notifies that the model has completed one period of execution at the appropriate level of granularity. |
void |
observing(IObservationProvider model)
Notifies that the model is now aware of this observer. |
void |
stateChange(java.lang.Object key,
java.lang.Object updated)
Notifies that the model has had some kind of state or observation status change. |
void |
viewActivated(org.eclipse.ui.IWorkbenchPart part)
View activated. |
void |
viewAdded(org.eclipse.ui.IWorkbenchPart part)
View added. |
void |
viewRemoved(org.eclipse.ui.IWorkbenchPart part)
View removed. |
| Methods inherited from class org.eclipse.core.commands.AbstractHandler |
|---|
addHandlerListener, dispose, isHandled, removeHandlerListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelRunHandler(EngineControl control)
control - the control| Method Detail |
|---|
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
throws org.eclipse.core.commands.ExecutionException
execute in interface org.eclipse.core.commands.IHandlerevent -
org.eclipse.core.commands.ExecutionExceptionIHandler.execute(org.eclipse.core.commands.ExecutionEvent)public IEngine getRunner()
public boolean isEnabled()
isEnabled in interface org.eclipse.core.commands.IHandlerisEnabled in class org.eclipse.core.commands.AbstractHandlerAbstractHandler.isEnabled()public void notifyChange()
public void observing(IObservationProvider model)
ILifeCycleListener
observing in interface ILifeCycleListenermodel - the observedpublic void observationEnd(IObservationProvider model)
ILifeCycleListener
observationEnd in interface ILifeCycleListenermodel - the model removed eventmodelAdded
public void stateChange(java.lang.Object key,
java.lang.Object updated)
IStateListener
stateChange in interface IStateListenerkey - the keyupdated - the updatedpublic void modelActivated(IModel model)
IModelWorkbenchListener
modelActivated in interface IModelWorkbenchListenermodel - The model that is currently activated, or null if no models are now active. This usually indicates
that no models exist.public void modelAdded(IModel model)
IModelWorkbenchListener
modelAdded in interface IModelWorkbenchListenermodel - the modelpublic void modelRemoved(IModel model)
IModelWorkbenchListener
modelRemoved in interface IModelWorkbenchListenermodel - the modelpublic void viewActivated(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewActivated in interface IModelWorkbenchListenerpart - the partpublic void viewAdded(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewAdded in interface IModelWorkbenchListenerpart - the partpublic void viewRemoved(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewRemoved in interface IModelWorkbenchListenerpart - the partpublic void observationEnding(IObservationProvider observed)
ILifeCycleListener
observationEnding in interface ILifeCycleListenerobserved - the model eventpublic void observeCreate(IObservationProvider observed)
ILifeCycleListener
observeCreate in interface ILifeCycleListenerobserved - the model eventpublic void observeInitialize(IObservationProvider observed)
ILifeCycleListener
observeInitialize in interface ILifeCycleListenerobserved - the observedpublic void observeStart(IObservationProvider observed)
ILifeCycleListener
observeStart in interface ILifeCycleListenerobserved - the model eventpublic void observeStop(IObservationProvider observed)
ILifeCycleListener
observeStop in interface ILifeCycleListenerobserved - the model eventpublic void observeUpdate(IObservationProvider observed)
ILifeCycleListener
observeUpdate in interface ILifeCycleListenerobserved - the model event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||