Source Code Cross Referenced for FileItem.java in  » IDE » tIDE » tide » sources » 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 » tIDE » tide.sources 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        package tide.sources;
02:
03:        import japa.parser.ast.CompilationUnit;
04:        import javax.swing.tree.TreeNode;
05:        import tide.syntaxtree.*;
06:
07:        /** Simple interface uesd for SourceFile and LibFileItem
08:         unifies the search and display of source and class files (libraries).
09:         */
10:        public interface FileItem extends TreeNode {
11:            //will be received from DefMutTN
12:            public TreeNode getPreviousSibling();
13:
14:            public TreeNode getNextSibling();
15:
16:            /** "Hello.java" or "Hallo.class" Used in the tree as display
17:             */
18:            public String getName();
19:
20:            /** "mypack.Hello" used to address the class */
21:            public String getJavaName();
22:
23:            /** "mypack" is the package name. In the root, also named "unnamed scope", the name is an empty string. */
24:            public String getPackageName();
25:
26:            public String getContent() throws Exception;
27:
28:            public void deleteCachedContent();
29:
30:            // replace with line and col, more robust !!
31:            public int getCaretLinePosition();
32:
33:            public int getCaretColumnPosition();
34:
35:            /** Set when clicked, or when leaving a file, so we can jump to the leaved place.
36:             */
37:            public void setCaretPositionToRemember(int line, int column);
38:
39:            /** this returns "Hello" without extension .class or .java.
40:             *   Also named simple name
41:             */
42:            public String getJavaPartName();
43:
44:            /** Possibilities: source or class file.
45:             */
46:            public boolean isJavaFile();
47:
48:            /** true for directories
49:             */
50:            public boolean isDirectory();
51:
52:            /** A source file is a file with ending ".java"
53:             */
54:            public boolean isSourceFile();
55:
56:            public boolean isIgnored();
57:
58:            public boolean isEditable();
59:
60:            public boolean hasTextRepresentation(); // class, java, txt
61:
62:            /** True if has java classes or sources in this package.
63:               only the one that have may be imported (1.5_06) sometimes don't compile otherwise !
64:               NOT RECURSE
65:             */
66:            public boolean hasPackageDirectJavaChilds();
67:
68:            public long getLastModified();
69:
70:            public long getFileSize();
71:
72:            /** used to remove from model after manual sync.
73:             */
74:            public boolean getHasBeenRemoved();
75:
76:            /** Caches the last valid syntax tree for the source file (or decompiled class !)
77:             *   null if not already parsed. This is a cache, useful for completion, but
78:             *   no guarantee to exist, can be deleted when memory is needed.
79:             */
80:            //@Deprecated
81:            public SimplifiedSyntaxTree2 getSimplifiedSyntaxTreeIfAlreadyMade();
82:
83:            //@Deprecated
84:            public void setSimplifiedSyntaxTree(SimplifiedSyntaxTree2 st);
85:
86:            public ParserResult getParserResultIfAlreadyMade();
87:
88:            public void setParserResult(ParserResult st);
89:
90:            /** Helps the GC to recover some memory.
91:             */
92:            public void liberateResourcesForGC();
93:
94:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.