Class TemplateEditorInput
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.editor.input.DtEditorInput<M>
-
- com._1c.g5.v8.dt.internal.md.ui.editors.input.MdEditorInput<BasicTemplate>
-
- com._1c.g5.v8.dt.md.ui.editor.template.TemplateEditorInput
-
- All Implemented Interfaces:
IDtEditorInput<BasicTemplate>
,org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorInput
public class TemplateEditorInput extends com._1c.g5.v8.dt.internal.md.ui.editors.input.MdEditorInput<BasicTemplate>
Common template editor input
-
-
Field Summary
Fields Modifier and Type Field Description protected IProjectFileSystemSupportProvider
fileSystemSupportProvider
IProjectFileSystemSupport
forproject
.protected IResourceLookup
resourceLookup
The resource lookup.
-
Constructor Summary
Constructors Constructor Description TemplateEditorInput(BasicTemplate template, IResourceLookup resourceLookup, IProjectFileSystemSupportProvider fileSystemSupportProvider)
Instantiates a new common template editor input with resources support.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getAdapter(Class<T> adapter)
String
getName()
-
Methods inherited from class com._1c.g5.v8.dt.internal.md.ui.editors.input.MdEditorInput
toNavigatorSelection
-
Methods inherited from class com._1c.g5.v8.dt.ui.editor.input.DtEditorInput
copy, equals, exists, getActivationContextIds, getFeature, getImageDescriptor, getModel, getPersistable, getSelection, getToolTipText, hashCode, setFeature, setModel, setSelection
-
-
-
-
Field Detail
-
fileSystemSupportProvider
protected final IProjectFileSystemSupportProvider fileSystemSupportProvider
IProjectFileSystemSupport
forproject
.
-
resourceLookup
protected final IResourceLookup resourceLookup
The resource lookup.
-
-
Constructor Detail
-
TemplateEditorInput
public TemplateEditorInput(BasicTemplate template, IResourceLookup resourceLookup, IProjectFileSystemSupportProvider fileSystemSupportProvider)
Instantiates a new common template editor input with resources support.- Parameters:
template
- the common template, cannot benull
resourceLookup
- , cannot benull
fileSystemSupportProvider
- , cannot benull
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorInput
- Overrides:
getName
in classDtEditorInput<BasicTemplate>
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classDtEditorInput<BasicTemplate>
-
-