Calling Command from Code in Kepler (4.3) [message #1121377] |
Mon, 30 September 2013 11:03  |
Eclipse User |
|
|
|
Hi,
I'm using an AWTtoSWT bridge because I have to use a 3rd party Swing component. This component shows a JPopUpMenu that contains several Actions. Now I need to call a Command within one of these Actions. But how? I'm stuck at this point. The Code of the Swing Action looks like this one:
public static class ShowDetailsAction extends AbstractAction {
@Override
public void actionPerformed(ActionEvent e) {
// call Command at this point
}
}
Hope someone knows an easy solution, because I found only the ICommandService for Eclipse 3.7 that's not existing anymore as it seems.
Kind regards
Johannes
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.32095 seconds