Source Code Cross Referenced for EditorManager.java in  » IDE » bluej-editor » bluej » editor » 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 » bluej editor » bluej.editor 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        //Copyright (c) 2000, 2005 BlueJ Group, Deakin University
02:        //
03:        // This software is made available under the terms of the "MIT License"
04:        // A copy of this license is included with this source distribution
05:        // in "license.txt" and is also available at:
06:        // http://www.opensource.org/licenses/mit-license.html 
07:        // Any queries should be directed to Michael Kolling mik@bluej.org
08:
09:        package bluej.editor;
10:
11:        import java.awt.Rectangle;
12:        import java.util.List;
13:        import bluej.editor.moe.MoeEditorManager;
14:
15:        /**
16:         * Interface between the editor manager and the rest of BlueJ.
17:         *
18:         * @author  Michael Cahill
19:         * @author  Michael Kolling
20:         * @author  Bruce Quig
21:         * @version $Id: EditorManager.java 5390 2007-11-21 05:06:41Z davmac $
22:         */
23:        public abstract class EditorManager {
24:
25:            private static EditorManager theEditorManager = new MoeEditorManager();
26:
27:            /**
28:             * Singleton factory method to return an EditorManager instance;
29:             *
30:             * @returns	the singleton EditorManager instance
31:             */
32:            public static EditorManager getEditorManager() {
33:                return theEditorManager;
34:            }
35:
36:            /**
37:             * Open an editor to display a class. The filename may be "null"
38:             * to open an empty editor (e.g. for displaying a view). The editor
39:             * is initially hidden. A call to "Editor::show" is needed to make
40:             * is visible after opening it.
41:             *
42:             * @param filename      name of the source file to open (may be null)
43:             * @param docFilename	name of the documentation based on filename
44:             * @param windowTitle   title of window (usually class name)
45:             * @param watcher       an object interested in editing events
46:             * @param compiled      true, if the class has been compiled
47:             * @param breakpoints   vector of Integers: line numbers where bpts are
48:             * @return		    the new editor, or null if there was a problem
49:             */
50:            public abstract Editor openClass(String filename,
51:                    String docFilename, String windowTitle,
52:                    EditorWatcher watcher, boolean compiled, Rectangle bounds);
53:
54:            /**
55:             * Open an editor to display a text document. The difference to
56:             * "openClass" is that code specific functions (such as compile,
57:             * debug, view) are disabled in the editor. The filename may be
58:             * "null" to open an empty editor. The editor is initially hidden.
59:             * A call to "Editor::show" is needed to make is visible after
60:             * opening it.
61:             *
62:             * @param filename	name of the source file to open (may be null)
63:             * @param windowTitle	title of window (usually class name)
64:             * @param watcher	an object interested in editing events
65:             * @returns		the new editor, or null if there was a problem
66:             */
67:            public abstract Editor openText(String filename,
68:                    String windowTitle, Rectangle bounds);
69:
70:            /**
71:             * Indicate to the manager that all resources used by this editor
72:             * should be discarded.
73:             */
74:            protected abstract void discardEditor(Editor ed);
75:
76:            /**
77:             * Refresh the display of all showing editors (usually because
78:             * an editor property such as font has changed)
79:             */
80:            public abstract void refreshAll();
81:
82:        } // end interface EditorManager
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.