org.eclipse.mtj.core.project.runtime.event
Class AddMTJRuntimeEvent
java.lang.Object
java.util.EventObject
org.eclipse.mtj.core.project.runtime.event.AddMTJRuntimeEvent
-
All Implemented Interfaces:
-
Serializable
-
public class AddMTJRuntimeEvent
- extends
EventObject
AddMTJRuntimeEvent is used to notify that a
MTJRuntime
is added to
MTJRuntimeList
.
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
-
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.
AddMTJRuntimeEvent
public AddMTJRuntimeEvent(
MTJRuntimeList source,
MTJRuntime addedRuntime)
- Constructs a AddMTJRuntimeEvent object.
-
Parameters:
-
source
-
MTJRuntimeList
instance of the MTJ MIDlet project. -
addedRuntime
- the added
MTJRuntime
.
getAddedMTJRuntime
public
MTJRuntime getAddedMTJRuntime()
- Get the
MTJRuntime
that was added to the MTJ Project.
-
-
Returns:
- the added
MTJRuntime
.
setMTJRuntime
public void setMTJRuntime(
MTJRuntime addedRuntime)
- Set the
MTJRuntime
to be added.
-
-
Parameters:
-
addedRuntime
- the
MTJRuntime
to be added.