Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Some Editing properties!!!
Some Editing properties!!! [message #181077] Thu, 12 May 2005 04:18 Go to next message
Eclipse UserFriend
Originally posted by: gautamn.iitk.ac.in

Hi,
I am making a GEF based diagram editor. How can I introduce some editing
facilities like cut, copy paste a part of diagram in my editor.
Regards,
Nitin.
Re: Some Editing properties!!! [message #181099 is a reply to message #181077] Thu, 12 May 2005 13:22 Go to previous message
Eclipse UserFriend
Originally posted by: gslade.no.spam.us.ibm.com

In general, to create a action you need to create an
org.eclipse.jface.action.Action and register it with the ActionRegistry,
see LogicEditor.createActions() for an example.
Toi have the action appear in a context menu you must register the
action with your editors ContextMenuProvider, see
LogicContextMenuProvider for an example.

There have been various threads in this newsgroup regarding this topic.
You should hunt through and read them as they probably have some hints
and tips regarding specifically implementing the actions you mentioned.

Guy

Nitin Gautam wrote:
> Hi,
> I am making a GEF based diagram editor. How can I introduce some
> editing facilities like cut, copy paste a part of diagram in my editor.
> Regards,
> Nitin.
>
Previous Topic:Paint Figure Option!!!
Next Topic:Support for tabs in GEF
Goto Forum:
  


Current Time: Sun Feb 05 15:40:00 GMT 2023

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

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

Back to the top