public interface IDatapoolSuggestedType extends IDatapoolSuggestedType
IDatapoolSuggestedType.TYPE_ENUMERATION allows the editor to use an
editable combobox for manually changing a value rather then requiring
the user to get the spelling correct for each value in the available
value set.TYPE_BOOLEAN, TYPE_COMPLEX, TYPE_ENUMERATION, TYPE_NUMBER, TYPE_STRING| Modifier and Type | Method and Description |
|---|---|
void |
setEnumerationLiterals(java.lang.String[] enumLiterals)
Defines the set of enumerations literals associated with a
enumeration type. |
void |
setSuggestedClassName(java.lang.String complexClassName)
Defines the value class name associated with a
variable.
|
void |
setSuggestedType(int type)
Define the type associated with a variable in the associated
datapool.
|
getEnumerationLiterals, getSuggestedClassName, getSuggestedTypevoid setSuggestedType(int type)
type - One of the predefined type formats.IDatapoolSuggestedType.TYPE_STRING,
IDatapoolSuggestedType.TYPE_NUMBER,
IDatapoolSuggestedType.TYPE_BOOLEAN,
IDatapoolSuggestedType.TYPE_ENUMERATION,
IDatapoolSuggestedType.TYPE_COMPLEX,
IDatapoolSuggestedType.getSuggestedType()void setEnumerationLiterals(java.lang.String[] enumLiterals)
enumeration type. If the
type is not set to a
enumeration type then an
appropriate DatapoolException is thrown.enumLiterals - The set of enumerations literals associated
with a enumeration
type.IDatapoolSuggestedType.TYPE_ENUMERATION,
IDatapoolSuggestedType.getEnumerationLiterals()void setSuggestedClassName(java.lang.String complexClassName)
complexClassName - The complex class name associated
with a variableIDatapoolSuggestedType.getSuggestedClassName()