public interface IMdacPropertyPage
The main methods are update(ObList, IMdacPropertyTable)
and {changeProperty(ObList, int, String)
}, respectively used
to display the property page's content, and to update the a field's value.
All modules should extend AbstractMdacPropertyPage
instead of implementing this interface.
Modifier and Type | Method and Description |
---|---|
void |
changeProperty(ObList<IElement> elements,
int row,
String value)
This method is called when the user modify the value of a property.
|
org.eclipse.jface.resource.ImageDescriptor |
getBitmap()
Get the property page's bitmap.
|
String |
getLabel()
Get the label of this property page.
|
IMdac |
getMdac()
Get the module of this property page.
|
String |
getName()
Get the name of the property page.
|
void |
setBitmap(org.eclipse.jface.resource.ImageDescriptor image)
Set the property page's bitmap.
|
void |
setLabel(String label)
Set the labe of this property page.
|
void |
setMdac(IMdac mdac)
Set the mdac of this property page.
|
void |
setName(String name)
Set the name of the property page.
|
void |
update(ObList<IElement> elements,
IMdacPropertyTable table)
This method is called to provide the properties that will populate the module properties view.
|
String getName()
org.eclipse.jface.resource.ImageDescriptor getBitmap()
String getLabel()
IMdac getMdac()
void update(ObList<IElement> elements, IMdacPropertyTable 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(ObList<IElement> elements, int row, 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.void setName(String name)
name
- the name of the property page.void setBitmap(org.eclipse.jface.resource.ImageDescriptor image)
image
- the bitmap ImageDescriptor.void setLabel(String label)
label
- the text that will be displayed in the property page's label.void setMdac(IMdac mdac)
mdac
- the module owning this property page.