18192021222324252627
public class ConfigureScanHandler extends AbstractHandler { @Override public Object execute(ExecutionEvent event) throws ExecutionException { ScanConfigDialog dialog = new ScanConfigDialog(HandlerUtil.getActiveWorkbenchWindow(event).getShell()); dialog.create(); dialog.open(); return null; }