Class AbstractUIComponentConfiguration
- java.lang.Object
-
- de.hybris.platform.cockpit.services.config.impl.AbstractUIComponentConfiguration
-
- All Implemented Interfaces:
ContextAwareUIComponentConfiguration,UIComponentConfiguration
- Direct Known Subclasses:
DefaultAdvancedSearchConfiguration,DefaultEditorConfiguration,DefaultListViewConfiguration
public class AbstractUIComponentConfiguration extends java.lang.Object implements ContextAwareUIComponentConfiguration
Abstract implementation of the ContextAwareUIComponentConfiguration. It is capable of holding a UIComponentConfigurationContext.
-
-
Constructor Summary
Constructors Constructor Description AbstractUIComponentConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIComponentConfigurationContextgetContext()Gets the context stored on this configuration object.voidsetContext(UIComponentConfigurationContext context)Sets the givencontextto this configuration object.
-
-
-
Method Detail
-
getContext
public UIComponentConfigurationContext getContext()
Description copied from interface:ContextAwareUIComponentConfigurationGets the context stored on this configuration object.- Specified by:
getContextin interfaceContextAwareUIComponentConfiguration- Returns:
- context stored on this configuration object or
nullif no context was set during creation.
-
setContext
public void setContext(UIComponentConfigurationContext context)
Description copied from interface:ContextAwareUIComponentConfigurationSets the givencontextto this configuration object. Typically by a factory during creation.- Specified by:
setContextin interfaceContextAwareUIComponentConfiguration- Parameters:
context- context to be set
-
-