Class ExplorerTreeConfigAdapter
- java.lang.Object
-
- com.hybris.cockpitng.widgets.common.explorertree.adapter.ExplorerTreeConfigAdapter
-
- All Implemented Interfaces:
CockpitConfigurationAdapter<ExplorerTree>
public class ExplorerTreeConfigAdapter extends java.lang.Object implements CockpitConfigurationAdapter<ExplorerTree>
Cockpit Configuration Adapter which is responsible for arranging tree nodes in proper order for Explorer Tree Widget configuration.
-
-
Constructor Summary
Constructors Constructor Description ExplorerTreeConfigAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExplorerTreeadaptAfterLoad(ConfigContext context, ExplorerTree explorerTree)Adapts given cockpit configuration element after all subsequent configurations are loaded and merged.ExplorerTreeadaptBeforeStore(ConfigContext context, ExplorerTree explorerTree)Adapts given cockpit configuration element before it is stored.java.lang.Class<ExplorerTree>getSupportedType()Returns the type of configuration element this adapter supports.voidsetPositionedSort(PositionedSort positionedSort)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.core.config.CockpitConfigurationAdapter
adaptBeforeMerge
-
-
-
-
Method Detail
-
setPositionedSort
public void setPositionedSort(PositionedSort positionedSort)
-
getSupportedType
public java.lang.Class<ExplorerTree> getSupportedType()
Description copied from interface:CockpitConfigurationAdapterReturns the type of configuration element this adapter supports.- Specified by:
getSupportedTypein interfaceCockpitConfigurationAdapter<ExplorerTree>- Returns:
- type of configuration element this adapter supports
-
adaptAfterLoad
public ExplorerTree adaptAfterLoad(ConfigContext context, ExplorerTree explorerTree) throws CockpitConfigurationException
Description copied from interface:CockpitConfigurationAdapterAdapts given cockpit configuration element after all subsequent configurations are loaded and merged.- Specified by:
adaptAfterLoadin interfaceCockpitConfigurationAdapter<ExplorerTree>- Parameters:
context- configuration contextexplorerTree- configuration element- Returns:
- adapted cockpit configuration element
- Throws:
CockpitConfigurationException- if something went wrong
-
adaptBeforeStore
public ExplorerTree adaptBeforeStore(ConfigContext context, ExplorerTree explorerTree) throws CockpitConfigurationException
Description copied from interface:CockpitConfigurationAdapterAdapts given cockpit configuration element before it is stored.- Specified by:
adaptBeforeStorein interfaceCockpitConfigurationAdapter<ExplorerTree>- Parameters:
context- configuration contextexplorerTree- configuration element- Returns:
- adapted cockpit configuration element
- Throws:
CockpitConfigurationException- if something went wrong
-
-