|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.texteditor.AbstractTextEditor
org.eclipse.ui.texteditor.StatusTextEditor
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor
org.eclipse.ui.editors.text.TextEditor
org.eclipse.xtext.ui.editor.XtextEditor
public class XtextEditor
| Nested Class Summary | |
|---|---|
protected class |
XtextEditor.DeleteNextSubWordAction
Text operation action to delete the next sub-word. |
protected class |
XtextEditor.DeletePreviousSubWordAction
Text operation action to delete the previous sub-word. |
protected class |
XtextEditor.NavigateNextSubWordAction
Text navigation action to navigate to the next sub-word. |
protected class |
XtextEditor.NavigatePreviousSubWordAction
Text navigation action to navigate to the previous sub-word. |
protected class |
XtextEditor.NextSubWordAction
Text navigation action to navigate to the next sub-word. |
protected class |
XtextEditor.PreviousSubWordAction
Text navigation action to navigate to the previous sub-word. |
protected class |
XtextEditor.SelectNextSubWordAction
Text operation action to select the next sub-word. |
protected class |
XtextEditor.SelectPreviousSubWordAction
Text operation action to select the previous sub-word. |
protected class |
XtextEditor.SmartLineStartAction
This action implements smart home. |
| Nested classes/interfaces inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
org.eclipse.ui.texteditor.AbstractTextEditor.AbstractSelectionChangedListener, org.eclipse.ui.texteditor.AbstractTextEditor.ColumnSupport, org.eclipse.ui.texteditor.AbstractTextEditor.IdMapEntry, org.eclipse.ui.texteditor.AbstractTextEditor.LineEndAction, org.eclipse.ui.texteditor.AbstractTextEditor.LineStartAction, org.eclipse.ui.texteditor.AbstractTextEditor.SelectionProvider, org.eclipse.ui.texteditor.AbstractTextEditor.TextEditorSavable |
| Nested classes/interfaces inherited from interface org.eclipse.ui.texteditor.ITextEditorExtension3 |
|---|
org.eclipse.ui.texteditor.ITextEditorExtension3.InsertMode |
| Field Summary | |
|---|---|
static java.lang.String |
ERROR_ANNOTATION_TYPE
|
static java.lang.String |
ID
|
static java.lang.String |
WARNING_ANNOTATION_TYPE
|
| Fields inherited from class org.eclipse.ui.editors.text.TextEditor |
|---|
fEncodingSupport |
| Fields inherited from class org.eclipse.ui.texteditor.AbstractDecoratedTextEditor |
|---|
DEFAULT_OVERVIEW_RULER_CONTEXT_MENU_ID, fAnnotationAccess, fIsUpdatingMarkerViews, fLineNumberRulerColumn, fOverviewRuler, fSourceViewerDecorationSupport |
| Fields inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
ACTION_MAP, COMMON_EDITOR_CONTEXT_MENU_ID, COMMON_RULER_CONTEXT_MENU_ID, DEFAULT_EDITOR_CONTEXT_MENU_ID, DEFAULT_RULER_CONTEXT_MENU_ID, fErrorLabel, PREFERENCE_COLOR_BACKGROUND, PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_FIND_SCOPE, PREFERENCE_COLOR_FOREGROUND, PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_SELECTION_BACKGROUND, PREFERENCE_COLOR_SELECTION_BACKGROUND_SYSTEM_DEFAULT, PREFERENCE_COLOR_SELECTION_FOREGROUND, PREFERENCE_COLOR_SELECTION_FOREGROUND_SYSTEM_DEFAULT, PREFERENCE_FONT, PREFERENCE_HOVER_ENRICH_MODE, PREFERENCE_HYPERLINK_KEY_MODIFIER, PREFERENCE_HYPERLINK_KEY_MODIFIER_MASK, PREFERENCE_HYPERLINKS_ENABLED, PREFERENCE_NAVIGATION_SMART_HOME_END, PREFERENCE_RULER_CONTRIBUTIONS, PREFERENCE_SHOW_CARRIAGE_RETURN, PREFERENCE_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES, PREFERENCE_SHOW_ENCLOSED_SPACES, PREFERENCE_SHOW_ENCLOSED_TABS, PREFERENCE_SHOW_LEADING_IDEOGRAPHIC_SPACES, PREFERENCE_SHOW_LEADING_SPACES, PREFERENCE_SHOW_LEADING_TABS, PREFERENCE_SHOW_LINE_FEED, PREFERENCE_SHOW_TRAILING_IDEOGRAPHIC_SPACES, PREFERENCE_SHOW_TRAILING_SPACES, PREFERENCE_SHOW_TRAILING_TABS, PREFERENCE_SHOW_WHITESPACE_CHARACTERS, PREFERENCE_TEXT_DRAG_AND_DROP_ENABLED, PREFERENCE_USE_CUSTOM_CARETS, PREFERENCE_WHITESPACE_CHARACTER_ALPHA_VALUE, PREFERENCE_WIDE_CARET, TAG_SELECTION_HORIZONTAL_PIXEL, TAG_SELECTION_LENGTH, TAG_SELECTION_OFFSET, TAG_SELECTION_TOP_PIXEL, VERTICAL_RULER_WIDTH |
| Fields inherited from interface org.eclipse.ui.IEditorPart |
|---|
PROP_DIRTY, PROP_INPUT |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Fields inherited from interface org.eclipse.ui.texteditor.ITextEditorExtension3 |
|---|
INSERT, SMART_INSERT |
| Constructor Summary | |
|---|---|
XtextEditor()
|
|
| Method Summary | |
|---|---|
protected java.lang.String[] |
collectContextMenuPreferencePages()
Returns the preference page ids of the preference pages to be shown when executing the preferences action from the editor context menu. |
protected void |
configureSourceViewerDecorationSupport(org.eclipse.ui.texteditor.SourceViewerDecorationSupport support)
Configures the decoration support for this editor's source viewer. |
protected void |
configureToggleCommentAction(ToggleSLCommentAction action)
|
protected void |
createActions()
Creates this editor's standard actions and connects them with the global workbench actions. |
protected org.eclipse.jface.text.source.IAnnotationAccess |
createAnnotationAccess()
Creates the annotation access for this editor. |
protected XtextEditor.DeleteNextSubWordAction |
createDeleteNextSubWordAction()
|
protected XtextEditor.DeletePreviousSubWordAction |
createDeletePreviousSubWordAction()
|
protected XtextEditor.NavigateNextSubWordAction |
createNavigateNextSubWordAction()
|
protected XtextEditor.NavigatePreviousSubWordAction |
createNavigatePreviousSubWordAction()
|
protected void |
createNavigationActions()
Creates action entries for all SWT StyledText actions as defined in org.eclipse.swt.custom.ST. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
The AbstractTextEditor implementation of this
IWorkbenchPart method creates the vertical ruler and
source viewer. |
protected XtextEditor.SelectNextSubWordAction |
createSelectNextSubWordAction()
|
protected XtextEditor.SelectPreviousSubWordAction |
createSelectPreviousSubWordAction()
|
protected XtextEditor.SmartLineStartAction |
createSmartLineStartAction(org.eclipse.swt.custom.StyledText textWidget,
boolean doSelect)
|
protected org.eclipse.jface.text.source.ISourceViewer |
createSourceViewer(org.eclipse.swt.widgets.Composite parent,
org.eclipse.jface.text.source.IVerticalRuler ruler,
int styles)
Creates the source viewer to be used by this editor. |
protected CommonWordIterator |
createWordIterator()
|
void |
dispose()
The AbstractTextEditor implementation of this
IWorkbenchPart method may be extended by subclasses. |
void |
doRevertToSaved()
The AbstractTextEditor implementation of this
ITextEditor method may be extended by subclasses. |
void |
doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
The AbstractTextEditor implementation of this
IEditorPart method may be extended by subclasses. |
void |
doSaveAs()
The AbstractTextEditor implementation of this
IEditorPart method calls performSaveAs. |
protected void |
doSetInput(org.eclipse.ui.IEditorInput input)
Called directly from setInput and from within a workspace
runnable from init, this method does the actual setting
of the editor input. |
java.lang.Object |
getAdapter(java.lang.Class adapter)
Returns an object which is an instance of the given class associated with this object. |
org.eclipse.swt.graphics.Image |
getDefaultImage()
Returns the default title image. |
IXtextDocument |
getDocument()
|
org.eclipse.jface.text.source.ISourceViewer |
getInternalSourceViewer()
|
java.lang.String |
getLanguageName()
|
org.eclipse.core.resources.IResource |
getResource()
|
protected org.eclipse.core.commands.operations.IOperationApprover |
getUndoRedoOperationApprover(org.eclipse.core.commands.operations.IUndoContext undoContext)
Return an IOperationApprover appropriate for approving the undo and
redo of operations that have the specified undo context. |
XtextSourceViewerConfiguration |
getXtextSourceViewerConfiguration()
|
protected void |
handlePreferenceStoreChanged(org.eclipse.jface.util.PropertyChangeEvent event)
Handles a property change event describing a change of the editor's preference store and updates the preference related editor properties. |
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
Initializes this editor with the given editor site and input. |
protected void |
initializeKeyBindingScopes()
Set key binding scope. |
protected void |
installFoldingSupport(org.eclipse.jface.text.source.projection.ProjectionViewer projectionViewer)
|
protected org.eclipse.jface.text.source.projection.ProjectionSupport |
installProjectionSupport(org.eclipse.jface.text.source.projection.ProjectionViewer projectionViewer)
|
boolean |
isContentAssistAvailable()
|
void |
outlinePageClosed()
Informs the editor that its outline has been closed. |
void |
resetProjection()
Resets the foldings structure according to the folding preferences. |
void |
reveal(int offset,
int length)
Copied from AbstractTextEditor.selectAndReveal(int, int)
and removed selection functionality. |
protected void |
rulerContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager menu)
Sets up the ruler context menu before it is made visible. |
void |
setLanguageName(java.lang.String name)
|
protected void |
setPreferenceStore(org.eclipse.jface.preference.IPreferenceStore preferenceStore)
Sets this editor's preference store. |
void |
setXtextEditorCallback(CompoundXtextEditorCallback callback)
Externally set the editor callback, e.g. to disable dirty state support for a specific instance. |
protected void |
uninstallFoldingSupport()
|
void |
updatedTitleImage(org.eclipse.swt.graphics.Image image)
|
protected void |
updateStatusLine()
|
boolean |
validateEditorInputState()
Validates the state of the given editor input. |
| Methods inherited from class org.eclipse.ui.editors.text.TextEditor |
|---|
editorContextMenuAboutToShow, getStatusBanner, getStatusHeader, getStatusMessage, initializeEditor, installEncodingSupport, isSaveAsAllowed, updatePropertyDependentActions |
| Methods inherited from class org.eclipse.ui.texteditor.AbstractDecoratedTextEditor |
|---|
collectOverviewRulerMenuPreferencePages, collectRulerMenuPreferencePages, createAnnotationRulerColumn, createChangeHover, createChangeRulerColumn, createColumnSupport, createCompositeRuler, createContextMenuListener, createLineNumberRulerColumn, createOverviewRuler, createOverviewRulerContextMenu, createStatusControl, createVerticalRuler, disposeDocumentProvider, getAnnotationAccess, getAnnotationPreferenceLookup, getAnnotationPreferences, getDocumentProvider, getOverviewRuler, getOverviewRulerContextMenuId, getSharedColors, getSourceViewerDecorationSupport, gotoAnnotation, gotoMarker, handleEditorInputChanged, hideOverviewRuler, initializeLineNumberRulerColumn, isChangeInformationShowing, isEditable, isErrorStatus, isLineNumberRulerVisible, isNavigationTarget, isOverviewRulerVisible, isOverwriteModeEnabled, isPrefQuickDiffAlwaysOn, isTabsToSpacesConversionEnabled, openSaveErrorDialog, overviewRulerContextMenuAboutToShow, performSaveAs, setDocumentProvider, setOverviewRulerContextMenuId, showChangeInformation, showOverviewRuler, showRevisionInformation, updateMarkerViews |
| Methods inherited from class org.eclipse.ui.texteditor.StatusTextEditor |
|---|
handleElementContentReplaced, sanityCheckState, setFocus, updatePartControl, updateStatusField |
| Methods inherited from class org.eclipse.ui.texteditor.AbstractTextEditor |
|---|
addAction, addAction, addGroup, addRulerContextMenuListener, adjustHighlightRange, affectsTextPresentation, canHandleMove, close, configureInsertMode, containsSavedState, createEmptyNavigationLocation, createNavigationLocation, createUndoRedoActions, doGetSelection, doRestoreState, doSetSelection, editorSaved, enableOverwriteMode, enableSanityChecking, enableStateValidation, findAnnotation, firePropertyChange, getAction, getActiveSaveables, getContextMenuListener, getCoverage, getCursorListener, getCursorPosition, getEditorContextMenuId, getFontPropertyPreferenceKey, getHelpContextId, getHighlightRange, getInsertMode, getLegalInsertModes, getPreferenceStore, getProgressMonitor, getRangeIndicator, getRulerContextMenuId, getRulerMouseListener, getSaveables, getSelectionChangedListener, getSelectionProvider, getSourceViewer, getSourceViewerConfiguration, getStatusField, getStatusLineManager, getVerticalRuler, handleCursorPositionChanged, handleExceptionOnSave, handleInsertModeChanged, initializeDragAndDrop, initializeViewerColors, installTabsToSpacesConverter, installTextDragAndDrop, internalInit, isBlockSelectionModeEnabled, isBlockSelectionModeSupported, isDirty, isEditorInputIncludedInContextMenu, isEditorInputModifiable, isEditorInputReadOnly, isInInsertMode, isVisible, markAsContentDependentAction, markAsPropertyDependentAction, markAsSelectionDependentAction, markAsStateDependentAction, markInNavigationHistory, modelOffset2WidgetOffset, performRevert, performSave, rememberSelection, removeActionActivationCode, removeRulerContextMenuListener, resetHighlightRange, restoreSelection, restoreState, safelySanityCheckState, saveState, selectAndReveal, selectAndReveal, setAction, setActionActivationCode, setBlockSelectionMode, setCompatibilityMode, setDocumentProvider, setEditorContextMenuId, setHelpContextId, setHighlightRange, setInput, setInputWithNotify, setInsertMode, setKeyBindingScopes, setRangeIndicator, setRulerContextMenuId, setSourceViewerConfiguration, setStatusField, setStatusLineErrorMessage, setStatusLineMessage, showHighlightRangeOnly, showsHighlightRangeOnly, uninstallTabsToSpacesConverter, uninstallTextDragAndDrop, updateContentDependentActions, updateContributedRulerColumns, updateIndentPrefixes, updateSelectionDependentActions, updateState, updateStateDependentActions, updateStatusFields, validateState, widgetOffset2ModelOffset |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
|---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, getConfigurationElement, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IEditorPart |
|---|
getEditorInput, getEditorSite |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.ui.ISaveablePart |
|---|
isSaveOnCloseNeeded |
| Field Detail |
|---|
public static final java.lang.String ERROR_ANNOTATION_TYPE
public static final java.lang.String WARNING_ANNOTATION_TYPE
public static final java.lang.String ID
| Constructor Detail |
|---|
public XtextEditor()
| Method Detail |
|---|
public IXtextDocument getDocument()
@Inject public void setLanguageName(java.lang.String name)
public java.lang.String getLanguageName()
protected void doSetInput(org.eclipse.ui.IEditorInput input)
throws org.eclipse.core.runtime.CoreException
org.eclipse.ui.texteditor.AbstractTextEditorsetInput and from within a workspace
runnable from init, this method does the actual setting
of the editor input. Closes the editor if input is
null. Disconnects from any previous editor input and its
document provider and connects to the new one.
Subclasses may extend.
doSetInput in class org.eclipse.ui.editors.text.TextEditorinput - the input to be set
org.eclipse.core.runtime.CoreException - if input cannot be connected to the document
provider
public void init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input)
throws org.eclipse.ui.PartInitException
org.eclipse.ui.IEditorPart
This method is automatically called shortly after the part is instantiated.
It marks the start of the part's lifecycle. The
IWorkbenchPart.dispose method will be called
automically at the end of the lifecycle. Clients must not call this method.
Implementors of this method must examine the editor input object type to
determine if it is understood. If not, the implementor must throw
a PartInitException
init in interface org.eclipse.ui.IEditorPartinit in class org.eclipse.ui.texteditor.AbstractTextEditorsite - the editor siteinput - the editor input
org.eclipse.ui.PartInitException - if this editor was not initialized successfullyprotected void setPreferenceStore(org.eclipse.jface.preference.IPreferenceStore preferenceStore)
org.eclipse.ui.texteditor.AbstractTextEditor
setPreferenceStore in class org.eclipse.ui.texteditor.AbstractTextEditorpreferenceStore - the preference store or null to remove the
preference storepublic XtextSourceViewerConfiguration getXtextSourceViewerConfiguration()
public void doSaveAs()
org.eclipse.ui.texteditor.AbstractTextEditorAbstractTextEditor implementation of this
IEditorPart method calls performSaveAs.
Subclasses may reimplement.
doSaveAs in interface org.eclipse.ui.ISaveablePartdoSaveAs in class org.eclipse.ui.texteditor.AbstractTextEditorpublic void doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
org.eclipse.ui.texteditor.AbstractTextEditorAbstractTextEditor implementation of this
IEditorPart method may be extended by subclasses.
doSave in interface org.eclipse.ui.ISaveablePartdoSave in class org.eclipse.ui.texteditor.AbstractTextEditorprogressMonitor - the progress monitor for communicating result state or nullpublic void doRevertToSaved()
org.eclipse.ui.texteditor.AbstractTextEditorAbstractTextEditor implementation of this
ITextEditor method may be extended by subclasses.
doRevertToSaved in interface org.eclipse.ui.texteditor.ITextEditordoRevertToSaved in class org.eclipse.ui.texteditor.StatusTextEditorprotected void initializeKeyBindingScopes()
initializeKeyBindingScopes in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorpublic org.eclipse.core.resources.IResource getResource()
public java.lang.Object getAdapter(java.lang.Class adapter)
org.eclipse.ui.part.WorkbenchPartnull if
no such object can be found.
Subclasses may override this method (however, if they do so, they
should invoke the method on their superclass to ensure that the
Platform's adapter manager is consulted).
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.ui.editors.text.TextEditoradapter - the adapter class to look up
null if this object does not
have an adapter for the given classpublic void outlinePageClosed()
protected void createActions()
org.eclipse.ui.texteditor.AbstractTextEditorSubclasses may extend.
createActions in class org.eclipse.ui.editors.text.TextEditorprotected void configureToggleCommentAction(ToggleSLCommentAction action)
protected org.eclipse.core.commands.operations.IOperationApprover getUndoRedoOperationApprover(org.eclipse.core.commands.operations.IUndoContext undoContext)
org.eclipse.ui.texteditor.AbstractTextEditorIOperationApprover appropriate for approving the undo and
redo of operations that have the specified undo context.
Subclasses may override.
getUndoRedoOperationApprover in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorundoContext - the IUndoContext of operations that should be examined
by the operation approver
IOperationApprover appropriate for approving undo
and redo operations inside this editor, or null if no
approval is neededpublic boolean isContentAssistAvailable()
protected org.eclipse.jface.text.source.ISourceViewer createSourceViewer(org.eclipse.swt.widgets.Composite parent,
org.eclipse.jface.text.source.IVerticalRuler ruler,
int styles)
org.eclipse.ui.texteditor.AbstractTextEditor
createSourceViewer in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorparent - the parent controlruler - the vertical rulerstyles - style bits, SWT.WRAP is currently not supported
protected void configureSourceViewerDecorationSupport(org.eclipse.ui.texteditor.SourceViewerDecorationSupport support)
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor
configureSourceViewerDecorationSupport in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorsupport - the decoration support to configurepublic void createPartControl(org.eclipse.swt.widgets.Composite parent)
org.eclipse.ui.texteditor.AbstractTextEditorAbstractTextEditor implementation of this
IWorkbenchPart method creates the vertical ruler and
source viewer.
Subclasses may extend this method. Besides extending this method, the
behavior of createPartControl may be customized by
calling, extending or replacing the following methods:
Subclasses may supply customized implementations for some members using
the following methods before createPartControl is invoked:
createPartControl:
createPartControl:
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorparent - the parent compositeprotected org.eclipse.jface.text.source.projection.ProjectionSupport installProjectionSupport(org.eclipse.jface.text.source.projection.ProjectionViewer projectionViewer)
protected void installFoldingSupport(org.eclipse.jface.text.source.projection.ProjectionViewer projectionViewer)
public void dispose()
org.eclipse.ui.texteditor.AbstractTextEditorAbstractTextEditor implementation of this
IWorkbenchPart method may be extended by subclasses.
Subclasses must call super.dispose().
Note that many methods may return null after the editor is
disposed.
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.editors.text.TextEditorprotected void uninstallFoldingSupport()
public org.eclipse.jface.text.source.ISourceViewer getInternalSourceViewer()
protected void handlePreferenceStoreChanged(org.eclipse.jface.util.PropertyChangeEvent event)
org.eclipse.ui.texteditor.AbstractTextEditorSubclasses may extend.
handlePreferenceStoreChanged in class org.eclipse.ui.editors.text.TextEditorevent - the property change eventprotected java.lang.String[] collectContextMenuPreferencePages()
org.eclipse.ui.texteditor.AbstractDecoratedTextEditorSubclasses may extend or replace.
collectContextMenuPreferencePages in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorprotected org.eclipse.jface.text.source.IAnnotationAccess createAnnotationAccess()
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor
createAnnotationAccess in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditorprotected void updateStatusLine()
public boolean validateEditorInputState()
org.eclipse.ui.texteditor.ITextEditorExtension2
validateEditorInputState in interface org.eclipse.ui.texteditor.ITextEditorExtension2validateEditorInputState in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditortrue if the input was validated, false otherwisepublic void updatedTitleImage(org.eclipse.swt.graphics.Image image)
public org.eclipse.swt.graphics.Image getDefaultImage()
org.eclipse.ui.part.WorkbenchPart
getDefaultImage in class org.eclipse.ui.part.WorkbenchPartprotected void rulerContextMenuAboutToShow(org.eclipse.jface.action.IMenuManager menu)
org.eclipse.ui.texteditor.AbstractTextEditorSubclasses may extend to add other actions.
rulerContextMenuAboutToShow in class org.eclipse.ui.texteditor.AbstractDecoratedTextEditormenu - the menupublic void resetProjection()
public void setXtextEditorCallback(CompoundXtextEditorCallback callback)
public void reveal(int offset,
int length)
AbstractTextEditor.selectAndReveal(int, int)
and removed selection functionality.
protected CommonWordIterator createWordIterator()
protected XtextEditor.DeleteNextSubWordAction createDeleteNextSubWordAction()
protected XtextEditor.DeletePreviousSubWordAction createDeletePreviousSubWordAction()
protected XtextEditor.SelectNextSubWordAction createSelectNextSubWordAction()
protected XtextEditor.SelectPreviousSubWordAction createSelectPreviousSubWordAction()
protected XtextEditor.NavigateNextSubWordAction createNavigateNextSubWordAction()
protected XtextEditor.NavigatePreviousSubWordAction createNavigatePreviousSubWordAction()
protected XtextEditor.SmartLineStartAction createSmartLineStartAction(org.eclipse.swt.custom.StyledText textWidget,
boolean doSelect)
protected void createNavigationActions()
org.eclipse.ui.texteditor.AbstractTextEditororg.eclipse.swt.custom.ST. Overwrites and
extends the list of these actions afterwards.
Subclasses may extend.
createNavigationActions in class org.eclipse.ui.texteditor.AbstractTextEditor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||