Java Doc for ComplibServiceProvider.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » complib » 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 » visualweb.api.designer » org.netbeans.modules.visualweb.complib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.visualweb.complib.ComplibServiceProvider

ComplibServiceProvider
public class ComplibServiceProvider implements ComplibService(Code)
Singleton used to manage component libraries. The old name of this class used to be ComponentLibraryManger.
author:
   Edwin Goei

Inner Class : enum ProjectComplibVersion
Inner Class :public static class ComponentInfo implements Comparable<Object>
Inner Class :public static class RelatedComplibs

Field Summary
final public static  StringADDABLE_COMPLIBS
    

Constructor Summary
public  ComplibServiceProvider()
     This should only be called once via ComplibService Lookup.

Method Summary
public  voidaddComplibListener(ComplibListener listener)
    
public  voidaddProjectComplib(Project project, ExtensionComplib newComplib)
    
public synchronized  voidaddPropertyChangeListener(PropertyChangeListener listener)
    
public  voidaddSharedComplibProject(Project shComplibProject)
     Attempt to add project as a shared complib project to the active project.
public  voidcleanUpProjectComplibs(Project project)
    
public  PaletteActionscreateComplibPaletteActions()
    
public  PaletteFiltercreateComplibPaletteFilter(Project project)
    
public  List<ExtensionComplib>getAddableComplibs(Project project)
     Returns a list of installed user-imported complibs that may still be added to a project. Complibs in a different namespace from any other complib in the project may still be added to a project.
public  Set<ExtensionComplib>getComplibsForProject(Project project)
    
public  NodegetComplibsRootNode(Project project)
    
public  ComponentInfo[]getComponentInfos(Complib complib)
     Returns information about each component contained in a complib in sorted order by display name.
public  List<Project>getEligibleSharedComplibProjects()
    
public  StringgetInUseProjectNames(ExtensionComplib complib)
     Returns either null or a comma separated list of display names of currently opened rave projects that use a particular complib.
public  ComplibgetInstalledComplib(String namespaceUri, String version)
    
public  ArrayList<Complib>getInstalledComplibs()
     Return all installed component libraries.
public static  ComplibServiceProvidergetInstance()
    
public  List<String>getLibRefNamesToRemove(Project project)
    
public  PreferencesgetPreferences()
    
public  RelatedComplibsgetRelatedComplibs(ExtensionComplib complib)
     Returns a list of currently installed complibs that have the same namespace as the complib parameter.
public  Set<SharedComplib>getSharedComplibsForActiveProject()
    
public  voidinitProjectComplibs(Project project)
    
public  voidinstallComplibFile(File complibFile, boolean overwrite)
    
public  ExtensionComplibinstallComplibPackage(ComplibPackage pkg)
     Install a complib package into user scope and into the palette overwriting any existing complib and handling any failures by undoing changes.
public  booleanisInstalled(ComplibPackage pkg)
    
public  voidrefreshSharedComplibsForActiveProject()
    
public  voidremove(ExtensionComplib complib)
    
public  voidremoveComplibFromProject(Project project, ExtensionComplib complib)
     Remove an embedded project complib from a project and inform listeners.
public  voidremoveComplibListener(ComplibListener listener)
    
public synchronized  voidremovePropertyChangeListener(PropertyChangeListener listener)
    
public  voidremoveSharedComplibsFromActiveProject(Set<SharedComplib> complibsToRemove)
    
public  voidreplaceProjectComplib(Project project, ExtensionComplib origComplib, ExtensionComplib newComplib)
     Replace a project-scoped complib with a new installed user-scoped complib.
public  voidresetToInitialPalette(Complib complib)
     Reset the palette state of a currently installed complib to a predefined initial state.

Field Detail
ADDABLE_COMPLIBS
final public static String ADDABLE_COMPLIBS(Code)




Constructor Detail
ComplibServiceProvider
public ComplibServiceProvider() throws IOException(Code)
This should only be called once via ComplibService Lookup.
throws:
  IOException -




Method Detail
addComplibListener
public void addComplibListener(ComplibListener listener)(Code)



addProjectComplib
public void addProjectComplib(Project project, ExtensionComplib newComplib) throws IOException, ComplibException(Code)



addPropertyChangeListener
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Use to keep track of AddableComplib changes
Parameters:
  listener -



addSharedComplibProject
public void addSharedComplibProject(Project shComplibProject) throws ComplibException, IOException(Code)
Attempt to add project as a shared complib project to the active project.
Parameters:
  shComplibProject -
throws:
  IOException -
