Re: Re: UML state cluster

At Sun, 05 Apr 2009 00:17:40 +0200, Hans Breuer wrote:
There is a bit too much copy&paste in it for my taste

I wonder if it wouldn't be more feasible to modify UM/state.c to optionally
act as a cluster. Wouldn't this be just some extra code in state_move_handle
and state_draw ?
This line of state.c
        message_warning(_("This diagram uses the State object for initial/final states.\nThat option will go 
away in future versions.\nPlease use the Initial/Final State object instead\n"));
led me to believe that new object types are preferred over properties which disciminate between different 
variants of a single object type.
Otoh, states and state clusters seem to have more in common than states and terminal states (which have no 
attached actions).

Should I change it?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]