public interface IModulePropertyPage extends IModulePropertyPanel
The main methods are update(List, IModulePropertyTable)
and {changeProperty(List, int, String)
}, respectively used
to display the property page's content, and to update the a field's value.
All modules should extend AbstractModulePropertyPage
instead of implementing this interface.
Modifier and Type | Method and Description |
---|---|
void |
changeProperty(java.util.List<MObject> elements,
int row,
java.lang.String value)
This method is called when the user modify the value of a property.
|
void |
update(java.util.List<MObject> elements,
IModulePropertyTable table)
This method is called to provide the properties that will populate the module properties view.
|
getIcon, getLabel, getModule, getName, getRelevance, setLabel, setModule, setName
void update(java.util.List<MObject> elements, IModulePropertyTable table)
Overwrite this method in the class generated by MDA Designer to provide properties.
By default, nothing is done when the table should be updated.
elements
- the elements to load the properties from.table
- the property page's data model.void changeProperty(java.util.List<MObject> elements, int row, java.lang.String value)
Overwrite this method to modify the model when the user modify a value.
By default, nothing is done when a property is changed.
elements
- the elements to change the properties into.row
- the line of the modified property.value
- the value set in the property.