Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.runtime.event
Interface IMTJRuntimeListChangeListener


public interface IMTJRuntimeListChangeListener

Classes that implement this interface provide methods that deal with the events that are generated when the properties of a MTJRuntimeList change.

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.

Since:
1.0

Method Summary
 void activeMTJRuntimeSwitched(SwitchActiveMTJRuntimeEvent event)
          The currently active MTJRuntimeList has changed.
 void mtjRuntimeAdded(AddMTJRuntimeEvent event)
          A MTJRuntime was added to the MTJRuntimeList.
 void mtjRuntimeRemoved(RemoveMTJRuntimeEvent event)
          A MTJRuntime was removed from the MTJRuntimeList.
 

Method Detail

activeMTJRuntimeSwitched

void activeMTJRuntimeSwitched(SwitchActiveMTJRuntimeEvent event)
The currently active MTJRuntimeList has changed.

Sent when the MTJRuntimeList.switchActiveMTJRuntime(MTJRuntime) method is invoked.

Parameters:
event - an SwitchActiveMTJRuntimeEvent object containing the active MTJRuntime information.

mtjRuntimeAdded

void mtjRuntimeAdded(AddMTJRuntimeEvent event)
A MTJRuntime was added to the MTJRuntimeList.

Sent when the MTJRuntimeList.add(MTJRuntime) method is invoked.

Parameters:
event - an AddMTJRuntimeEvent object containing the added MTJRuntime information.

mtjRuntimeRemoved

void mtjRuntimeRemoved(RemoveMTJRuntimeEvent event)
A MTJRuntime was removed from the MTJRuntimeList.

Sent when the MTJRuntimeList.remove(Object) method is invoked.

Parameters:
event - an RemoveMTJRuntimeEvent object containing the removed MTJRuntime information.

Mobile Tools for Java
Release 1.0