Eclipse Platform
Release 3.3

org.eclipse.ui.ide
Class FileStoreEditorInputFactory

java.lang.Object
  extended byorg.eclipse.ui.ide.FileStoreEditorInputFactory
All Implemented Interfaces:
IElementFactory

public class FileStoreEditorInputFactory
extends Object
implements IElementFactory

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.

Since:
3.3

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

FileStoreEditorInputFactory

public FileStoreEditorInputFactory()
Method Detail

createElement

public IAdaptable createElement(IMemento memento)
Description copied from interface: IElementFactory
Re-creates and returns an object from the state captured within the given memento.

Under normal circumstances, the resulting object can be expected to be persistable; that is,

 result.getAdapter(org.eclipse.ui.IPersistableElement.class)
 
should not return null.

Specified by:
createElement in interface IElementFactory
Parameters:
memento - a memento containing the state for the object
Returns:
an object, or null if the element could not be created

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.