Class PathEditorInput
java.lang.Object
org.csstudio.utility.singlesource.PathEditorInput
- All Implemented Interfaces:
IAdaptable,IEditorInput,IPathEditorInput,IPersistable,IPersistableElement
Persistable editor input based on path
Uses an IPath, which is supported by both RCP and RAP, as the persisted identifier of an editor input.
-
Constructor Details
-
PathEditorInput
Initialize- Parameters:
path-IPaththat identifies this input
-
-
Method Details
-
getPath
- Specified by:
getPathin interfaceIPathEditorInput- Returns:
- Path that identifies the editor input. Maybe workspace file, file system file or URL
-
hashCode
public int hashCode() -
equals
-
exists
public boolean exists()- Specified by:
existsin interfaceIEditorInput
-
getImageDescriptor
- Specified by:
getImageDescriptorin interfaceIEditorInput
-
getName
- Specified by:
getNamein interfaceIEditorInput
-
getPersistable
- Specified by:
getPersistablein interfaceIEditorInput
-
getToolTipText
- Specified by:
getToolTipTextin interfaceIEditorInput
-
getAdapter
- Specified by:
getAdapterin interfaceIAdaptable
-
saveState
- Specified by:
saveStatein interfaceIPersistable
-
getFactoryId
- Specified by:
getFactoryIdin interfaceIPersistableElement
-
toString
-