Skip to main content


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 08:59 Go to next message
David CHAUTARD is currently offline David CHAUTARDFriend
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 13:26 Go to previous messageGo to next message
Eclipse UserFriend
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 13:45 Go to previous messageGo to next message
David CHAUTARD is currently offline David CHAUTARDFriend
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 08:39 Go to previous message
David CHAUTARD is currently offline David CHAUTARDFriend
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 Apr 18 07:40:15 GMT 2024

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

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

Back to the top