public abstract class InputOption extends PageContent
Constructor and Description |
---|
InputOption(ILabel label,
String outputProperty) |
Modifier and Type | Method and Description |
---|---|
void |
addOptionChangedListener(OptionChangedListener listener)
Add a listener on option modification
Listeners should be added statically before call of createControl()
|
String |
getConfigurationAttributeName()
Get the name of the ILaunchConfiguration attribute
Attribute name format is :
MicroEJLaunchConfigurationConstants.MicroEJLaunchConfigurationJPFExtensionAttributePrefix+CSTARTDelimiter+getClass().getName()+CENDDelimiter+propertyName
|
String |
getErrorMessage()
An option is considered to be valid if:
it is not enabled it has no validator it has a validator which returns without errors |
String |
getOutputProperty() |
static String |
getProperty(String attributeName)
Get property from given attribute name, generated by
getConfigurationAttributeName() . |
void |
setOptionValidator(OptionValidator validator)
Set option validator (optional)
|
isEnabled, setDescription, setEnableCondition
public void addOptionChangedListener(OptionChangedListener listener)
public String getConfigurationAttributeName()
public String getErrorMessage()
getErrorMessage
in class JPFExtensionTabNode
null
if the option is valid.public String getOutputProperty()
public static String getProperty(String attributeName)
getConfigurationAttributeName()
.public void setOptionValidator(OptionValidator validator)