public class DefaultCompareViewConfigAdapter extends Object implements CockpitConfigurationAdapter<CompareView>
| Constructor and Description |
|---|
DefaultCompareViewConfigAdapter() |
public Class<CompareView> getSupportedType()
CockpitConfigurationAdaptergetSupportedType in interface CockpitConfigurationAdapter<CompareView>public CompareView adaptBeforeStore(ConfigContext context, CompareView compareView)
CockpitConfigurationAdapteradaptBeforeStore in interface CockpitConfigurationAdapter<CompareView>context - configuration contextcompareView - configuration elementpublic CompareView adaptAfterLoad(ConfigContext context, CompareView compareView)
CockpitConfigurationAdapteradaptAfterLoad in interface CockpitConfigurationAdapter<CompareView>context - configuration contextcompareView - configuration elementpublic CompareView adaptBeforeMerge(ConfigContext context, CompareView compareView) throws CockpitConfigurationException
CockpitConfigurationAdapteradaptBeforeMerge in interface CockpitConfigurationAdapter<CompareView>context - configuration contextcompareView - configuration elementCockpitConfigurationException - if something went wrongprotected DefaultConfigContext copyConfigContext(ConfigContext context, String newComponent)
protected Optional<EditorArea> loadEditorAreaConfiguration(ConfigContext context, CompareView compareView) throws CockpitConfigurationException
CockpitConfigurationExceptionprotected Optional<GridView> loadGridViewConfiguration(ConfigContext context, CompareView compareView) throws CockpitConfigurationException
CockpitConfigurationExceptionprotected CompareView createCompareViewFromGridView(GridView gridView)
protected CompareView createCompareViewFromEditorArea(EditorArea editorArea)
protected void addSectionsToCompareViewConfig(EditorArea editorAreaConfiguration, CompareView compareView)
protected Section constructSectionFromTab(AbstractTab tab)
protected Section constructSectionFromEssentials(Essentials essentials)
protected <P extends Positioned> PositionedSort<P> getPositionedSort()
public void setPositionedSort(PositionedSort<Positioned> positionedSort)
public void setCockpitConfigurationService(CockpitConfigurationService cockpitConfigurationService)
public void setMergeUtils(MergeUtils mergeUtils)
public void setTabToSectionConverter(CompareViewConverter<AbstractTab,Section> tabToSectionConverter)
public void setEssentialsToSectionConverter(CompareViewConverter<Essentials,Section> essentialsToSectionConverter)
public void setGridViewToHeaderConverter(CompareViewConverter<GridView,Header> gridViewToHeaderConverter)
Copyright © 2018. All rights reserved.