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 booleanequals(Object obj)booleanexists()ObjectgetAdapter(Class adapter)org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor()StringgetName()org.eclipse.ui.IPersistableElementgetPersistable()org.eclipse.core.resources.IStoragegetStorage()StringgetToolTipText()inthashCode()
-
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:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable
-
getPersistable
public final org.eclipse.ui.IPersistableElement getPersistable()- Specified by:
getPersistablein interfaceorg.eclipse.ui.IEditorInput
-
exists
public final boolean exists()- Specified by:
existsin interfaceorg.eclipse.ui.IEditorInput
-
getStorage
public final org.eclipse.core.resources.IStorage getStorage()- Specified by:
getStoragein interfaceorg.eclipse.ui.IStorageEditorInput
-
getImageDescriptor
public final org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()- Specified by:
getImageDescriptorin interfaceorg.eclipse.ui.IEditorInput
-
getName
- Specified by:
getNamein interfaceorg.eclipse.ui.IEditorInput
-
getToolTipText
- Specified by:
getToolTipTextin interfaceorg.eclipse.ui.IEditorInput
-