|
TPTP 4.1.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.test.ui.navigator.actions.RenamerUIStatus
This class contains the status of the UI interaction of the rename action.
An instance of this class is returned by the method IProxyNodeRenamer.performUserInteraction.
This status is composed of a flag and the new name of the renamed element in certain case.
The flag values mean:
OK means thas a dedicated UI dialog has been successfully terminated and the new name should be stored in the status and available through getNewName()).CANCEL means thas a dedicated UI dialog has been called but it has been cancel before a new name has been set.INLINE_EDITOR means that a inline editor has been used. The new name is automatically passed in that case.
IProxyNodeRenamer.performUserInteraction(String),
RenamerUIOk,
RenamerUICancel,
RenamerUIInlineEditor| Field Summary | |
|---|---|
static int |
CANCEL
|
static int |
INLINE_EDITOR
|
static int |
OK
|
| Constructor Summary | |
|---|---|
RenamerUIStatus(int status,
java.lang.String name)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getNewName()
Getter for the new name of the renamed proxy node. |
int |
getStatus()
Returns the kind of the status one of (OK, CANCEL or INLINE_EDITOR). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OK
public static final int CANCEL
public static final int INLINE_EDITOR
| Constructor Detail |
public RenamerUIStatus(int status,
java.lang.String name)
status - which kind of status (OK, CANCEL or INLINE_EDITOR)name - the new name of the renamed proxy node.| Method Detail |
public java.lang.String getNewName()
public int getStatus()
|
TPTP 4.1.0 Testing Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||