public class FileStoreEditorInputFactory extends Object implements IElementFactory
FileStoreEditorInput
.
The stored representation of a FileStoreEditorInput
remembers
the path of the editor input.
The workbench will automatically create instances of this class as required. It is not intended to be instantiated or subclassed by the client.
Constructor and Description |
---|
FileStoreEditorInputFactory() |
Modifier and Type | Method and Description |
---|---|
IAdaptable |
createElement(IMemento memento)
Re-creates and returns an object from the state captured within the given
memento.
|
public IAdaptable createElement(IMemento memento)
IElementFactory
If the result is not null, it should be persistable; that is,
result.getAdapter(org.eclipse.ui.IPersistableElement.class)should not return
null
.
createElement
in interface IElementFactory
memento
- a memento containing the state for the objectnull
if the element could not be
created
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.