Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » ActionFactory.Copy/Delete/Select All/Find problem
ActionFactory.Copy/Delete/Select All/Find problem [message #614384] Wed, 21 May 2008 15:38
Eclipse UserFriend
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
Previous Topic:couple of help related prolems - urgent
Next Topic:How make infocenter use pre-built plugin indexes?
Goto Forum:
  


Current Time: Thu Apr 25 20:32:12 GMT 2024

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

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

Back to the top