Java Doc for RequirementsManager.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » core » requirementsframework » 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 » uml » org.netbeans.modules.uml.core.requirementsframework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.uml.core.requirementsframework.RequirementsManager

All known Subclasses:   org.netbeans.modules.uml.requirements.ADRequirementsManager,
RequirementsManager
public class RequirementsManager implements IRequirementsManager(Code)

author:
   Trey Spiva


Field Summary
protected  Documentm_ReqProxyDoc
     DOM document to load the RequirementSources.etrp file into.
protected  Stringm_ReqProxyFile
    
protected  Stringm_ReqSourcesFile
    

Constructor Summary
public  RequirementsManager()
    

Method Summary
protected  voidaddReqSourceToDoc(Document document, Element sourceElem)
     Insert the passed in element to the RequirementsSources.etd file. *document[in] The XML document to add the passed in element to.
protected  ElementconvertReqSourceToXMLElement(Document document, IRequirementSource requirementSource)
     Create a element for the RequirementSources.etd file, from an IRequriementsSource class. *document[in] XML Document to create the element for.
protected  voidconvertXMLElementToReqSource(Element sourceElem, IRequirementSource requirementSource)
     Load the passed in IRequriementsSource class from the passed in element (element type that goes in the RequirementSources.etd file) . *sourceElem[in] The XML element that contains the Requirement Source data.
public  voiddeleteProxy(IRequirement requirement, ISatisfier satisfier)
     Callback from ReqProxyManager when a Requirement(s) has been dropped on a presentation element.
protected  ElementfindOrCreateElement(Node parentNode, String strNodeName, String strAttributeName, String strAttributeValue)
     Looks for a child node on the parent.
public  IRequirementsProvider[]getAddIns()
    
protected  IRequirementsProvider[]getAddinsFromRegistry(String path)
     The registry information that is retrieved from layer files to build the list of design center addins supported by this node.
Parameters:
  path - The registry path that is used for the lookup.
protected  StringgetConfigDir()
    
protected  booleangetReqProxyDoc()
     Gets or creates the .RequirementSources.etrp proxy file *bFileLoaded[out] Returns true if the RequirementSources.etrp file is loaded.
protected  booleangetReqSourcesDoc()
     Creates an XML element for the passed in IAddInDescriptor and writes it to the RequirementSources.etd file. *bFileLoaded[out] Returns true if the RequirementSources.etd file is loaded.
protected  StringgetReqSourcesFile()
     Returns the path and file name for the RequirementSources.etd file, which contains data for the available requirement provider addins.
public  IRequirementsProvidergetRequirementsProvider(String sProgID)
     The requirements manager knows about the requirements addins.
public  IRequirementSourcegetSource(String strRequirementSourceID)
     Given a RequirementSourceID, read the etd file and return the RequirementSource.
public  voidinitialize()
     Initialize the requirements manager.
protected  voidinitializeReqSourcesDoc(Document document)
     Creates the initial elements for a RequirementSources.etd document. *document[in] XML Document to initialize.
public  voidprocessProxy(IRequirement requirement, ISatisfier satisfier)
     Callback from ReqProxyManager when a Requirement(s) has been dropped on a presentation element.
public  voidprocessSource(IRequirementSource requirementSource)
     Callback from ReqProxyManager, when the "Display Sources" button is pressed on the Requirements Provider Dialog.
protected  voidsaveReqSourcesDoc()
     Saves the RequirementSources.etd document to disk.
protected  voidupdateProxyFileLocation(String strRequirementSourceID)
     Updates the location of the proxy file in the RequirementSources.etd document *bFileLoaded[out] Returns true if the RequirementSources.etrp file is loaded.

Field Detail
m_ReqProxyDoc
protected Document m_ReqProxyDoc(Code)
DOM document to load the RequirementSources.etrp file into.



m_ReqProxyFile
protected String m_ReqProxyFile(Code)
Path and name of the RequirementSources.etrp file



m_ReqSourcesFile
protected String m_ReqSourcesFile(Code)
Path and name of the RequirementSources.etd file




Constructor Detail
RequirementsManager
public RequirementsManager()(Code)




Method Detail
addReqSourceToDoc
protected void addReqSourceToDoc(Document document, Element sourceElem)(Code)
Insert the passed in element to the RequirementsSources.etd file. *document[in] The XML document to add the passed in element to. *sourceElem[in] The XML element to add to the document. void



convertReqSourceToXMLElement
protected Element convertReqSourceToXMLElement(Document document, IRequirementSource requirementSource)(Code)
Create a element for the RequirementSources.etd file, from an IRequriementsSource class. *document[in] XML Document to create the element for. *requirementSource[in] Describe IRequirementSource that contains the data. *sourceElem[out] Returns the new XML Element. void



