Creating Projects

See Also

The New Project wizard guides you through the first step of creating a UML model, which is to create a UML project. Before you start, you should decide which approach you will use to create the UML project. For more information about your options, see About Projects.

Creating a platform-independent UML project:

In a platform-independent UML project, only UML modeling (platform/language-agnostic) rules are applied to the model and elements that you create in your project. Source code can not be generated and platform/language-related rules are not applied. .

To create a platform-independent UML project:

  1. Choose File > New Project.
    The New Project wizard opens.
  2. In the Categories pane, select UML.
  3. In the Projects pane, select Platform-Independent Model and click Next.
  4. In the Name and Location page of the wizard, name the project and specify the location for its files.
  5. Click Finish.
    The New Diagram Wizard opens so that you can create the first diagram in your UML project. The Projects window contains a new UML project node for your project.

Creating a Java platform UML project:

In a Java platform-dependent modeling project, Java platform/language rules are applied to the model and elements that you create in your UML project.

To create a Java platform UML project:

  1. Choose File > New Project.
    The New Project wizard opens.
  2. In the Categories pane, select UML.
  3. In the Projects pane, select Java-Platform Model and click Next.
  4. In the Name and Location page of the wizard, name the project and specify the location for its files.
  5. To finish creating your UML project, click Finish.
    The New Diagram Wizard opens so that you can create the first diagram in your UML project. The Projects window contains a new UML project node for your project.

Creating a Java platform UML project by reverse engineering a Java project:

Use the following steps to create a Java platform modeling project that is populated with elements that are reverse-engineered from an existing Java project.

  1. Open the Java project that you want to reverse engineer.
  2. Choose File > New Project.
    The New Project wizard opens.
  3. In the Categories pane, select UML.
  4. In the Projects pane, select Reverse-Engineered Java-Platform Model and click Next.
  5. In the Name and Location page of the wizard, name the project and specify the location for its files.
  6. Choose the Java project from the drop-down list of open Java projects.
    Notice that the Reverse Engineer checkboxes are selected. If you do not want to include a package in the reverse-engineering projects, unselect its checkbox. You must select at least one.
  7. Click Finish to complete the creation of your UML project.
    The Projects window contains a new UML project node for your Java project.
See Also
Creating Diagrams
Working With Projects
Deleting Projects
About Projects
About Java Code Reverse Engineering
 
Projects Window
Setting the Main Project

Legal Notices