Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Cut Copy Paste
Cut Copy Paste [message #481166] Wed, 19 August 2009 21:46 Go to next message
Gary Leask is currently offline Gary LeaskFriend
Messages: 28
Registered: July 2009
Junior Member
In a diagram when selecting an element, doing a right click presents a
menu. What enables the cut, copy, paste options why would they be disabled?

We previously were able to use this menu and now they are always disabled.

Where can we look to see what is different?

Gary
Re: Cut Copy Paste [message #481174 is a reply to message #481166] Wed, 19 August 2009 23:44 Go to previous message
Eclipse UserFriend
Originally posted by: johan.harjono.utoronto.ca

Hi Gary,

You might want to take a look at the GlobalActionHandlerProvider and
ImageSupportGlobalActionHandler.

Before returning commands that does the actual cut/copy/paste, the
global action handler classes above checked whether those operations are
valid through methods such as canCut(), canCopy() etc.

hope that helps,
Johan

Gary Leask wrote:
> In a diagram when selecting an element, doing a right click presents a
> menu. What enables the cut, copy, paste options why would they be disabled?
>
> We previously were able to use this menu and now they are always disabled.
>
> Where can we look to see what is different?
>
> Gary
Previous Topic:java.lang.OutOfMemoryError: PermGen space
Next Topic:how to gmf editor image if the gmf editor is closed!
Goto Forum:
  


Current Time: Sat Apr 27 02:35:28 GMT 2024

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

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

Back to the top