|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.dialogs.SystemDeleteTableRow
com.ibm.etools.systems.core.ui.dialogs.SystemRenameTableRow
Represents one row in the table in the SystemRenameDialog dialog.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemRenameTableRow(Object element,
int rowNbr)
Constructor |
Method Summary | |
---|---|
String |
getCanonicalNewName()
Get the canonical name of this row. |
boolean |
getError()
Return true if this row is currently in error |
SystemMessage |
getErrorMessage()
Return text of error if this row is currently in error |
int |
getNameLengthLimit()
Return the name length limit, if available via the name validator supplied by the adapter. |
ISystemValidator |
getNameValidator()
Return the validator for the new name,as supplied by the adaptor for this element type. |
String |
getNewName()
Return the new name for this element, as set by setNewName |
Object |
getParent()
Get the parent of this remote object that is being renamed |
ValidatorUniqueString |
getUniqueNameValidator()
Return the uniqueness validator for the new name,as supplied by the call to setUniqueNameValidator |
boolean |
newNameEqualsOldName()
Compares the given new name to this row's current name, taking into consideration case if appropriate. |
void |
setErrorMessage(SystemMessage errorMsg)
Set error message for this row. |
void |
setNameValidator(ISystemValidator nameValidator)
Set the validator for the new name,as supplied by the adaptor for name checking. |
void |
setNewName(String name)
Set the new name for this element. |
void |
setParent(Object parent)
Set the parent of this remote object that is being renamed |
void |
setUniqueNameValidator(ValidatorUniqueString uniqueNameValidator)
Set the uniqueness validator for the new name,as supplied by the remote adaptor. |
String |
toString()
|
static String |
trimTrailing(String text)
Trim leading blanks |
Methods inherited from class com.ibm.etools.systems.core.ui.dialogs.SystemDeleteTableRow |
---|
getAdapter, getAdapter, getElement, getImageDescriptor, getName, getRemoteAdapter, getRemoteAdapter, getRowNumber, getType, isRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemRenameTableRow(Object element, int rowNbr)
element
- that is being displayed in the tree, and which the
user selected the rename action. This represents a single item.Method Detail |
public void setNewName(String name)
public static String trimTrailing(String text)
public String getNewName()
public Object getParent()
public void setParent(Object parent)
public String getCanonicalNewName()
This method returns a name that can be used for uniqueness checking because it is qualified sufficiently to make it unique.
Defers to the object's adapter
public boolean newNameEqualsOldName()
public int getNameLengthLimit()
public void setNameValidator(ISystemValidator nameValidator)
public void setUniqueNameValidator(ValidatorUniqueString uniqueNameValidator)
public ISystemValidator getNameValidator()
By default queries it from the object's adapter, unless setNameValidator has been called.
public ValidatorUniqueString getUniqueNameValidator()
public boolean getError()
public SystemMessage getErrorMessage()
public void setErrorMessage(SystemMessage errorMsg)
public String toString()
toString
in class SystemDeleteTableRow
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |