-
- // Find the application context of the bundle defining the command
- // extension
- // ICommandService commandService =
- // (ICommandService)ArgeoUiPlugin.getDefault().getWorkbench().getService(ICommandService.class);
- //
- // Command command =
- // commandService.getCommand(event.getCommand().getId());
- // log.debug("command=" + command);
- // log.debug("Command id " + command.getId());
- //
- // Platform.getExtensionRegistry().getE
- //
- // IExtension extension =
- // Platform.getExtensionRegistry().getExtension(
- // "org.eclipse.ui.commands", command.getId());
- // log.debug("extension=" + extension);
- // String bundleSymbolicName = extension.getContributor().getName();
-
- // Assume that the defining bundle name is the first part of the
- // command
- // id