Java Doc for StatusTextEditor.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » texteditor » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui workbench » org.eclipse.ui.texteditor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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




Method Summary
public  voidcreatePartControl(Composite parent)
    
protected  ControlcreateStatusControl(Composite parent, IStatus status)
     Creates the status control for the given status.
public  voiddoRevertToSaved()
    
protected  voiddoSetInput(IEditorInput input)
    
protected  StringgetStatusBanner(IStatus status)
     Returns a banner for the given status.
protected  StringgetStatusHeader(IStatus status)
    
protected  StringgetStatusMessage(IStatus status)
     Returns a message for the given status.
protected  voidhandleEditorInputChanged()
    
protected  voidhandleElementContentReplaced()
    
protected  booleanisErrorStatus(IStatus status)
     Returns whether the given status indicates an error.
protected  voidsanityCheckState(IEditorInput input)
    
public  voidupdatePartControl(IEditorInput input)
     Checks if the status of the given input is OK.
protected  voidupdateStatusField(String category)
    
public  booleanvalidateEditorInputState()
    



Method Detail
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)



doSetInput
protected void doSetInput(IEditorInput input) throws CoreException(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



sanityCheckState
protected void sanityCheckState(IEditorInput input)(Code)



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)



Fields inherited from org.eclipse.ui.texteditor.AbstractTextEditor
final protected static IdMapEntry[] ACTION_MAP(Code)(Java Doc)
final public static String DEFAULT_EDITOR_CONTEXT_MENU_ID(Code)(Java Doc)
final public static String DEFAULT_RULER_CONTEXT_MENU_ID(Code)(Java Doc)
final public static String PREFERENCE_COLOR_BACKGROUND(Code)(Java Doc)
final public static String PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT(Code)(Java Doc)
final public static String PREFERENCE_COLOR_FIND_SCOPE(Code)(Java Doc)
final public static String PREFERENCE_COLOR_FOREGROUND(Code)(Java Doc)
final public static String PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT(Code)(Java Doc)
final public static String PREFERENCE_COLOR_SELECTION_BACKGROUND(Code)(Java Doc)
final public static String PREFERENCE_COLOR_SELECTION_BACKGROUND_SYSTEM_DEFAULT(Code)(Java Doc)
final public static String PREFERENCE_COLOR_SELECTION_FOREGROUND(Code)(Java Doc)
final public static String PREFERENCE_COLOR_SELECTION_FOREGROUND_SYSTEM_DEFAULT(Code)(Java Doc)
final public static String PREFERENCE_FONT(Code)(Java Doc)
final public static String PREFERENCE_HYPERLINKS_ENABLED(Code)(Java Doc)
final public static String PREFERENCE_HYPERLINK_KEY_MODIFIER(Code)(Java Doc)
final public static String PREFERENCE_HYPERLINK_KEY_MODIFIER_MASK(Code)(Java Doc)
final public static String PREFERENCE_NAVIGATION_SMART_HOME_END(Code)(Java Doc)
final public static String PREFERENCE_RULER_CONTRIBUTIONS(Code)(Java Doc)
final public static String PREFERENCE_SHOW_WHITESPACE_CHARACTERS(Code)(Java Doc)
final public static String PREFERENCE_TEXT_DRAG_AND_DROP_ENABLED(Code)(Java Doc)
final public static String PREFERENCE_USE_CUSTOM_CARETS(Code)(Java Doc)
final public static String PREFERENCE_WIDE_CARET(Code)(Java Doc)
final protected static String TAG_SELECTION_LENGTH(Code)(Java Doc)
final protected static String TAG_SELECTION_OFFSET(Code)(Java Doc)
final protected static int VERTICAL_RULER_WIDTH(Code)(Java Doc)
final protected String fErrorLabel(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.