|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectValidatorUniqueString
com.ibm.etools.iseries.rse.ui.validators.ValidatorCompileCommandLabel
public class ValidatorCompileCommandLabel
This is a copy of the open RSE ValidatorCompileCommandLabel, but with some modifications, due to NLS problems in open RSE. TODO: Remove when we move to open RSE 3.1 when it can fix the nls bugs
| Field Summary | |
|---|---|
static String |
copyright
|
protected boolean |
fUnique
|
static int |
MAX_CMDLABEL_LENGTH
|
protected SystemMessage |
msg_Invalid
|
protected IWorkspace |
workspace
|
| Constructor Summary | |
|---|---|
ValidatorCompileCommandLabel()
Use this constructor when the name need not be unique, and you just want the syntax checking. |
|
ValidatorCompileCommandLabel(Collection existingLabelList)
Use this constructor when you have a list of existing labels. |
|
ValidatorCompileCommandLabel(String[] existingLabelList)
Use this constructor when you have an array of existing labels. |
|
| Method Summary | |
|---|---|
protected boolean |
checkForBadCharacters(String newText)
Overridable method for invalidate character check, beyond what this class offers |
SystemMessage |
getInvalidMessage(String substitutionString)
|
int |
getMaximumNameLength()
Return the max length for compile commands: 50 |
SystemMessage |
getNotUniqueMessage(String substitutionString)
|
SystemMessage |
isSyntaxOk(String newText)
Validate each character. |
String |
isValid(String newText)
Copied from ValidatorUniqueString, which slight modifications for the NLS problems in open RSE 3.0 |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static String copyright
public static final int MAX_CMDLABEL_LENGTH
protected boolean fUnique
protected SystemMessage msg_Invalid
protected IWorkspace workspace
| Constructor Detail |
|---|
public ValidatorCompileCommandLabel(Collection existingLabelList)
public ValidatorCompileCommandLabel(String[] existingLabelList)
public ValidatorCompileCommandLabel()
| Method Detail |
|---|
protected boolean checkForBadCharacters(String newText)
public String toString()
public SystemMessage isSyntaxOk(String newText)
public int getMaximumNameLength()
public String isValid(String newText)
public SystemMessage getInvalidMessage(String substitutionString)
public SystemMessage getNotUniqueMessage(String substitutionString)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||