Java Doc for ProjectManager.java in  » Swing-Library » abeille-forms-designer » com » jeta » forms » project » 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 » Swing Library » abeille forms designer » com.jeta.forms.project 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jeta.forms.project.ProjectManager

All known Subclasses:   com.jeta.swingbuilder.project.DefaultProjectManager,  com.jeta.forms.project.RuntimeProjectManager,
ProjectManager
public interface ProjectManager (Code)
This interface defines methods for project management. A project is composed of a set of 'source' directories. The application uses these diectories to form absolute/relative paths for forms and image resources when in design mode. When in run mode, the forms are loaded from the classpath. When in design mode, forms are loaded from the source paths. It is the responsibility of the ProjectManager to handle loading of form and image resources.
author:
   Jeff Tassin


Field Summary
final public static  StringCOMPONENT_ID
    


Method Summary
public  voidclearResourceCache()
     Clears any cached resources such as images.
public  StringgetAbsolutePath(String relativePath)
     Returns a valid absolute path for a resource given only a relative path. The the registered source paths are searched to determine if the relativePath exists within one of the source paths.
public  StringgetRelativePath(String absPath)
     Returns the relative path given an absolute path to a resource.
public  booleanisValidAbsolutePath(String path)
     Determines if the given absolute path lies within one of the registered source directories.
public  booleanisValidResource(String relpath)
     Returns true if the given relative path exists and is a file.
public  ImageIconloadImage(String imageName)
     Utility method that loads an image from the CLASSPATH.

Field Detail
COMPONENT_ID
final public static String COMPONENT_ID(Code)
component id for the JETARegistry





Method Detail
clearResourceCache
public void clearResourceCache()(Code)
Clears any cached resources such as images.



getAbsolutePath
public String getAbsolutePath(String relativePath)(Code)
Returns a valid absolute path for a resource given only a relative path. The the registered source paths are searched to determine if the relativePath exists within one of the source paths. The source paths are set by the user for a given project. a valid absolute path given a relative path. Null is returned ifno resource matches the given relative path.



getRelativePath
public String getRelativePath(String absPath)(Code)
Returns the relative path given an absolute path to a resource. The relative path is determined using the source directories. If the path does not lie within a source directory, null is returned. a valid relative package/filename given an absolute path.



isValidAbsolutePath
public boolean isValidAbsolutePath(String path)(Code)
Determines if the given absolute path lies within one of the registered source directories. true if the given absolute path lies within one of the sourcedirectories.



isValidResource
public boolean isValidResource(String relpath)(Code)
Returns true if the given relative path exists and is a file. true if the given relative resource exists and is a file



loadImage
public ImageIcon loadImage(String imageName)(Code)
Utility method that loads an image from the CLASSPATH.
Parameters:
  imageName - the subdirectory and name of image file (i.e.images/edit16.gif )



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