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 void
createControl(Composite parent)
Creates the top level control for this properties tab under the given parent composite.abstract Control
getControl()
Return the top level control.abstract String
getErrorMessage()
Returns the current error message for this tab.abstract String
getName()
Returns the name of this tab.abstract void
initializeFrom(Map<String,Object> configuration)
Initializes this tab's controls with values from the given properties map.boolean
isValid()
Returns whether this tab is in a valid state.abstract void
performApply(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.createControl
has 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 benull
to indicate no error message.- Returns:
- the error message, or
null
if 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
-
-