convertXMLElementToReqSource
protected void convertXMLElementToReqSource(Element sourceElem, IRequirementSource requirementSource)(Code)
Load the passed in IRequriementsSource class from the passed in element (element type that goes in the RequirementSources.etd file) . *sourceElem[in] The XML element that contains the Requirement Source data. *requirementSource[in] The IRequirements object to fill with data. void



deleteProxy
public void deleteProxy(IRequirement requirement, ISatisfier satisfier)(Code)
Callback from ReqProxyManager when a Requirement(s) has been dropped on a presentation element. Creates nodes as needed. strRequirementSourceID[in] RequirementSourceID of the Provider. strRequirementID[in] RequirementID. strRequirementName[in] RequirementName. strSatisfierID[in] SatisfierID of the Presentation element. - Not Used Yet, need to beable to retrieve this from the TreeItem. strSatisfierName[in] SatisfierName of the Presentation element. HRESULT



findOrCreateElement
protected Element findOrCreateElement(Node parentNode, String strNodeName, String strAttributeName, String strAttributeValue)(Code)
Looks for a child node on the parent. Returns found node or newly created node. parentNode[in] Node where search will start from. childElement[in,out] The found or newly created node. strNodeName[in] Node Name strAttributeName[in] Attribute name ( if null, will match on first selected node eq to node name. strAttributeValue[in] Attribute Value, used in conjunction with non null attribute name. void



getAddIns
public IRequirementsProvider[] getAddIns()(Code)
Retrieves all of the reqistered requirements IAddIn instances



getAddinsFromRegistry
protected IRequirementsProvider[] getAddinsFromRegistry(String path)(Code)
The registry information that is retrieved from layer files to build the list of design center addins supported by this node.
Parameters:
  path - The registry path that is used for the lookup. The list of addins in the path. null will be used if whenseperators can be placed.



getConfigDir
protected String getConfigDir()(Code)



getReqProxyDoc
protected boolean getReqProxyDoc()(Code)
Gets or creates the .RequirementSources.etrp proxy file *bFileLoaded[out] Returns true if the RequirementSources.etrp file is loaded. void



getReqSourcesDoc
protected boolean getReqSourcesDoc()(Code)
Creates an XML element for the passed in IAddInDescriptor and writes it to the RequirementSources.etd file. *bFileLoaded[out] Returns true if the RequirementSources.etd file is loaded. void



getReqSourcesFile
protected String getReqSourcesFile()(Code)
Returns the path and file name for the RequirementSources.etd file, which contains data for the available requirement provider addins. String Location the RequirementsSources.etd file.



getRequirementsProvider
public IRequirementsProvider getRequirementsProvider(String sProgID)(Code)
The requirements manager knows about the requirements addins. This routine retrieves a particular addin based on the prog id passed in. sProgID[in] The prog id of the addin to get pAddIn[out] The found add in HRESULT



getSource
public IRequirementSource getSource(String strRequirementSourceID)(Code)
Given a RequirementSourceID, read the etd file and return the RequirementSource.
Parameters:
  strRequirementSourceID - RequirementSource Identifier RequirementSource



initialize
public void initialize()(Code)
Initialize the requirements manager. The layer file repository will be searched for all registered requiremennts addins. HRESULT



initializeReqSourcesDoc
protected void initializeReqSourcesDoc(Document document)(Code)
Creates the initial elements for a RequirementSources.etd document. *document[in] XML Document to initialize. void



processProxy
public void processProxy(IRequirement requirement, ISatisfier satisfier)(Code)
Callback from ReqProxyManager when a Requirement(s) has been dropped on a presentation element. Creates nodes as needed.
Parameters:
  requirement - The requirement.
Parameters:
  satisfier - The requirements satisfier.



processSource
public void processSource(IRequirementSource requirementSource) throws RequirementsException(Code)
Callback from ReqProxyManager, when the "Display Sources" button is pressed on the Requirements Provider Dialog. The ReqProviderDialogImpl is in the RequirementsFramework project. See RequirementsManagerImpl::PopulateTreeItem for how the dialog is created and this requirements manager is set to recieve callbacks from the dialog. desc[in] RequirementSource for the addin selected in the Requirements Provider dialog. HRESULT



saveReqSourcesDoc
protected void saveReqSourcesDoc()(Code)
Saves the RequirementSources.etd document to disk. void



updateProxyFileLocation
protected void updateProxyFileLocation(String strRequirementSourceID)(Code)
Updates the location of the proxy file in the RequirementSources.etd document *bFileLoaded[out] Returns true if the RequirementSources.etrp file is loaded. void



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.