Class MdHelpContentFileEditorInput
java.lang.Object
org.eclipse.core.runtime.PlatformObject
com._1c.g5.v8.dt.md.help.ui.editor.MdHelpContentFileEditorInput
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorInput
,org.eclipse.ui.IFileEditorInput
,org.eclipse.ui.IStorageEditorInput
public class MdHelpContentFileEditorInput
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.ui.IFileEditorInput
File editor input for metadata objects help.
Derived path to help files
The instance of this class need to be initialized by
MdHelpContentFileEditorInput#init(IBmObject, IProject, IBmEditingContext)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Handle to change language code of editor inputvoid
Handle to close files in editor inputboolean
boolean
exists()
org.eclipse.core.resources.IFile
getFile()
org.eclipse.jface.resource.ImageDescriptor
getName()
org.eclipse.ui.IPersistableElement
org.eclipse.core.resources.IStorage
int
hashCode()
void
init
(MdObject model, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, boolean readOnly) Initialize editor input and provide file for metadata model help in local editing languageMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Constructor Details
-
MdHelpContentFileEditorInput
public MdHelpContentFileEditorInput()
-
-
Method Details
-
init
public void init(MdObject model, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.core.resources.IProject project, boolean readOnly) Initialize editor input and provide file for metadata model help in local editing language- Parameters:
model
- the metadata object with help pages, cannot benull
feature
- the help feature, cannot benull
project
- the current project, cannot benull
readOnly
- read only mode in which the editor is opened.
-
getName
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorInput
-
getStorage
public org.eclipse.core.resources.IStorage getStorage() throws org.eclipse.core.runtime.CoreException- Specified by:
getStorage
in interfaceorg.eclipse.ui.IStorageEditorInput
- Throws:
org.eclipse.core.runtime.CoreException
-
getFile
public org.eclipse.core.resources.IFile getFile()- Specified by:
getFile
in interfaceorg.eclipse.ui.IFileEditorInput
-
changeLanguageCode
public void changeLanguageCode()Handle to change language code of editor input -
closeFiles
public void closeFiles()Handle to close files in editor input -
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
-
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()- Specified by:
getPersistable
in interfaceorg.eclipse.ui.IEditorInput
-
getToolTipText
- Specified by:
getToolTipText
in interfaceorg.eclipse.ui.IEditorInput
-
equals
-
hashCode
public int hashCode()
-