Interface IHtmlDocumentTextGranularEditorPage
-
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,IDtEditor<BasicTemplate>
,IDtGranularEditorEmbeddedEditorPage<BasicTemplate>
,IDtGranularEditorPage<BasicTemplate>
,org.eclipse.ui.IEditorPart
,org.eclipse.ui.forms.editor.IFormPage
,IGotoSelection
,org.eclipse.ui.ISaveablePart
,org.eclipse.ui.IShowEditorInput
,org.eclipse.ui.part.IShowInSource
,org.eclipse.ui.IWorkbenchPart
public interface IHtmlDocumentTextGranularEditorPage extends IDtGranularEditorEmbeddedEditorPage<BasicTemplate>
Wrap htmlStructuredTextEditor
for granular editor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
changeEditingLanguage(String newLanguageCode)
Force change editing language on this editororg.eclipse.jface.text.IDocument
getDocument()
Returns the document for editor input of this text editor.org.eclipse.core.resources.IFile
getEditorInputFile()
Returns handle of active file from editor inputorg.eclipse.ui.texteditor.ITextEditor
getEmbeddedEditor()
ISelectionProvider
getSelectionProvider()
Returns this text editor's selection provider-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtEditor
getApiEditingContext, getEditingContext, getEditorInput, getModel, init, setActiveFeature, setActiveSelection, showEditorInput
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtGranularEditorEmbeddedEditorPage
activateContexts, createEmbeddedEditor, createEmbeddedEditorInput, getEmbeddedEditorContributorClass
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IDtGranularEditorPage
activate, deactivate, setDefaultFeature
-
Methods inherited from interface org.eclipse.ui.forms.editor.IFormPage
canLeaveThePage, getEditor, getId, getIndex, getManagedForm, getPartControl, initialize, isActive, isEditor, selectReveal, setActive, setIndex
-
Methods inherited from interface com._1c.g5.v8.dt.ui.editor.IGotoSelection
gotoSelection
-
-
-
-
Field Detail
-
PAGE_ID
static final String PAGE_ID
ID of this page- See Also:
- Constant Field Values
-
-
Method Detail
-
getSelectionProvider
ISelectionProvider getSelectionProvider()
Returns this text editor's selection provider- Returns:
- the selection provider, or
null
if none
-
getDocument
org.eclipse.jface.text.IDocument getDocument()
Returns the document for editor input of this text editor.- Returns:
- the document, or
null
if none
-
getEmbeddedEditor
org.eclipse.ui.texteditor.ITextEditor getEmbeddedEditor()
- Specified by:
getEmbeddedEditor
in interfaceIDtGranularEditorEmbeddedEditorPage<BasicTemplate>
- Returns:
- embedded text editor instance or
null
if no editor associated yet.
-
changeEditingLanguage
void changeEditingLanguage(String newLanguageCode)
Force change editing language on this editor- Parameters:
newLanguageCode
- the code of new editing language, cannot benull
-
getEditorInputFile
org.eclipse.core.resources.IFile getEditorInputFile()
Returns handle of active file from editor input- Returns:
IFile
from editor input, ornull
if none
-
-