Skip to content

Commit

Permalink
Reduce interaction temporary by skipping specimen
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Dec 23, 2023
1 parent 41d4db7 commit 4984d66
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,10 @@ public void run() {
* @param omitPool whether to omit the pool when wrapping the object for creation
*/
public JSONObject askToChooseObject(JSONArray foundObjects, String name, String objectType, String mask, JSONObject inner, boolean omitPool) throws SkipSpecimenException, IOException, InterruptedException, InvocationTargetException {
if (this.interactive == false) {
throw new SkipSpecimenException();
}

final int[] choice = new int[1];
final JSONObject[] selection = new JSONObject[1];
SwingUtilities.invokeAndWait(new Runnable() {
Expand Down

0 comments on commit 4984d66

Please sign in to comment.