Package org.csstudio.opibuilder.runmode
Class RunnerInputFactory
java.lang.Object
org.csstudio.opibuilder.runmode.RunnerInputFactory
- All Implemented Interfaces:
IElementFactory
Factory for saving and restoring a
RunnerInput
. The stored representation of a RunnerInput
remembers the full path of the file (that is, IFile.getFullPath
) and
MacrosInput
.
The workbench will automatically create instances of this class as required. It is not intended to be instantiated or subclassed by the client.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(IMemento memento) static IAdaptable
createInput
(IMemento memento) static String
Returns the element factory id for this class.static void
saveState
(IMemento memento, IRunnerInput input) Saves the state of the given RunnerInput into the given memento.
-
Constructor Details
-
RunnerInputFactory
public RunnerInputFactory()
-
-
Method Details
-
createElement
- Specified by:
createElement
in interfaceIElementFactory
-
createInput
-
getFactoryId
Returns the element factory id for this class. -
saveState
Saves the state of the given RunnerInput into the given memento.- Parameters:
memento
- the storage area for element stateinput
- the opi runner input
-