Class ConfigurationContext
- java.lang.Object
-
- org.uberfire.ext.layout.editor.client.infra.ConfigurationContext
-
- Direct Known Subclasses:
ModalConfigurationContext,PanelConfigurationContext
public class ConfigurationContext extends Object
This class provides the context required during a layout component configuration
-
-
Constructor Summary
Constructors Constructor Description ConfigurationContext(org.uberfire.ext.layout.editor.api.editor.LayoutComponent component, org.uberfire.mvp.Command configurationFinish, org.uberfire.mvp.Command configurationCanceled, Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> currentLayoutTemplateSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigurationCancelled()voidconfigurationFinished()Map<String,String>getComponentProperties()StringgetComponentProperty(String key)org.uberfire.mvp.CommandgetConfigurationCanceled()org.uberfire.mvp.CommandgetConfigurationFinish()org.uberfire.ext.layout.editor.api.editor.LayoutTemplategetCurrentLayoutTemplate()org.uberfire.ext.layout.editor.api.editor.LayoutComponentgetLayoutComponent()voidremoveComponentProperty(String key)voidresetComponentProperties()voidsetComponentProperty(String key, String property)voidsetConfigurationCanceled(org.uberfire.mvp.Command configurationCanceled)voidsetConfigurationFinish(org.uberfire.mvp.Command configurationFinish)
-
-
-
Constructor Detail
-
ConfigurationContext
public ConfigurationContext(org.uberfire.ext.layout.editor.api.editor.LayoutComponent component, org.uberfire.mvp.Command configurationFinish, org.uberfire.mvp.Command configurationCanceled, Supplier<org.uberfire.ext.layout.editor.api.editor.LayoutTemplate> currentLayoutTemplateSupplier)
-
-
Method Detail
-
removeComponentProperty
public void removeComponentProperty(String key)
-
resetComponentProperties
public void resetComponentProperties()
-
configurationFinished
public void configurationFinished()
-
configurationCancelled
public void configurationCancelled()
-
getCurrentLayoutTemplate
public org.uberfire.ext.layout.editor.api.editor.LayoutTemplate getCurrentLayoutTemplate()
-
getConfigurationCanceled
public org.uberfire.mvp.Command getConfigurationCanceled()
-
setConfigurationCanceled
public void setConfigurationCanceled(org.uberfire.mvp.Command configurationCanceled)
-
getConfigurationFinish
public org.uberfire.mvp.Command getConfigurationFinish()
-
setConfigurationFinish
public void setConfigurationFinish(org.uberfire.mvp.Command configurationFinish)
-
getLayoutComponent
public org.uberfire.ext.layout.editor.api.editor.LayoutComponent getLayoutComponent()
-
-