Using same class for different actions [message #464857] |
Fri, 16 March 2007 07:03  |
Eclipse User |
|
|
|
I'm using the 'org.eclipse.ui.actionSets' extension point to add a submenu
under 'Help' containing documents.
The menu creation part is working fine. I tested the action for one menu
(ReleaseNotes.pdf) - which works.
For this, I have a class and implement the run() method to open the correct
document.
The remaining list of actions are all going to be for opening some other
document.
I want to use the same class above, and just change the document name based
on the action selected.
Is it possible to do so?
I saw the selectionChanged() method, but don't understand how I can use it
for this purpose.
I'd appreciate any pointers.
Thanks!
Delicia.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03918 seconds