sk.uniba.euromath.editor
Class LocalFilesystemEditorInput
java.lang.Object
sk.uniba.euromath.editor.LocalFilesystemEditorInput
- All Implemented Interfaces:
- IAdaptable, IEditorInput
public final class LocalFilesystemEditorInput
- extends Object
- implements IEditorInput
Implements editor input that can read file from local filesystem.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalFilesystemEditorInput
public LocalFilesystemEditorInput(IPath path,
IEditorInput underlyingInput)
- Constructs new instance of the object.
- Parameters:
path
- must point to a xml file that can be loaded.underlyingInput
- if not null
then this class simply
delegates method calls to this instance (except the
getFile()
function).
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
getFile
public IPath getFile()
- Returns file denoted by this object.
- Returns:
- XML file.
Copyright © 2003-2006 null. All Rights Reserved.