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, waitchangeProperty, updategetRelevanceprotected 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()
IModulePropertyPanelgetModule in interface IModulePropertyPanelpublic java.lang.String getName()
IModulePropertyPanelgetName in interface IModulePropertyPanelpublic java.lang.String getLabel()
IModulePropertyPanelgetLabel in interface IModulePropertyPanelpublic void setName(java.lang.String name)
IModulePropertyPanelsetName in interface IModulePropertyPanelname - the name of the property page.public void setLabel(java.lang.String label)
IModulePropertyPanelsetLabel in interface IModulePropertyPanellabel - the text that will be displayed in the property page's label.public void setModule(IModule module)
IModulePropertyPanelsetModule in interface IModulePropertyPanelmodule - the module owning this property page.public java.nio.file.Path getIcon()
IModulePropertyPanelModelio is in charge of loading/disposing this image along with the property page itself.
getIcon in interface IModulePropertyPanelnull.