|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.acm.extensions.PrintableStringEditor
public class PrintableStringEditor
The editor for an attribute with PrintableString values. It is just an input box and a list of strings already input in the set of attribute values.
It can be fed a configuration file with OIDs and names of the roles, or it can use the sequence of such values in the acm.cfg
The PRINTABLE_STRING_EDITOR_CFG_FILE
variable contains the name
of the configuration variable, specifying the file with OIDs. The
PRINTABLE_STRING_EDITOR_CFG_LINE
variable contains the name of the
configuration variable to keep the sequence of the role OIDs and their names.
The configuration line in the acm.cfg must be of the following format:
<OID in dotted form> <attribute name; cannot not contain ';' char>';'
repeated as many times, as needed.
The configuration file for PrintableStringEditor can contain as many lines of the format said above, as needed; the trailing semicolon can be omitted. Empty lines and comments (lines starting with ';' or '#') are ignored.
Field Summary | |
---|---|
static java.lang.String |
COMMENT1
|
static java.lang.String |
COMMENT2
|
static java.lang.String |
OID_SEPARATOR
|
static java.lang.String |
PRINTABLE_STRING_EDITOR_CFG_FILE
This variable specifies the configuration file variable. |
static java.lang.String |
PRINTABLE_STRING_EDITOR_CFG_LINE
This variable specifies OID-name pairs directly in the configuration file. |
Constructor Summary | |
---|---|
PrintableStringEditor()
|
Method Summary | |
---|---|
void |
bewail(java.lang.String message)
|
void |
registerMe(Registry where)
Reads in PRINTABLE_STRING_EDITOR_CFG_FILE and PRINTABLE_STRING_EDITOR_CFG_LINE and constructs a sequence of PermisRoleEditorHelpers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PRINTABLE_STRING_EDITOR_CFG_FILE
"PrintableStringEditor.Config"
.
public static final java.lang.String PRINTABLE_STRING_EDITOR_CFG_LINE
"PrintableStringEditor.OIDs"
.
public static final java.lang.String COMMENT1
public static final java.lang.String COMMENT2
public static final java.lang.String OID_SEPARATOR
Constructor Detail |
---|
public PrintableStringEditor()
Method Detail |
---|
public void registerMe(Registry where)
registerMe
in interface Utility
public void bewail(java.lang.String message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |