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
-IPath
that identifies this input
-
-
Method Details
-
getPath
- Specified by:
getPath
in 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:
exists
in interfaceIEditorInput
-
getImageDescriptor
- Specified by:
getImageDescriptor
in interfaceIEditorInput
-
getName
- Specified by:
getName
in interfaceIEditorInput
-
getPersistable
- Specified by:
getPersistable
in interfaceIEditorInput
-
getToolTipText
- Specified by:
getToolTipText
in interfaceIEditorInput
-
getAdapter
- Specified by:
getAdapter
in interfaceIAdaptable
-
saveState
- Specified by:
saveState
in interfaceIPersistable
-
getFactoryId
- Specified by:
getFactoryId
in interfaceIPersistableElement
-
toString
-