|
||||||||||
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 controlMethod 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.IHandler
event
-
org.eclipse.core.commands.ExecutionException
IHandler.execute(org.eclipse.core.commands.ExecutionEvent)
public IEngine getRunner()
public boolean isEnabled()
isEnabled
in interface org.eclipse.core.commands.IHandler
isEnabled
in class org.eclipse.core.commands.AbstractHandler
AbstractHandler.isEnabled()
public void notifyChange()
public void observing(IObservationProvider model)
ILifeCycleListener
observing
in interface ILifeCycleListener
model
- the observedpublic void observationEnd(IObservationProvider model)
ILifeCycleListener
observationEnd
in interface ILifeCycleListener
model
- the model removed eventmodelAdded
public void stateChange(java.lang.Object key, java.lang.Object updated)
IStateListener
stateChange
in interface IStateListener
key
- the keyupdated
- the updatedpublic void modelActivated(IModel model)
IModelWorkbenchListener
modelActivated
in interface IModelWorkbenchListener
model
- 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 IModelWorkbenchListener
model
- the modelpublic void modelRemoved(IModel model)
IModelWorkbenchListener
modelRemoved
in interface IModelWorkbenchListener
model
- the modelpublic void viewActivated(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewActivated
in interface IModelWorkbenchListener
part
- the partpublic void viewAdded(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewAdded
in interface IModelWorkbenchListener
part
- the partpublic void viewRemoved(org.eclipse.ui.IWorkbenchPart part)
IModelWorkbenchListener
viewRemoved
in interface IModelWorkbenchListener
part
- the partpublic void observationEnding(IObservationProvider observed)
ILifeCycleListener
observationEnding
in interface ILifeCycleListener
observed
- the model eventpublic void observeCreate(IObservationProvider observed)
ILifeCycleListener
observeCreate
in interface ILifeCycleListener
observed
- the model eventpublic void observeInitialize(IObservationProvider observed)
ILifeCycleListener
observeInitialize
in interface ILifeCycleListener
observed
- the observedpublic void observeStart(IObservationProvider observed)
ILifeCycleListener
observeStart
in interface ILifeCycleListener
observed
- the model eventpublic void observeStop(IObservationProvider observed)
ILifeCycleListener
observeStop
in interface ILifeCycleListener
observed
- the model eventpublic void observeUpdate(IObservationProvider observed)
ILifeCycleListener
observeUpdate
in interface ILifeCycleListener
observed
- the model event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |