Using an XMLFile
The IDE's UML Modeling feature lets you bring in requirements through an XML file.
The IDE comes with a sample requirement file: Automated Teller Machine.etreq located in the following directory: <NetBeans-install-dir>\uml4\modules\DoorsIntegrationFiles\Samples.
To use an XML file to associate requirements with your UML Modeling elements:
- In the UML Design Center window, right-click a Requirements node and choose Add Requirement Source.
The Requirements Provider dialog box opens.
- In the Requirements Provider dialog box, select XML Requirements Source, and then click Open.
- In the Open Requirements dialog box, navigate to and select the requirements file to associate with a UML Modeling Project.
- Click Open.
The IDE adds a node in the Design Center window under the Requirements node.
You can see the description of each requirement in the Documentation window. These requirements are now available for association with UML Modeling elements.
- To add a requirement, simply drag it onto modeling elements in the Diagram editor.
The IDE adds a Satisfiers node under the requirement, showing the associated element.
- To see the requirement, in the Open Projects, select the element that has the corresponding requirement attached.
If the Requirement node does not appear in the project tree, follow the instructions in Filtering Element Types From the Projects Window to show RequirementArtifact elements.
- Click OK.
Legal Notices