private void selectTarget() { final TargetChooserDialog dialog = new TargetChooserDialog(myContext.getProject(), myTarget); if (dialog.showAndGet()) { myTarget = dialog.getSelectedTarget(); updatePanel(); } }
private void selectTarget() { final TargetChooserDialog dialog = new TargetChooserDialog(myContext.getProject(), myTarget); dialog.show(); if (dialog.isOK()) { myTarget = dialog.getSelectedTarget(); updatePanel(); } }