com.ibm.jdg2e.msseditor.ui
Class MiniSSEditorInputFactory
java.lang.Object
com.ibm.jdg2e.msseditor.ui.MiniSSEditorInputFactory
- All Implemented Interfaces:
- org.eclipse.ui.IElementFactory
- public class MiniSSEditorInputFactory
- extends java.lang.Object
- implements org.eclipse.ui.IElementFactory
A factory for re-creating an MiniSSEditorInput from a previously saved memento.
Refer to the the plug-in manifest, specifically:
<extension
point="org.eclipse.ui.elementFactories">
<factory
class="com.ibm.jdg2e.msseditor.ui.MiniSSEditorInputFactory"
id="com.ibm.jdg2e.msseditor.ui.minisseditorinputfactory">
</factory>
</extension>
This is the declarative equivalent of IAdaptable.getAdapter(Class).
- See Also:
IPersistableElement,
IMemento,
IWorkbench.getElementFactory(java.lang.String)
|
Method Summary |
org.eclipse.core.runtime.IAdaptable |
createElement(org.eclipse.ui.IMemento memento)
Re-creates and returns an MiniSSEditorInput
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 |
MiniSSEditorInputFactory
public MiniSSEditorInputFactory()
createElement
public org.eclipse.core.runtime.IAdaptable createElement(org.eclipse.ui.IMemento memento)
- Re-creates and returns an
MiniSSEditorInput
from the state captured within the given memento.
- Specified by:
createElement in interface org.eclipse.ui.IElementFactory
- Parameters:
memento - a memento containing the state
- Returns:
- an MiniSSEditorInput