|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.ide.FileStoreEditorInputFactory
Factory for saving and restoring a 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 Summary | |
FileStoreEditorInputFactory()
|
Method Summary | |
IAdaptable |
createElement(IMemento memento)
Re-creates and returns an object from the state captured within the given memento. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileStoreEditorInputFactory()
Method Detail |
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 object
null
if the element could not be
created
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.