|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.mtj.core.project.runtime.event.SwitchActiveMTJRuntimeEvent
public class SwitchActiveMTJRuntimeEvent
SwitchActiveMTJRuntimeEvent is used to notify that active MTJRuntime for a MTJProject switched.
All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SwitchActiveMTJRuntimeEvent(MTJRuntimeList source,
MTJRuntime oldActiveConfig,
MTJRuntime newActiveConfig)
Creates a new instance of SwitchActiveMTJRuntimeEvent. |
Method Summary | |
---|---|
MTJRuntime |
getNewActiveMTJRuntime()
Return the newly activated runtime. |
MTJRuntime |
getOldActiveMTJRuntime()
Return the previous active runtime. |
void |
setNewActiveMTJRuntime(MTJRuntime newActiveRuntime)
Set the newly activated runtime. |
void |
setOldActiveMTJRuntime(MTJRuntime oldActiveRuntime)
Set the previous active runtime. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SwitchActiveMTJRuntimeEvent(MTJRuntimeList source, MTJRuntime oldActiveConfig, MTJRuntime newActiveConfig)
source
- the MTJRuntimeList in which the active MTJRuntime has been
switched.oldActiveConfig
- the previous active runtime.newActiveConfig
- the newly activated runtime.Method Detail |
---|
public MTJRuntime getNewActiveMTJRuntime()
public MTJRuntime getOldActiveMTJRuntime()
public void setNewActiveMTJRuntime(MTJRuntime newActiveRuntime)
newActiveRuntime
- the newly activated runtime.public void setOldActiveMTJRuntime(MTJRuntime oldActiveRuntime)
oldActiveRuntime
- the previous active runtime.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |