ActionCallback () { if (myView != null) { return ActionCallback.DONE; } ActionCallback callback = new ActionCallback(); ApplicationManager.getApplication().invokeLater(() -> { if (getCurrentScope() == null) { callback.setDone(); return; } InspectionResultsView view = getView(); if (view == null) { view = new InspectionResultsView(this, new InspectionRVContentProviderImpl()); addView(view); } callback.setDone(); }); return callback; }