Package com._1c.g5.v8.dt.ui.editor.input
Class DtEmbeddedEditorInput
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.editor.input.DtEmbeddedEditorInput
-
- All Implemented Interfaces:
IDtEmbeddedEditorInput
,org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorInput
public class DtEmbeddedEditorInput extends Object implements IDtEmbeddedEditorInput
Default implementation ofIDtEmbeddedEditorInput
.
-
-
Constructor Summary
Constructors Constructor Description DtEmbeddedEditorInput(Object embeddedObject, IEditingContext editingContext)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exists()
<T> T
getAdapter(Class<T> adapter)
IEditingContext
getEditingContext()
Returns the editing context for embedded editor.Object
getEmbeddedObject()
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
String
getName()
org.eclipse.ui.IPersistableElement
getPersistable()
String
getToolTipText()
-
-
-
Constructor Detail
-
DtEmbeddedEditorInput
public DtEmbeddedEditorInput(Object embeddedObject, IEditingContext editingContext)
Creates a new instance.- Parameters:
embeddedObject
- the object for embedded editor page input.editingContext
- the editing context, cannot benull
.
-
-
Method Detail
-
exists
public boolean exists()
- Specified by:
exists
in interfaceorg.eclipse.ui.IEditorInput
-
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interfaceorg.eclipse.ui.IEditorInput
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorInput
-
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable
in interfaceorg.eclipse.ui.IEditorInput
-
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText
in interfaceorg.eclipse.ui.IEditorInput
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
-
getEmbeddedObject
public Object getEmbeddedObject()
- Specified by:
getEmbeddedObject
in interfaceIDtEmbeddedEditorInput
- Returns:
- the object for embedded editor page.
-
getEditingContext
public IEditingContext getEditingContext()
Description copied from interface:IDtEmbeddedEditorInput
Returns the editing context for embedded editor.- Specified by:
getEditingContext
in interfaceIDtEmbeddedEditorInput
- Returns:
- the editing context for embedded editor.
-
-