uk.ac.kcl.cch.jb.pliny.editors
Class NoteEditorInputFactory

java.lang.Object
  extended byuk.ac.kcl.cch.jb.pliny.editors.NoteEditorInputFactory
All Implemented Interfaces:
org.eclipse.ui.IElementFactory

public class NoteEditorInputFactory
extends Object
implements org.eclipse.ui.IElementFactory

used by Eclipse during startup to re-open NoteLucened objects that were open in the NoteEditor when it was last shutdown -- this factory takes the data stored in an IMemento and first fetches the referenced NoteLucened object,a and then packages it in a ResourceEditorInput object.

Author:
John Bradley

Constructor Summary
NoteEditorInputFactory()
           
 
Method Summary
 org.eclipse.core.runtime.IAdaptable createElement(org.eclipse.ui.IMemento memento)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteEditorInputFactory

public NoteEditorInputFactory()
Method Detail

createElement

public org.eclipse.core.runtime.IAdaptable createElement(org.eclipse.ui.IMemento memento)
Specified by:
createElement in interface org.eclipse.ui.IElementFactory