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 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
Previous Topic:ActionFactory.Copy/Delete/Select All/Find problem
Next Topic:How make infocenter use pre-built plugin indexes?
Goto Forum:
  


Current Time: Tue Sep 23 08:37:18 GMT 2014

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

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