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 Constructor Description MdHelpContentFileEditorInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeLanguageCode()
Handle to change language code of editor inputvoid
closeFiles()
Handle to close files in editor inputboolean
exists()
org.eclipse.core.resources.IFile
getFile()
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
String
getName()
org.eclipse.ui.IPersistableElement
getPersistable()
org.eclipse.core.resources.IStorage
getStorage()
String
getToolTipText()
void
init(IBmObject model, org.eclipse.core.resources.IProject project)
Initialize editor input and provide file for metadata model help in local editing language
-
-
-
Method Detail
-
init
public void init(IBmObject model, org.eclipse.core.resources.IProject project)
Initialize editor input and provide file for metadata model help in local editing language- Parameters:
model
- the model bm object, cannot benull
project
- the current project, cannot benull
-
getName
public String 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
public String getToolTipText()
- Specified by:
getToolTipText
in interfaceorg.eclipse.ui.IEditorInput
-
-