Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » window.getSelectionService().getSelection() returns NULL
window.getSelectionService().getSelection() returns NULL [message #447698] Thu, 13 April 2006 10:12
Tom is currently offline TomFriend
Messages: 22
Registered: July 2009
Junior Member
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: Tue Nov 05 06:48:18 GMT 2024

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

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

Back to the top