public abstract class AbstractModulePropertyPage extends java.lang.Object implements IModulePropertyPage
This class is used as a base class of the property page that is associated to a specific module.
Modifier and Type | Field and Description |
---|---|
protected IModule |
module
Module that is associated to the property page.
|
Constructor and Description |
---|
AbstractModulePropertyPage(IModule module,
java.lang.String name,
java.lang.String label,
java.lang.String icon)
Constructors of this abstract property page.
|
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getIcon()
Get the icon path for this property page.
|
java.lang.String |
getLabel()
Get the label of this property page.
|
IModule |
getModule()
Get the module of this property page.
|
java.lang.String |
getName()
Get the name of the property page.
|
void |
setLabel(java.lang.String label)
Set the labe of this property page.
|
void |
setModule(IModule module)
Set the module of this property page.
|
void |
setName(java.lang.String name)
Set the name of the property page.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeProperty, update
getRelevance
protected IModule module
public AbstractModulePropertyPage(IModule module, java.lang.String name, java.lang.String label, java.lang.String icon)
module
- module that is associated to the property pagename
- the name of the property page.label
- the label of the property page.icon
- a relative path to the image to display for the property page.public final IModule getModule()
IModulePropertyPanel
getModule
in interface IModulePropertyPanel
public java.lang.String getName()
IModulePropertyPanel
getName
in interface IModulePropertyPanel
public java.lang.String getLabel()
IModulePropertyPanel
getLabel
in interface IModulePropertyPanel
public void setName(java.lang.String name)
IModulePropertyPanel
setName
in interface IModulePropertyPanel
name
- the name of the property page.public void setLabel(java.lang.String label)
IModulePropertyPanel
setLabel
in interface IModulePropertyPanel
label
- the text that will be displayed in the property page's label.public void setModule(IModule module)
IModulePropertyPanel
setModule
in interface IModulePropertyPanel
module
- the module owning this property page.public java.nio.file.Path getIcon()
IModulePropertyPanel
Modelio is in charge of loading/disposing this image along with the property page itself.
getIcon
in interface IModulePropertyPanel
null
.