Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Drawing new shape on selection
Drawing new shape on selection [message #240413] Fri, 04 January 2008 03:59 Go to next message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
Hi,
I use GEF in a viewPart to display some elements of my model with shapes.
And I would like to create new other shapes in the view, when I click on
an existing shape. How can I do this?

Thanks,
David.
Re: Drawing new shape on selection [message #240417 is a reply to message #240413] Fri, 04 January 2008 08:26 Go to previous messageGo to next message
Eclipse User
Originally posted by: lifesting.gmail.com

David wrote:
> Hi,
> I use GEF in a viewPart to display some elements of my model with
> shapes. And I would like to create new other shapes in the view, when I
> click on an existing shape. How can I do this?
>
> Thanks,
> David.
Copy/Paste? or create a SelectionAction to capture the selection as the
condition for new shape creation?
Re: Drawing new shape on selection [message #240427 is a reply to message #240417] Fri, 04 January 2008 08:45 Go to previous messageGo to next message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
It is to create a SelectionAction to capture the selection as the
condition for new shape creation. I would like to detail the shape
selected in an other shape, which is create after double-click on the
first shape.
Re: Drawing new shape on selection [message #240597 is a reply to message #240427] Fri, 11 January 2008 03:39 Go to previous message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
Hi,
I think I had tu use an "EditPolicy" to create my action, but I don't know
how to do.
Someone could help me?

Thanks,
David.
Previous Topic:GEF rcp application
Next Topic:changing state of Menu
Goto Forum:
  


Current Time: Thu Aug 28 23:34:24 EDT 2014

Powered by FUDForum. Page generated in 0.01615 seconds