Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » window.getSelectionService().getSelection() returns NULL
window.getSelectionService().getSelection() returns NULL [message #447698] Thu, 13 April 2006 06:12
Eclipse UserFriend
How should we create Actions?

do we extend Action class or implement IViewActionDelegate interface?
Whats basically the difference between them?

I found some examples using one or the other but didn't got the
difference. may be some of them might be old.

I tried by extending the Action class. But when I am trying to retrieve
the selected object by the code
window.getSelectionService().getSelection(), it returns NULL so am not
able to perform any operation.

Waiting for your replies!!

Thanks,
T
Previous Topic:Visibility of file in plug-in to a plug-in it is dependent on?
Next Topic:WorbenchWindow KeyListener
Goto Forum:
  


Current Time: Sat Aug 30 06:37:45 EDT 2025

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

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

Back to the top