Method Summary |
|
protected void | addReqSourceToDoc(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 Element | convertReqSourceToXMLElement(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 void | convertXMLElementToReqSource(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 void | deleteProxy(IRequirement requirement, ISatisfier satisfier) Callback from ReqProxyManager when a Requirement(s) has been dropped on a presentation
element. |
protected Element | findOrCreateElement(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 String | getConfigDir() |
protected boolean | getReqProxyDoc() Gets or creates the .RequirementSources.etrp proxy file
*bFileLoaded[out] Returns true if the RequirementSources.etrp file is loaded. |
protected boolean | getReqSourcesDoc() 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 String | getReqSourcesFile() Returns the path and file name for the RequirementSources.etd file,
which contains data for the available requirement provider addins. |
public IRequirementsProvider | getRequirementsProvider(String sProgID) The requirements manager knows about the requirements addins. |
public IRequirementSource | getSource(String strRequirementSourceID) Given a RequirementSourceID, read the etd file and return the
RequirementSource. |
public void | initialize() Initialize the requirements manager. |
protected void | initializeReqSourcesDoc(Document document) Creates the initial elements for a RequirementSources.etd document.
*document[in] XML Document to initialize. |
public void | processProxy(IRequirement requirement, ISatisfier satisfier) Callback from ReqProxyManager when a Requirement(s) has been dropped on a
presentation element. |
public void | processSource(IRequirementSource requirementSource) Callback from ReqProxyManager, when the "Display Sources" button is pressed
on the Requirements Provider Dialog. |
protected void | saveReqSourcesDoc() Saves the RequirementSources.etd document to disk. |
protected void | updateProxyFileLocation(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. |