org.openide.text

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 Netbeans » openide » org.openide.text 
org.openide.text
NetBeans is able to integrate multiple editors for different content types and mechanically access their content.

Using the Editor API, it is possible to get access to the Swing-based editor which is being used to edit an open file of whatever content type. This would permit you to test what the user was doing with this file; mechanically retrieve and modify text from the open buffer; prevent certain areas of a textual file from being modified by the user; set annotations in the gutter; and so on.

This API also permits a module implementor to add a custom editor for some or all (probably textual) content types. Essentially, any editor implementation may be used which is capable of being embedded as a Swing EditorKit; handling guarded blocks; and handling breakpoints and the like (for Java source).

Java Source File NameTypeComment
ActiveEditorDrop.javaInterface ActiveEditorDrop with artificial DataFlavor.
Annotatable.javaClass Classes which are capable of holding annotations must extend this abstract class.
Annotation.javaClass Description of annotation.
AnnotationProvider.javaInterface A provider of annotations for given context.
AnnotationProviderTest.javaClass
AttributedCharacters.javaClass The class is a support for all classes that implement PrintCookie.
BackwardPosition.javaClass Position that stays at the same place if someone inserts directly to its offset.
CloneableEditor.javaClass Cloneable top component to hold the editor kit.
CloneableEditorSupport.javaClass Support for associating an editor and a Swing Document . Can be assigned as a cookie to any editable data object. This class is abstract, so any subclass has to provide implementation for abstract method (usually for generating of messages) and also provide environment Env to give this support access to input/output streams, mime type and other features of edited object.

This class implements methods of the interfaces org.openide.cookies.EditorCookie , org.openide.cookies.OpenCookie , org.openide.cookies.EditCookie , org.openide.cookies.ViewCookie , org.openide.cookies.LineCookie , org.openide.cookies.CloseCookie , and org.openide.cookies.PrintCookie but does not implement those interfaces.

CloneableEditorSupportPaneTest.javaClass
CloneableEditorSupportRedirector.javaClass Allows to find another CloneableEditorSupport that all the requests passed to given one should be redirected to.
CloneableEditorSupportRedirectorTest.javaClass
CloneableEditorSupportTest.javaClass
CloneableEditorTest.javaClass
CloneableEditorUserQuestionTest.javaClass Testing usage of UserQuestionException in CES.
DataEditorSupport.javaClass Support for associating an editor and a Swing Document to a data object.
DataEditorSupportSaveAsTest.javaClass
DataEditorSupportTest.javaClass
Deadlock40766Test.javaClass Exception during load of the document can cause starvation in the thread that waits for that to happen.
Deadlock47515Test.javaClass
Deadlock49178Test.javaClass Tries closing a document while holding a read lock and adding a position reference from other thread.
Deadlock56413Test.javaClass Try firing a PROP_TIME while the document is just being loaded.
DefaultPrintable.javaClass The class creates from an instance of AttributedCharacterIterator a java.awt.print.Pageable object.
DocumentCannotBeClosedWhenAWTBlockedTest.javaClass Simulates issue 46981.
DocumentCannotBeClosedWhenReadLockedTest.javaClass Simulates issue 46981.
DocumentLine.javaClass Implementation of a line in a StyledDocument .
EditorSupport.javaClass Support for associating an editor and a Swing Document to a data object.
EditorSupportLineSet.javaClass Line set for an EditorSupport.
EmptyCESHidden.javaClass Empty implementstion of CloneableEditorSupport. Helper test class.
EnhancedChangeEvent.javaClass Extension of ChangeEvent with additional information about document and the state of the document.
EvenIfReadonlyItNeedsToThrowExceptionTest.javaClass
ExternalDeleteOfModifiedContentTest.javaClass Modified editor shall not be closed when its file is externally removed.
ExternalDeleteOfModifiedFileTest.javaClass Modified editor shall not be closed when its file is externally removed.
FilterDocument.javaClass Document that delegates all functionality to given document.
FilterStyledDocument.javaClass Document that delegates all functionality to a given StyledDocument .
IndentEngine.javaClass Indentation engine for formating text in documents.
LazyLines.javaClass Lazy List that delegates to another instance of itself.
Line.javaClass Represents one line in a text document. The line number may change when the text is modified, but the identity of the line is retained.
LineListener.javaClass Listener to changes in the document.
LineSetTest.javaClass Testing LineSet impl for CloneableEditorSupport.
LineStruct.javaClass Class that holds line information about one document.
NbDocument$Colors.javaClass
NbDocument.javaClass Dummy class holding utility methods for working with NetBeans document conventions.
NbDocumentTest.javaClass Testing LineSet impl for CloneableEditorSupport.
NbLikeEditorKit.javaClass Emulates the behaviour of NetBeans editor's kit with all its special implementations.
NetworkConnectionLostTest.javaClass Testing usage of UserQuestionException in CES.
NotifyModifiedOnNbEditorLikeKitTest.javaClass
NotifyModifiedTest.javaClass
PeterZMoveTest.javaClass
PositionBounds.javaClass A range bounded by two PositionRef s.
PositionRef.javaClass Reference to one position in a document.
PositionRefTest.javaClass
PrintPreferences.javaClass Allows get, set properties that specify the look of a printed Source Editor page, including headers, footers, vertical spacing, and line numbers.
PrintPreferencesTest.javaClass
PrintSettings.javaClass Settings for output window.
PrintSettingsBeanInfo.javaClass BeanInfo for PrintSettings.
QuietEditorPane.javaClass
ReloadDeadlockTest.javaClass Test of deadlock described by issue #12557.
ReloadOnNbLikeEditorKitTest.javaClass
ReloadTest.javaClass
ReusableEditorTest.javaClass Testing the behavior of editor reusal framework.
SaveDocumentTest.javaClass How to run from IDE: 1.
SimpleCESHidden.javaClass Empty implementstion of CloneableEditorSupport. Helper test class.
SimpleDESTest.javaClass DefaultDataObject is supposed to have open operation that shows the text editor or invokes a dialog with questions.
SimpleES.javaClass Basic editor support.
Starvation37045SecondTest.javaClass Exception during load of the document can cause starvation in the thread that waits for that to happen.
Starvation37045Test.javaClass Exception during load of the document can cause starvation in the thread that waits for that to happen.
TextTest.javaClass Regression tests. How to run from IDE: 1.
UndoRedoCooperationTest.javaClass Emulating old UndoRedo manager deadlock.
UndoRedoTest.javaClass Checks that the default impl of Documents UndoRedo really locks the document first on all of its methods.
UndoRedoWrappingExampleTest.javaClass Example of an edit that encapsulates more edits into one.
WrapEditorComponentTest.javaClass Tests that the CloneableEditorSupport.wrapEditorComponent() method is called by CloneableEditor and its result value used.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.