Standard and Atomic Data Types
Besides classes and interfaces, UMLBoard also supports more simple or atomic datatypes. These types serve as types for properties or method parameters. They can express more basic domain concepts, i.e., Value Types, and language-specific types like String or int.
Creating new Types
While some basic standard types are already predefined, you can always add new custom types by entering a new type name in a member's combobox edit field (see the Property Editing section) for more details.
Editing Existing Types
To edit an existing datatype, either click on the Edit link in the Type combobox (when editing the type of a member), or press Cmd/Ctrl + T.
Pressing Tab lets you navigate through the types one by one, while pressing Enter will confirm all your changes and close the dialog. Pressing Esc (or clicking outside of the dialog) will cancel the dialog and revert all your changes.
Deleting an existing type can be achieved by either clicking on the delete link in the combobox, or by opening the type-edit dialog (see above) and click the delete icon for every type you want to delete.
Editing/Deleting is not restricted to your custom types, you can also edit the system's standard types and delete (most of) them. There are, however three types that cannot be deleted as they have a special purpose:
- any is the default type used when creating new mehod parameters.
- string is the default type for properties.
- void is the predefined method return type.
While you cannot remove these three types, you're free to rename them.