Creating "invisible" diagram parts [message #220755] |
Mon, 09 March 2009 09:14 |
Anna Messages: 34 Registered: July 2009 |
Member |
|
|
Hello,
I currently have a class model for my diagram editor that looks like this:
http://farm4.static.flickr.com/3341/3341064422_2f40c22e23_o. gif
Now, I would like to add some elements to it which I need in order to
manipulate my final editor, but they don't need to (shouldn't, actually)
be visible on the canvas. The class model should then look like this (I
might have made mistakes, like using an aggregation when I really should
have been using something else, feel free to correct me on this stuff :P):
http://farm4.static.flickr.com/3586/3341064424_4fbf2d400c_o. gif
As you can see, I've added an indtype-attribute to my Transition, and a
fuid-attribute to my Statechart. These are supposed to be able to be set,
but, like I said, should not be visible in the diagram (like for example
action, indication and event are).
Also, I have added a Data class. This class should contain some
information about data (obviously :)), but it's nothing the user need to
be able to see, so it should not be a graphical element in the editor,
like the other classes (except for Statechart) are.
My question is, how do I regenerate and manipulate the model files in
order to get what I want? Do I have to delete any of the old files, and do
I have to do all the steps all over again? I don't want to mess any of my
old code up, so I feel that the less I have to do, the better...
And, of course, is it possible to have these attributes/objects in my
model and be able to manipulate them, without them being visible in the
editor?
Sincerely,
Anna
|
|
|
|
Powered by
FUDForum. Page generated in 0.03059 seconds