Package org.eclipse.ease.debugging
Class DynamicContentEditorInput
java.lang.Object
org.eclipse.ease.debugging.DynamicContentEditorInput
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorInput
,org.eclipse.ui.IStorageEditorInput
public class DynamicContentEditorInput extends Object implements org.eclipse.ui.IStorageEditorInput
Editor input for dynamic script code not stored in a local file. Takes text input and prepares it to be passed to the Script editor.
-
Constructor Summary
Constructors Constructor Description DynamicContentEditorInput(Script script)
Constructor. -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
boolean
exists()
Object
getAdapter(Class adapter)
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
String
getName()
org.eclipse.ui.IPersistableElement
getPersistable()
org.eclipse.core.resources.IStorage
getStorage()
String
getToolTipText()
int
hashCode()
-
Constructor Details
-
DynamicContentEditorInput
Constructor. Takes text from a script.- Parameters:
script
- script to extract text from
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
getPersistable
public final org.eclipse.ui.IPersistableElement getPersistable()- Specified by:
getPersistable
in interfaceorg.eclipse.ui.IEditorInput
-
exists
public final boolean exists()- Specified by:
exists
in interfaceorg.eclipse.ui.IEditorInput
-
getStorage
public final org.eclipse.core.resources.IStorage getStorage()- Specified by:
getStorage
in interfaceorg.eclipse.ui.IStorageEditorInput
-
getImageDescriptor
public final org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()- Specified by:
getImageDescriptor
in interfaceorg.eclipse.ui.IEditorInput
-
getName
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorInput
-
getToolTipText
- Specified by:
getToolTipText
in interfaceorg.eclipse.ui.IEditorInput
-