Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Custom Figures & Two Figures for one EditPart
Custom Figures & Two Figures for one EditPart [message #606528] Sun, 03 February 2008 23:10
Eclipse User
Originally posted by: ogucuk.gmail.com

Hello all,

we have an EMF Model element "state" which is shown in our generated GMF
editor as a "node"

Now we want to implement a collapse/expand feature for this editor. So
we let the user select some nodes (stated), right-click on a button
'Collapse Selected Items' and we delete the selected figures.

After that we want to show a custom figure representing all deleted
nodes. So this custom figure is just another view for our model element
"state"

The user then should be able to click on that custom figure and
right-click on 'Expand' and the deleted nodes should come back again.
But we have not come so far because we even cannot assign this custom
figure to our StateEditPart. It seem there must be exactly one Figure
for one EditPart.

Is that true? How can we implement this "temporary custom figures" to
represent the collapsed element on our editor?


Every help will be greatly appreciated

Thanks in advance

Meryem
Previous Topic:Modeling tools
Next Topic:Modeling tools
Goto Forum:
  


Current Time: Thu Oct 02 00:37:00 GMT 2014

Powered by FUDForum. Page generated in 0.06187 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software