Class PropertyConfigurableElementFactory
- java.lang.Object
-
- org.palladiosimulator.edp2.datastream.configurable.PropertyConfigurableElementFactory
-
- All Implemented Interfaces:
IElementFactory
- Direct Known Subclasses:
DataSinkElementFactory
,Edp2DataTupleDataSourceFactory
,JFreeChartVisualizationInputFactory
public abstract class PropertyConfigurableElementFactory extends Object implements IElementFactory
A factory for persistence ofIDataFlow
elements.
-
-
Constructor Summary
Constructors Constructor Description PropertyConfigurableElementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IAdaptable
createElement(IMemento memento)
protected abstract IPropertyConfigurable
createElementInternal(IMemento memento)
static List<IPersistableElement>
loadChildren(IMemento memento)
static void
persistChildren(IMemento memento, Collection children)
static void
saveConfigurationState(IMemento memento, IPropertyConfigurable configurable)
-
-
-
Method Detail
-
createElement
public IAdaptable createElement(IMemento memento)
- Specified by:
createElement
in interfaceIElementFactory
-
saveConfigurationState
public static void saveConfigurationState(IMemento memento, IPropertyConfigurable configurable)
-
persistChildren
public static void persistChildren(IMemento memento, Collection children)
- Parameters:
memento
-input
-
-
loadChildren
public static List<IPersistableElement> loadChildren(IMemento memento)
-
createElementInternal
protected abstract IPropertyConfigurable createElementInternal(IMemento memento)
-
-