public abstract class AbstractProcessExtensionConfigurationEditor extends Object implements IProcessExtensionConfigurationEditorEx
Modifier and Type | Method and Description |
---|---|
protected void |
clearBeanConfiguration()
Clears the bean configuration and all its properties.
|
protected Container |
createEditorPanel()
Creates the editor panel.
Clients may override this method. |
protected void |
createEditorPanelContent(Container editorPanel,
IProcessExtensionConfigurationEditorEnvironment editorEnvironment)
Creates the editor panel content
Clients are expected to override this method. |
String |
getBeanConfiguration()
Gets the bean configuration
|
protected String |
getBeanConfigurationProperty(String name)
Gets a bean configuration property.
|
protected Set<String> |
getBeanConfigurationPropertyNames()
Gets the names of the the bean configuration properties
|
String |
getConfiguration()
Clients are not expected to override this method.
|
protected void |
loadUiDataFromConfiguration()
Load the data of the configuration to the ui widgets.
Clients are expected to override this method. |
protected boolean |
saveUiDataToConfiguration()
Save the data in the ui widgets to the configuration
Clients are expected to override this method. |
protected void |
setBeanConfiguration(String configString)
Sets the given bean configuration to the given configuration string
|
protected String |
setBeanConfigurationProperty(String name,
String value)
Sets a bean configuration property.
|
boolean |
shouldEditorFillAllSpace()
Defines whether the editor needs all layout space in the parent panel.
|
setEnvironment
acceptInput, getComponent, getComposite, setConfiguration
public String getConfiguration()
getConfiguration
in interface ICommonProcessExtensionConfigurationEditor
ICommonProcessExtensionConfigurationEditor.getConfiguration()
public String getBeanConfiguration()
protected void setBeanConfiguration(String configString)
configString
- the configuration to set.protected String getBeanConfigurationProperty(String name)
Gets a bean configuration property.
This method only works correct if the configuration string contains a
serialized Properties
object.
name
- protected String setBeanConfigurationProperty(String name, String value)
Sets a bean configuration property.
name
- the name of the property to setvalue
- the new value of the bean configuration propertyprotected void clearBeanConfiguration()
Clears the bean configuration and all its properties.
Call this method before storing the bean configuration properties to flush outdated configurations. Typically called as
first method in AbstractProcessExtensionConfigurationEditor.saveUiDataToConfiguration()
.
protected Set<String> getBeanConfigurationPropertyNames()
protected Container createEditorPanel()
protected void createEditorPanelContent(Container editorPanel, IProcessExtensionConfigurationEditorEnvironment editorEnvironment)
editorPanel
- the editor paneleditorEnvironment
- the editor environmentprotected void loadUiDataFromConfiguration()
protected boolean saveUiDataToConfiguration()
public boolean shouldEditorFillAllSpace()
Copyright © 2024
AXON IVY AG
All Rights Reserved Documentation was generated
on April 28, 2024