public class ConfigurationEditorPool extends Object
ConfigurableEntityEditors
that need to be
created. WeakReference
is used, so when the editors are no longer
used they automatically de register. If a ConfigurableEntityEditor
is
not yet referenced, then it is created (depending on the type of the Editor
needed file VS parameter and Local VS remote).Constructor and Description |
---|
ConfigurationEditorPool(ConfigurationManagerImpl confManager) |
Modifier and Type | Method and Description |
---|---|
void |
entityUpdated(Entity e)
This method is called to update any existing Editor for the
Entity . works only for existing editors. |
GenericConfigurationEntity |
get(Entity e)
Get a
ConfigurableEntityEditor or create one if needed. |
public ConfigurationEditorPool(ConfigurationManagerImpl confManager)
confManager
- The configuration Manager to link editors.public GenericConfigurationEntity get(Entity e)
ConfigurableEntityEditor
or create one if needed.e
- the entity associated to the editor.Copyright © 2015 universAAL Consortium. All Rights Reserved.