Class ExtendedMeasureProviderConfigurationContainer
- java.lang.Object
-
- de.fzi.power.ui.views.configuration.ExtendedMeasureProviderConfigurationUI
-
- de.fzi.power.ui.views.configuration.ExtendedMeasureProviderConfigurationContainer
-
public class ExtendedMeasureProviderConfigurationContainer extends ExtendedMeasureProviderConfigurationUI
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<ExtendedMeasureProviderConfigurationUI>subsumedUIs
-
Constructor Summary
Constructors Constructor Description ExtendedMeasureProviderConfigurationContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateControl(Composite parent)Creates the top level control for this properties tab under the given parent composite.ControlgetControl()Return the top level control.StringgetErrorMessage()Returns the current error message for this tab.StringgetName()Returns the name of this tab.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.voidperformApply(Map<String,Object> configuration)Copies values from this tab into the given properties map.
-
-
-
Field Detail
-
subsumedUIs
protected Collection<ExtendedMeasureProviderConfigurationUI> subsumedUIs
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
Description copied from class:ExtendedMeasureProviderConfigurationUICreates the top level control for this properties tab under the given parent composite. This method is called once on tab creation.- Specified by:
createControlin classExtendedMeasureProviderConfigurationUI- Parameters:
parent- the parent composite
-
initializeFrom
public void initializeFrom(Map<String,Object> configuration)
Description copied from class:ExtendedMeasureProviderConfigurationUIInitializes 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.- Specified by:
initializeFromin classExtendedMeasureProviderConfigurationUI- Parameters:
configuration- the properties
-
performApply
public void performApply(Map<String,Object> configuration)
Description copied from class:ExtendedMeasureProviderConfigurationUICopies values from this tab into the given properties map.- Specified by:
performApplyin classExtendedMeasureProviderConfigurationUI- Parameters:
configuration- the properties
-
getErrorMessage
public String getErrorMessage()
Description copied from class:ExtendedMeasureProviderConfigurationUIReturns the current error message for this tab. May benullto indicate no error message.- Specified by:
getErrorMessagein classExtendedMeasureProviderConfigurationUI- Returns:
- the error message, or
nullif none
-
isValid
public boolean isValid()
Description copied from class:ExtendedMeasureProviderConfigurationUIReturns whether this tab is in a valid state.- Overrides:
isValidin classExtendedMeasureProviderConfigurationUI- Returns:
- whether this tab is in a valid state
-
getName
public String getName()
Description copied from class:ExtendedMeasureProviderConfigurationUIReturns the name of this tab.- Specified by:
getNamein classExtendedMeasureProviderConfigurationUI- Returns:
- the name of this tab
-
getControl
public Control getControl()
Description copied from class:ExtendedMeasureProviderConfigurationUIReturn the top level control.createControlhas to be executed first.- Specified by:
getControlin classExtendedMeasureProviderConfigurationUI- Returns:
- the top level control
-
-