|Re: Some Editing properties!!! [message #181099 is a reply to message #181077]
||Thu, 12 May 2005 13:22
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.
Nitin Gautam wrote:
> 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.
Powered by FUDForum
. Page generated in 4.58096 seconds