November 28, 2008

Feature: data types

Filed under: Eclipse, TextUML Toolkit, UML, v1.2 — rafael.chaves @ 1:09 am

Just checked in a new feature in the TextUML Toolkit: support for data types (a.k.a. structs). This is an example of a data type declaration:

datatype UserName
  attribute firstName : String;
  attribute lastName : String;
end;

You can declare operations and specialize other classifiers as usual.

Change set

Here are the individual changes per plug-in (r177-r186):

There, nice and easy. Well, actually, I ended up doing a second commit because I forgot to ensure a data type specializes only other data types. But now that has been taken care of.

As usual, suggestions of UML features to support in the TextUML Toolkit are most welcome.

2 Comments »

  1. [...] data types [...]

    Pingback by TextUML Toolkit 1.2 M2 is now available | abstratt: news from the front — December 15, 2008 @ 3:36 am

  2. [...] data types (a.k.a. structs) [...]

    Pingback by TextUML Toolkit 1.2 RC0 / M3 is now available | abstratt: news from the front — January 25, 2009 @ 8:28 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Copyright Abstratt Technologies - Powered by WordPress - Entries (RSS) - Comments (RSS)