textuml

TextUML Toolkit Documentation - Back to main page Fork me on GitHub

#Features

Since 2.1

New textual notation features

New diagram rendering features

Since 1.9

New textual notation features

Instead of:

derived attribute employeeCount : Integer := ():Integer { return self->employees.size(); }; 

use:

derived attribute employeeCount : Integer := { self->employees.size() }; 

The same syntax can be used for assigning a default value for a non-derived attribute:

attribute employeeStartDate : Date := { Date#today() };

Since 1.8

New textual notation features

Since 1.7

Auto-format on save

Now, the TextUML Toolkit can auto-reformat your source files as you save them. You can turn on this new feature on the new TextUML preference page.

Outline options

Now you can control what the editor outline shows: operations, attributes, classes, data types, associations etc (contributed by Attila Bak - see demo).

New textual notation features

stereotype myParamStereotype extends uml::Parameter end;

operation op1([myParamStereotype] param1 : Real);

Since 1.6

New textual notation features

operation withdraw(amount : Real);
precondition { amount > 0 and amount < self.balance; }
begin
    self.balance := self.balance - amount;  
end;
(...)

reference employees : Employee[*]

/* calculated field */
derived attribute employeeCount : Integer := ():Integer { return self->employees.size(); }; 

(...)
attribute available : Boolean := true;

Since 1.5

Content assist

There is now (very) early support for content assist (contributed by Attila Bak), with initial support for stereotype applications.

Element aliasing

You can now enable aliasing by creating repository properties in the form:

mdd.aliases.<source-qualified-name>=<target-qualified-name>

For instance:

mdd.aliases.base\:\:Real=mypackage\:\:MyReal

New textual notation features

There is now textual notation support for decimal literals.

Since 1.4

New textual notation features

Notation support for applying stereotypes to generalizations and realizations.

Since 1.3

Integration with diagramming tools

Stable ids allow external diagrams to remain valid as the Toolkit regenerates a UML model

New textual notation features

There is now textual notation support for:

Compatibility with both Eclipse 3.4 (Ganymede) and 3.5 (Galileo)

A lot of effort was put into making the TextUML Toolkit compatible with both last year’s and this year’s versions of Eclipse. Please see Install Instructions for instructions on what update site to use for your Eclipse version.

Since 1.2

New textual notation features

There is now textual notation support for:

Cross-project references

Share models across projects using the “Project References” tab in the Project Properties dialog.

Since 1.1

More control on how diagrams are rendered

The UML layout preference page (Window > Preferences… > Graphviz > UML) allows you to control whether structural feature compartments should be shown and whether to show related elements across packages.

Export diagram as images

You can now save a rendered UML diagram as a JPG or PNG file. Look for the new action on the Image Viewer. This is an example of an image file exported.

New textual notation features

There is now textual notation support for:

Since 1.0

Automatic compilation

When you save a TextUML source file, your source code is automatically validated and the corresponding UML model is generated. In case of errors, problem markers describe any errors that might have occurred.

Textual browsing

Double-click any Eclipse UML2 compatible UML model (including those generated by the TextUML Toolkit) and browse it using the TextUML notation.

Use models created by other tools

You can use any Eclipse UML2 compatible UML model in your TextUML source. Just drop them at the root of the project and they will instantly become available to your models created with the TextUML Toolkit.

Graphical browsing

The Image Viewer (Window > Show view > Other… > EclipseGraphviz > Image Viewer) shows a bird’s-eye view of the model you are currently editing using the graphical notation. You can also just select a UML file and it will be automatically rendered on the Image Viewer. Use the UML layout preference page (Window > Preferences… > Graphviz > UML) gives you some control on the layout of class diagrams.

Source formatter

Hit Ctrl-Shift-F in the TextUML editor and your source is automatically formatted. Currently there are no preferences for customizing the formatter.

And more

See also