org.eclipse.mtj.core.project.runtime.event
Class MTJRuntimeDeviceChangeEvent
java.lang.Object
java.util.EventObject
org.eclipse.mtj.core.project.runtime.event.MTJRuntimeDeviceChangeEvent
- All Implemented Interfaces:
- Serializable
public class MTJRuntimeDeviceChangeEvent
- extends EventObject
MTJRuntimeDeviceChangeEvent is used to notify that the device of the
configuration changed.
- 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.
MTJRuntimeDeviceChangeEvent
public MTJRuntimeDeviceChangeEvent(MTJRuntime source,
IDevice oldDevice,
IDevice newDevice)
- Constructor.
- Parameters:
source - - the configuration has been changed.oldDevice - - the device before change.newDevice - - the device after change.
getNewDevice
public IDevice getNewDevice()
- Returns:
getOldDevice
public IDevice getOldDevice()
- Returns:
setNewDevice
public void setNewDevice(IDevice newDevice)
- Parameters:
newDevice -
setOldDevice
public void setOldDevice(IDevice oldDevice)
- Parameters:
oldDevice -