marco objects [message #207336] |
Fri, 13 January 2006 18:42 |
Eclipse User |
|
|
|
Originally posted by: harsh.ti.com
All,
I think this has been answered before but I can't seem to find it in the
archives. For complex applications, my editor can contain in excess of 50
different edit parts. So you can only imagine how mess it must look. I
want to "group" edit part into macro objects in order to simplify the
editor. Here is what I know so far...
1. One way I think I can achieve this is through a CompoundCommand to
notify the model here is a list of objects that need to be grouped and
treated as one. The drawback of this is currently, my model doesn't
support this and I think this is a bit of work due to some limitations in
our model.
2. After the user highlights the group of objects, I was thinking of
creating a parent figure, then querying for all containing figures and
make them children of the parent. Upon a refresh, simply show the parent
and hide the children somehow =).
I have attached a diagram of what I would ideally like to achieve.
Thank you all in advance,
Harsh
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03108 seconds