throws:
  ComplibException -



cleanUpProjectComplibs
public void cleanUpProjectComplibs(Project project)(Code)



createComplibPaletteActions
public PaletteActions createComplibPaletteActions()(Code)



createComplibPaletteFilter
public PaletteFilter createComplibPaletteFilter(Project project)(Code)



getAddableComplibs
public List<ExtensionComplib> getAddableComplibs(Project project)(Code)
Returns a list of installed user-imported complibs that may still be added to a project. Complibs in a different namespace from any other complib in the project may still be added to a project. Also, enforce Java EE spec version constraint.
Parameters:
  project -



getComplibsForProject
public Set<ExtensionComplib> getComplibsForProject(Project project)(Code)



getComplibsRootNode
public Node getComplibsRootNode(Project project)(Code)



getComponentInfos
public ComponentInfo[] getComponentInfos(Complib complib) throws ComplibException(Code)
Returns information about each component contained in a complib in sorted order by display name.
Parameters:
  complib -
throws:
  ComplibException -



getEligibleSharedComplibProjects
public List<Project> getEligibleSharedComplibProjects()(Code)



getInUseProjectNames
public String getInUseProjectNames(ExtensionComplib complib)(Code)
Returns either null or a comma separated list of display names of currently opened rave projects that use a particular complib. "Use" means that the complib has the same ComplibId as a complib that is embedded in a project. A return value of null, means no projects use that complib.
Parameters:
  complib -



getInstalledComplib
public Complib getInstalledComplib(String namespaceUri, String version)(Code)



getInstalledComplibs
public ArrayList<Complib> getInstalledComplibs()(Code)
Return all installed component libraries. Installed means built-in or in user scope.



getInstance
public static ComplibServiceProvider getInstance()(Code)



getLibRefNamesToRemove
public List<String> getLibRefNamesToRemove(Project project)(Code)



getPreferences
public Preferences getPreferences()(Code)



getRelatedComplibs
public RelatedComplibs getRelatedComplibs(ExtensionComplib complib)(Code)
Returns a list of currently installed complibs that have the same namespace as the complib parameter. The lists are sorted in highest version first order.
Parameters:
  complib -



getSharedComplibsForActiveProject
public Set<SharedComplib> getSharedComplibsForActiveProject() throws ComplibException(Code)



initProjectComplibs
public void initProjectComplibs(Project project)(Code)



installComplibFile
public void installComplibFile(File complibFile, boolean overwrite) throws ComplibException(Code)



installComplibPackage
public ExtensionComplib installComplibPackage(ComplibPackage pkg) throws ComplibException, IOException(Code)
Install a complib package into user scope and into the palette overwriting any existing complib and handling any failures by undoing changes.
Parameters:
  pkg - complib package
throws:
  ComplibException -
throws:
  IOException -



isInstalled
public boolean isInstalled(ComplibPackage pkg)(Code)

Parameters:
  pkg - ComplibPackage true iff pkg has the same complib ID as an installed or the built-in componentlibrary



refreshSharedComplibsForActiveProject
public void refreshSharedComplibsForActiveProject() throws ComplibException(Code)



remove
public void remove(ExtensionComplib complib)(Code)
Remove all components in a complib from user scope and the UI
Parameters:
  complib -



removeComplibFromProject
public void removeComplibFromProject(Project project, ExtensionComplib complib) throws IOException(Code)
Remove an embedded project complib from a project and inform listeners.
Parameters:
  project -
Parameters:
  complib -
throws:
  IOException -



removeComplibListener
public void removeComplibListener(ComplibListener listener)(Code)



removePropertyChangeListener
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)



removeSharedComplibsFromActiveProject
public void removeSharedComplibsFromActiveProject(Set<SharedComplib> complibsToRemove) throws IOException, ComplibException(Code)



replaceProjectComplib
public void replaceProjectComplib(Project project, ExtensionComplib origComplib, ExtensionComplib newComplib) throws IOException, ComplibException(Code)
Replace a project-scoped complib with a new installed user-scoped complib. They share the same namespace. A null origComplib means to just add newComplib to the project.
Parameters:
  project -
Parameters:
  origComplib - original project-scoped complib, may be null
Parameters:
  newComplib - new installed user-scoped complib
throws:
  IOException -
throws:
  ComplibException -



resetToInitialPalette
public void resetToInitialPalette(Complib complib) throws ComplibException(Code)
Reset the palette state of a currently installed complib to a predefined initial state.
Parameters:
  complib -
throws:
  ComplibException -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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