new to gmf [message #184822] |
Wed, 30 April 2008 11:54 |
Eclipse User |
|
|
|
Originally posted by: lishan.cs.york.ac.uk
Hi,
I am using gmf to create a modelling tool. The tool will draw nodes within
nodes to any level. They represent states within a statechart. The states
are drawn as boxes either with a solid line border or a dashed line
border. States have a field called parallel which is a boolean. If
parallel is true for a state then all of the states placed within it
should be drawn with a dashed border alternatively they should be drawn
with a solid border. I don't know how to implement this. at the moment
states have a single figure descriptor for drawing rectangles with solid
line borders. Do i have to create 2 figure descriptors for states, one for
drawing rectangles with a solid line border and one for drawing rectangles
with a dashed line border ? And then how do I force the correct one to be
used depending on the value of the field parallel in the parent state.
Thanks
Lishan
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03450 seconds