TPTP 4.1.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.navigator.actions
Class RenamerUIStatus

java.lang.Object
  extended byorg.eclipse.hyades.test.ui.navigator.actions.RenamerUIStatus
Direct Known Subclasses:
RenamerUICancel, RenamerUIInlineEditor, RenamerUIOk

public class RenamerUIStatus
extends java.lang.Object

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:

One public instance of each case have been declared and clients are supposed to use those instances.

Since:
3.3
See Also:
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

OK

public static final int OK
See Also:
Constant Field Values

CANCEL

public static final int CANCEL
See Also:
Constant Field Values

INLINE_EDITOR

public static final int INLINE_EDITOR
See Also:
Constant Field Values
Constructor Detail

RenamerUIStatus

public RenamerUIStatus(int status,
                       java.lang.String name)
Constructor

Parameters:
status - which kind of status (OK, CANCEL or INLINE_EDITOR)
name - the new name of the renamed proxy node.
Method Detail

getNewName

public java.lang.String getNewName()
Getter for the new name of the renamed proxy node.

Returns:
the new name of the renamed proxy node.

getStatus

public int getStatus()
Returns the kind of the status one of (OK, CANCEL or INLINE_EDITOR).

Returns:
the kind of the status one of (OK, CANCEL or INLINE_EDITOR).

TPTP 4.1.0 Testing Tools Project
Public API Specification