org.eclipse.mtj.core.project.runtime.event
Class SwitchActiveMTJRuntimeEvent
java.lang.Object
java.util.EventObject
org.eclipse.mtj.core.project.runtime.event.SwitchActiveMTJRuntimeEvent
- All Implemented Interfaces:
- Serializable
public class SwitchActiveMTJRuntimeEvent
- extends EventObject
SwitchActiveMTJRuntimeEvent is used to notify that active Configuration for a
Midlet project switched.
- Since:
- 1.0
- See Also:
- Serialized Form
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
SwitchActiveMTJRuntimeEvent
public SwitchActiveMTJRuntimeEvent(MTJRuntimeList source,
MTJRuntime oldActiveConfig,
MTJRuntime newActiveConfig)
- Constructs a SwitchActiveMTJRuntimeEvent object.
- Parameters:
source - - Configuration instance of the MTJ Midlet project.oldActiveConfig - - the old active configuration.newActiveConfig - - the new active configuration.
getNewActiveMTJRuntime
public MTJRuntime getNewActiveMTJRuntime()
getOldActiveMTJRuntime
public MTJRuntime getOldActiveMTJRuntime()
setNewActiveMTJRuntime
public void setNewActiveMTJRuntime(MTJRuntime newActiveConfig)
setOldActiveMTJRuntime
public void setOldActiveMTJRuntime(MTJRuntime oldActiveConfig)