Class ExtendedMeasureProviderConfigurationUI
- java.lang.Object
-
- de.fzi.power.ui.views.configuration.ExtendedMeasureProviderConfigurationUI
-
- Direct Known Subclasses:
ExtendedMeasureProviderConfigurationContainer,UtilizationFilterConfigurationTab
public abstract class ExtendedMeasureProviderConfigurationUI extends Object
-
-
Constructor Summary
Constructors Constructor Description ExtendedMeasureProviderConfigurationUI()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcreateControl(Composite parent)Creates the top level control for this properties tab under the given parent composite.abstract ControlgetControl()Return the top level control.abstract StringgetErrorMessage()Returns the current error message for this tab.abstract StringgetName()Returns the name of this tab.abstract voidinitializeFrom(Map<String,Object> configuration)Initializes this tab's controls with values from the given properties map.booleanisValid()Returns whether this tab is in a valid state.abstract voidperformApply(Map<String,Object> configuration)Copies values from this tab into the given properties map.
-
-
-
Method Detail
-
createControl
public abstract void createControl(Composite parent)
Creates the top level control for this properties tab under the given parent composite. This method is called once on tab creation.- Parameters:
parent- the parent composite
-
getControl
public abstract Control getControl()
Return the top level control.createControlhas to be executed first.- Returns:
- the top level control
-
initializeFrom
public abstract void initializeFrom(Map<String,Object> configuration)
Initializes this tab's controls with values from the given properties map. This method is called when a configuration is selected to view or edit, after this tab's control has been created.- Parameters:
configuration- the properties
-
performApply
public abstract void performApply(Map<String,Object> configuration)
Copies values from this tab into the given properties map.- Parameters:
configuration- the properties
-
getErrorMessage
public abstract String getErrorMessage()
Returns the current error message for this tab. May benullto indicate no error message.- Returns:
- the error message, or
nullif none
-
isValid
public boolean isValid()
Returns whether this tab is in a valid state.- Returns:
- whether this tab is in a valid state
-
getName
public abstract String getName()
Returns the name of this tab.- Returns:
- the name of this tab
-
-