mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 19:25:38 +02:00
API change in AbstractHandler.
This commit is contained in:
parent
1318ab37dd
commit
2cac1ea941
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class OpenDisassemblyHandler extends AbstractHandler {
|
|||
* @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
|
||||
*/
|
||||
public Object execute( ExecutionEvent event ) throws ExecutionException {
|
||||
ISelection s = HandlerUtil.getActiveMenuSelection( event );
|
||||
ISelection s = HandlerUtil.getCurrentSelection( event );
|
||||
if ( s instanceof IStructuredSelection ) {
|
||||
Object element = ((IStructuredSelection)s).getFirstElement();
|
||||
IWorkbenchSite site = HandlerUtil.getActiveSite( event );
|
||||
|
|
Loading…
Add table
Reference in a new issue