public class WindowConfigurator extends java.lang.Object implements ConfigurableUnit
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CONFIG_ACTIVE
Variable for the configuration.
|
protected static java.lang.String |
CONFIG_BOTTOM
Variable for the configuration.
|
protected static java.lang.String |
CONFIG_LEFT
Variable for the configuration.
|
protected static java.lang.String |
CONFIG_RIGHT
Variable for the configuration.
|
protected static java.lang.String |
CONFIG_SEQUENCE
Variable for the configuration.
|
protected static java.lang.String |
CONFIG_TOP
Variable for the configuration.
|
Constructor and Description |
---|
WindowConfigurator()
Constructor method for i18n purposes only.
|
WindowConfigurator(DockingManager manager)
Constructs an instance with the docking manager.
|
Modifier and Type | Method and Description |
---|---|
void |
configureUnit(java.lang.String id,
Configuration config)
Restores values from persistent data stores.
|
void |
storeUnit(java.lang.String id,
Configuration config)
Stores the current configuration values persistently.
|
void |
unitRegistered(ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was registered with a model.
|
void |
unitUnregistered(ApplicationModel model,
java.lang.String id)
Informs the configurable unit that it was unregistered with a model.
|
protected static final java.lang.String CONFIG_TOP
protected static final java.lang.String CONFIG_LEFT
protected static final java.lang.String CONFIG_BOTTOM
protected static final java.lang.String CONFIG_RIGHT
protected static final java.lang.String CONFIG_SEQUENCE
protected static final java.lang.String CONFIG_ACTIVE
public WindowConfigurator() throws java.lang.InstantiationException
I18NExtractor
).
java.lang.InstantiationException
- Error indicationpublic WindowConfigurator(DockingManager manager)
manager
- The docking managerpublic void configureUnit(java.lang.String id, Configuration config)
configureUnit
in interface ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void storeUnit(java.lang.String id, Configuration config)
storeUnit
in interface ConfigurableUnit
id
- The unique identifier for the instanceconfig
- The configurationpublic void unitRegistered(ApplicationModel model, java.lang.String id)
unitRegistered
in interface ConfigurableUnit
model
- The application modelid
- The unique identifier for the instancepublic void unitUnregistered(ApplicationModel model, java.lang.String id)
unitUnregistered
in interface ConfigurableUnit
model
- The application modelid
- The unique identifier for the instanceCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.