Java Doc for ArealLibraryProvider.java in  » IDE-Netbeans » project.ant » org » netbeans » spi » project » libraries » 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 Netbeans » project.ant » org.netbeans.spi.project.libraries 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.spi.project.libraries.ArealLibraryProvider

ArealLibraryProvider
public interface ArealLibraryProvider (Code)
Library provider which can define libraries in particular areas. There is no explicit method to save a library; setters on LibraryImplementation should do this.
Parameters:
  A - the type of storage area used by this provider
Parameters:
  L - the type of library created by this provider
since:
   org.netbeans.modules.project.libraries/1 1.15


Field Summary
 StringPROP_OPEN_AREAS
     Property to fire when ArealLibraryProvider.getOpenAreas might have changed.


Method Summary
 voidaddPropertyChangeListener(PropertyChangeListener listener)
     Adds a listener to ArealLibraryProvider.PROP_OPEN_AREAS .
 Class<A>areaType()
     Gets the runtime type of the area used by this provider.
 AcreateArea()
     Creates or otherwise picks a storage area interactively.
 LcreateLibrary(String type, String name, A area, Map<String, List<URL>> contents)
     Creates a new library.
 LibraryProvider<L>getLibraries(A area)
     Gets all libraries defined in a given area. No two libraries in this area may share a given name (as in LibraryImplementation.getName , though it is permitted for libraries from different areas to have the same name. Changes in the set of libraries defined in this area should be fired through LibraryProvider.PROP_LIBRARIES . Since IOException is not thrown either from this method or from LibraryProvider.getLibraries , it is expected that any problems loading library definitions will be logged and that those libraries will be skipped.
Parameters:
  area - some storage area (which might not even exist yet, in which case the set of libraries will initially be empty) a listenable set of libraries in this area(it is permitted to return distinct objects from call to call on the same area,i.e.
 Set<A>getOpenAreas()
     Looks for areas which should be somehow listed as open. For example, a provider which refers to library areas from project metadata could list all areas referred to from currently open projects. It is not necessary to include areas recently mentioned e.g.
 Class<L>libraryType()
     Gets the runtime type of the libraries created by this provider.
 AloadArea(URL location)
     Loads a storage area (which may or may exist yet).
 voidremove(L library)
     Deletes an existing library.
 voidremovePropertyChangeListener(PropertyChangeListener listener)
     Removes a listener to ArealLibraryProvider.PROP_OPEN_AREAS .

Field Detail
PROP_OPEN_AREAS
String PROP_OPEN_AREAS(Code)
Property to fire when ArealLibraryProvider.getOpenAreas might have changed.





Method Detail
addPropertyChangeListener
void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Adds a listener to ArealLibraryProvider.PROP_OPEN_AREAS .
Parameters:
  listener - a listener to add



areaType
Class<A> areaType()(Code)
Gets the runtime type of the area used by this provider. the area type



createArea
A createArea()(Code)
Creates or otherwise picks a storage area interactively. This might actually create a fresh area, or just load an existing one, or even do nothing (and return null). The implementor is free to show a dialog here. a new or existing storage area, or null



createLibrary
L createLibrary(String type, String name, A area, Map<String, List<URL>> contents) throws IOException(Code)
Creates a new library.
Parameters:
  type - the kind of library to make, as in LibraryTypeProvider.getLibraryType or LibraryImplementation.getType
Parameters:
  name - the library name, as in LibraryImplementation.getName
Parameters:
  area - the location to define the library
Parameters:
  contents - initial volume contents (keys must be contained in the appropriate LibraryTypeProvider.getSupportedVolumeTypes) a new library with matching type, name, area, and contents
throws:
  IOException - if an error occurs creating the library definition



getLibraries
LibraryProvider<L> getLibraries(A area)(Code)
Gets all libraries defined in a given area. No two libraries in this area may share a given name (as in LibraryImplementation.getName , though it is permitted for libraries from different areas to have the same name. Changes in the set of libraries defined in this area should be fired through LibraryProvider.PROP_LIBRARIES . Since IOException is not thrown either from this method or from LibraryProvider.getLibraries , it is expected that any problems loading library definitions will be logged and that those libraries will be skipped.
Parameters:
  area - some storage area (which might not even exist yet, in which case the set of libraries will initially be empty) a listenable set of libraries in this area(it is permitted to return distinct objects from call to call on the same area,i.e. no caching by the implementation is necessary)



getOpenAreas
Set<A> getOpenAreas()(Code)
Looks for areas which should be somehow listed as open. For example, a provider which refers to library areas from project metadata could list all areas referred to from currently open projects. It is not necessary to include areas recently mentioned e.g. by ArealLibraryProvider.createArea . a (possibly empty) collection of areas



libraryType
Class<L> libraryType()(Code)
Gets the runtime type of the libraries created by this provider. the library type



loadArea
A loadArea(URL location)(Code)
Loads a storage area (which may or may exist yet).
Parameters:
  location - an abstract storage location which may or may not be recognized by this provider an area whose LibraryStorageArea.getLocation matches the provided location,or null if this type of location is not recognized by this provider



remove
void remove(L library) throws IOException(Code)
Deletes an existing library.
Parameters:
  library - a library produced by this provider
throws:
  IOException - if a problem can encountered deleting the library definition



removePropertyChangeListener
void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Removes a listener to ArealLibraryProvider.PROP_OPEN_AREAS .
Parameters:
  listener - a listener to remove



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