|
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.MTJRuntimeNameChangeEvent
public class MTJRuntimeNameChangeEvent
MTJRuntimeNameChangeEvent is used to notify that the name of the MTJRuntime has changed.
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 | |
---|---|
MTJRuntimeNameChangeEvent(MTJRuntime source,
String oldRuntimeName,
String newRuntimeName)
Creates a new instance of MTJRuntimeNameChangeEvent. |
Method Summary | |
---|---|
String |
getNewRuntimeName()
Return the new MTJRuntime name. |
String |
getOldRuntimeName()
Return the previous MTJRuntime name. |
void |
setNewRuntimeName(String newRuntimeName)
Set the new MTJRuntime name. |
void |
setOldRuntimeName(String oldRuntimeName)
Set the previous MTJRuntime name. |
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 MTJRuntimeNameChangeEvent(MTJRuntime source, String oldRuntimeName, String newRuntimeName)
source
- The MTJRuntime that has been changed.oldRuntimeName
- The previous MTJRuntime name.newRuntimeName
- The new MTJRuntime name.Method Detail |
---|
public String getNewRuntimeName()
public String getOldRuntimeName()
public void setNewRuntimeName(String newRuntimeName)
newRuntimeName
- the new MTJRuntime name.public void setOldRuntimeName(String oldRuntimeName)
oldRuntimeName
- the previous MTJRuntime name.
|
Mobile Tools for Java Release 1.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |