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