ActionFactory.Copy/Delete/Select All/Find problem [message #614384] |
Wed, 21 May 2008 15:38 |
Eclipse User |
|
|
|
Originally posted by: hiteshn.mail.gmail.com
Hi All,
I'm using Eclipse 3.3.2, Windows XP and building RCP application in which I
write the following snippet:
copyAction = ActionFactory.COPY.create(window);
register(copyAction);
deleteAction = ActionFactory.DELETE.create(window);
register(deleteAction);
selectAllAction = ActionFactory.SELECT_ALL.create(window);
register(selectAllAction);
findAction = ActionFactory.FIND.create(window);
register(findAction);
The above actions never get enabled even if there is an editor opened though
the general shortcuts of these work. (Cntrl+C for copy, Delete key for
Delete)
I'm also using actions like:
closeAction = ActionFactory.CLOSE.create(window);
register(closeAction);
and this action works fine both in terms of enabling/disabling and
functionality. Can anyone please tell me why is it a problem in getting
Copy/Delete/Select All/Find enabled/disabled?
Thanks,
Hitesh
|
|
|
Powered by
FUDForum. Page generated in 0.03078 seconds