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 UIComponentConfigurationContext
getContext()
Gets the context stored on this configuration object.void
setContext(UIComponentConfigurationContext context)
Sets the givencontext
to this configuration object.
-
-
-
Method Detail
-
getContext
public UIComponentConfigurationContext getContext()
Description copied from interface:ContextAwareUIComponentConfiguration
Gets the context stored on this configuration object.- Specified by:
getContext
in interfaceContextAwareUIComponentConfiguration
- Returns:
- context stored on this configuration object or
null
if no context was set during creation.
-
setContext
public void setContext(UIComponentConfigurationContext context)
Description copied from interface:ContextAwareUIComponentConfiguration
Sets the givencontext
to this configuration object. Typically by a factory during creation.- Specified by:
setContext
in interfaceContextAwareUIComponentConfiguration
- Parameters:
context
- context to be set
-
-