| |
|
| org.eclipse.ui.texteditor.AbstractTextEditor org.eclipse.ui.texteditor.StatusTextEditor
StatusTextEditor | public class StatusTextEditor extends AbstractTextEditor (Code) | | Capable of handling input elements that have an associated status with them.
since: 2.0 |
createPartControl | public void createPartControl(Composite parent)(Code) | | |
createStatusControl | protected Control createStatusControl(Composite parent, IStatus status)(Code) | | Creates the status control for the given status.
May be overridden by subclasses.
Parameters: parent - the parent control Parameters: status - the status the new status control |
doRevertToSaved | public void doRevertToSaved()(Code) | | |
getStatusBanner | protected String getStatusBanner(IStatus status)(Code) | | Returns a banner for the given status.
Parameters: status - the status whose message is returned a banner for the given status |
getStatusHeader | protected String getStatusHeader(IStatus status)(Code) | | Returns a header for the given status
Parameters: status - the status whose message is returned a header for the given status |
getStatusMessage | protected String getStatusMessage(IStatus status)(Code) | | Returns a message for the given status.
Parameters: status - the status whose message is returned a message for the given status |
handleEditorInputChanged | protected void handleEditorInputChanged()(Code) | | |
handleElementContentReplaced | protected void handleElementContentReplaced()(Code) | | |
isErrorStatus | protected boolean isErrorStatus(IStatus status)(Code) | | Returns whether the given status indicates an error. Subclasses may override.
Parameters: status - the status to be checked true if the status indicates an error, false otherwise\ since: 3.0 |
updatePartControl | public void updatePartControl(IEditorInput input)(Code) | | Checks if the status of the given input is OK. If not the
status control is shown rather than the default control.
Parameters: input - the input whose status is checked |
updateStatusField | protected void updateStatusField(String category)(Code) | | |
validateEditorInputState | public boolean validateEditorInputState()(Code) | | |
Methods inherited from org.eclipse.ui.texteditor.AbstractTextEditor | final protected void addAction(IMenuManager menu, String actionId)(Code)(Java Doc) final protected void addAction(IMenuManager menu, String group, String actionId)(Code)(Java Doc) final protected void addGroup(IMenuManager menu, String existingGroup, String newGroup)(Code)(Java Doc) public void addRulerContextMenuListener(IMenuListener listener)(Code)(Java Doc) protected void adjustHighlightRange(int offset, int length)(Code)(Java Doc) protected boolean affectsTextPresentation(PropertyChangeEvent event)(Code)(Java Doc) protected boolean canHandleMove(IEditorInput originalElement, IEditorInput movedElement)(Code)(Java Doc) public void close(boolean save)(Code)(Java Doc) protected void configureInsertMode(InsertMode mode, boolean legal)(Code)(Java Doc) protected boolean containsSavedState(IMemento memento)(Code)(Java Doc) protected void createActions()(Code)(Java Doc) protected IColumnSupport createColumnSupport()(Code)(Java Doc) public INavigationLocation createEmptyNavigationLocation()(Code)(Java Doc) protected void createNavigationActions()(Code)(Java Doc) public INavigationLocation createNavigationLocation()(Code)(Java Doc) public void createPartControl(Composite parent)(Code)(Java Doc) protected ISourceViewer createSourceViewer(Composite parent, IVerticalRuler ruler, int styles)(Code)(Java Doc) protected void createUndoRedoActions()(Code)(Java Doc) protected IVerticalRuler createVerticalRuler()(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected void disposeDocumentProvider()(Code)(Java Doc) protected ISelection doGetSelection()(Code)(Java Doc) protected void doRestoreState(IMemento memento)(Code)(Java Doc) public void doRevertToSaved()(Code)(Java Doc) public void doSave(IProgressMonitor progressMonitor)(Code)(Java Doc) public void doSaveAs()(Code)(Java Doc) protected void doSetInput(IEditorInput input) throws CoreException(Code)(Java Doc) protected void doSetSelection(ISelection selection)(Code)(Java Doc) protected void editorContextMenuAboutToShow(IMenuManager menu)(Code)(Java Doc) protected void editorSaved()(Code)(Java Doc) protected void enableOverwriteMode(boolean enable)(Code)(Java Doc) protected void enableSanityChecking(boolean enable)(Code)(Java Doc) protected void enableStateValidation(boolean enable)(Code)(Java Doc) protected Annotation findAnnotation(int offset, int length, boolean forward, Position annotationPosition)(Code)(Java Doc) protected void firePropertyChange(int property)(Code)(Java Doc) public IAction getAction(String actionID)(Code)(Java Doc) public Saveable[] getActiveSaveables()(Code)(Java Doc) public Object getAdapter(Class required)(Code)(Java Doc) final protected IMenuListener getContextMenuListener()(Code)(Java Doc) final protected static IRegion getCoverage(ISourceViewer viewer)(Code)(Java Doc) final protected ICursorListener getCursorListener()(Code)(Java Doc) protected String getCursorPosition()(Code)(Java Doc) public IDocumentProvider getDocumentProvider()(Code)(Java Doc) final protected String getEditorContextMenuId()(Code)(Java Doc) final protected String getFontPropertyPreferenceKey()(Code)(Java Doc) final protected String getHelpContextId()(Code)(Java Doc) public IRegion getHighlightRange()(Code)(Java Doc) public InsertMode getInsertMode()(Code)(Java Doc) protected List getLegalInsertModes()(Code)(Java Doc) final protected IPreferenceStore getPreferenceStore()(Code)(Java Doc) protected IProgressMonitor getProgressMonitor()(Code)(Java Doc) final protected Annotation getRangeIndicator()(Code)(Java Doc) final protected String getRulerContextMenuId()(Code)(Java Doc) final protected MouseListener getRulerMouseListener()(Code)(Java Doc) public Saveable[] getSaveables()(Code)(Java Doc) final protected ISelectionChangedListener getSelectionChangedListener()(Code)(Java Doc) public ISelectionProvider getSelectionProvider()(Code)(Java Doc) final protected ISourceViewer getSourceViewer()(Code)(Java Doc) final protected SourceViewerConfiguration getSourceViewerConfiguration()(Code)(Java Doc) protected IStatusField getStatusField(String category)(Code)(Java Doc) protected IStatusLineManager getStatusLineManager()(Code)(Java Doc) protected IOperationApprover getUndoRedoOperationApprover(IUndoContext undoContext)(Code)(Java Doc) final protected IVerticalRuler getVerticalRuler()(Code)(Java Doc) public Annotation gotoAnnotation(boolean forward)(Code)(Java Doc) protected void handleCursorPositionChanged()(Code)(Java Doc) protected void handleEditorInputChanged()(Code)(Java Doc) protected void handleElementContentReplaced()(Code)(Java Doc) protected void handleExceptionOnSave(CoreException exception, IProgressMonitor progressMonitor)(Code)(Java Doc) protected void handleInsertModeChanged()(Code)(Java Doc) protected void handlePreferenceStoreChanged(PropertyChangeEvent event)(Code)(Java Doc) public void init(IEditorSite site, IEditorInput input) throws PartInitException(Code)(Java Doc) protected void initializeDragAndDrop(ISourceViewer viewer)(Code)(Java Doc) protected void initializeViewerColors(ISourceViewer viewer)(Code)(Java Doc) protected void installTabsToSpacesConverter()(Code)(Java Doc) protected void installTextDragAndDrop(ISourceViewer viewer)(Code)(Java Doc) final protected void internalInit(IWorkbenchWindow window, IEditorSite site, IEditorInput input) throws PartInitException(Code)(Java Doc) public boolean isChangeInformationShowing()(Code)(Java Doc) public boolean isDirty()(Code)(Java Doc) public boolean isEditable()(Code)(Java Doc) protected boolean isEditorInputIncludedInContextMenu()(Code)(Java Doc) public boolean isEditorInputModifiable()(Code)(Java Doc) public boolean isEditorInputReadOnly()(Code)(Java Doc) protected boolean isInInsertMode()(Code)(Java Doc) protected boolean isNavigationTarget(Annotation annotation)(Code)(Java Doc) public boolean isSaveAsAllowed()(Code)(Java Doc) protected boolean isTabsToSpacesConversionEnabled()(Code)(Java Doc) final protected static boolean isVisible(ISourceViewer viewer, int offset, int length)(Code)(Java Doc) public void markAsContentDependentAction(String actionId, boolean mark)(Code)(Java Doc) public void markAsPropertyDependentAction(String actionId, boolean mark)(Code)(Java Doc) public void markAsSelectionDependentAction(String actionId, boolean mark)(Code)(Java Doc) public void markAsStateDependentAction(String actionId, boolean mark)(Code)(Java Doc) protected void markInNavigationHistory()(Code)(Java Doc) final protected static int modelOffset2WidgetOffset(ISourceViewer viewer, int modelOffset)(Code)(Java Doc) protected void openSaveErrorDialog(String title, String message, CoreException exception)(Code)(Java Doc) protected void performRevert()(Code)(Java Doc) protected void performSave(boolean overwrite, IProgressMonitor progressMonitor)(Code)(Java Doc) protected void performSaveAs(IProgressMonitor progressMonitor)(Code)(Java Doc) protected void rememberSelection()(Code)(Java Doc) public void removeActionActivationCode(String actionID)(Code)(Java Doc) public void removeRulerContextMenuListener(IMenuListener listener)(Code)(Java Doc) public void resetHighlightRange()(Code)(Java Doc) protected void restoreSelection()(Code)(Java Doc) public void restoreState(IMemento memento)(Code)(Java Doc) protected void rulerContextMenuAboutToShow(IMenuManager menu)(Code)(Java Doc) protected void safelySanityCheckState(IEditorInput input)(Code)(Java Doc) protected void sanityCheckState(IEditorInput input)(Code)(Java Doc) public void saveState(IMemento memento)(Code)(Java Doc) public void selectAndReveal(int start, int length)(Code)(Java Doc) protected void selectAndReveal(int selectionStart, int selectionLength, int revealStart, int revealLength)(Code)(Java Doc) public void setAction(String actionID, IAction action)(Code)(Java Doc) public void setActionActivationCode(String actionID, char activationCharacter, int activationKeyCode, int activationStateMask)(Code)(Java Doc) final protected void setCompatibilityMode(boolean compatible)(Code)(Java Doc) protected void setDocumentProvider(IDocumentProvider provider)(Code)(Java Doc) protected void setDocumentProvider(IEditorInput input)(Code)(Java Doc) protected void setEditorContextMenuId(String contextMenuId)(Code)(Java Doc) public void setFocus()(Code)(Java Doc) protected void setHelpContextId(String helpContextId)(Code)(Java Doc) public void setHighlightRange(int offset, int length, boolean moveCursor)(Code)(Java Doc) final public void setInput(IEditorInput input)(Code)(Java Doc) final protected void setInputWithNotify(IEditorInput input)(Code)(Java Doc) public void setInsertMode(InsertMode newMode)(Code)(Java Doc) protected void setKeyBindingScopes(String[] scopes)(Code)(Java Doc) protected void setPreferenceStore(IPreferenceStore store)(Code)(Java Doc) protected void setRangeIndicator(Annotation rangeIndicator)(Code)(Java Doc) protected void setRulerContextMenuId(String contextMenuId)(Code)(Java Doc) protected void setSourceViewerConfiguration(SourceViewerConfiguration configuration)(Code)(Java Doc) public void setStatusField(IStatusField field, String category)(Code)(Java Doc) protected void setStatusLineErrorMessage(String message)(Code)(Java Doc) protected void setStatusLineMessage(String message)(Code)(Java Doc) public void showChangeInformation(boolean show)(Code)(Java Doc) public void showHighlightRangeOnly(boolean showHighlightRangeOnly)(Code)(Java Doc) public void showRevisionInformation(RevisionInformation info, String quickDiffProviderId)(Code)(Java Doc) public boolean showsHighlightRangeOnly()(Code)(Java Doc) protected void uninstallTabsToSpacesConverter()(Code)(Java Doc) protected void uninstallTextDragAndDrop(ISourceViewer viewer)(Code)(Java Doc) protected void updateContentDependentActions()(Code)(Java Doc) protected void updateContributedRulerColumns(CompositeRuler ruler)(Code)(Java Doc) final protected void updateIndentPrefixes()(Code)(Java Doc) protected void updatePropertyDependentActions()(Code)(Java Doc) protected void updateSelectionDependentActions()(Code)(Java Doc) protected void updateState(IEditorInput input)(Code)(Java Doc) protected void updateStateDependentActions()(Code)(Java Doc) protected void updateStatusField(String category)(Code)(Java Doc) protected void updateStatusFields()(Code)(Java Doc) public boolean validateEditorInputState()(Code)(Java Doc) protected void validateState(IEditorInput input)(Code)(Java Doc) final protected static int widgetOffset2ModelOffset(ISourceViewer viewer, int widgetOffset)(Code)(Java Doc)
|
|
|
|