sk.uniba.euromath.editor
Class NewDocumentEditorInput
java.lang.Object
sk.uniba.euromath.editor.NewDocumentEditorInput
- All Implemented Interfaces:
- IAdaptable, IEditorInput
public class NewDocumentEditorInput
- extends Object
- implements IEditorInput
Creates an editor input from already initialized document instance. The
document must have all schema loaded and be checked for validity.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlAccess
public final XMLAccess xmlAccess
- The document.
NewDocumentEditorInput
public NewDocumentEditorInput(XMLAccess xmlAccess)
- Creates instance of editor input.
- Parameters:
xmlAccess
- the document to open.
exists
public boolean exists()
- Specified by:
exists
in interface IEditorInput
getImageDescriptor
public ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interface IEditorInput
getName
public String getName()
- Specified by:
getName
in interface IEditorInput
getPersistable
public IPersistableElement getPersistable()
- Specified by:
getPersistable
in interface IEditorInput
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText
in interface IEditorInput
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interface IAdaptable
Copyright © 2003-2006 null. All Rights Reserved.