Fix to get AIM to work

This commit is contained in:
Eugene Livis 2015-06-08 16:36:08 -04:00
parent 6affa596c0
commit 5911c0911b
2 changed files with 4 additions and 2 deletions

View File

@ -561,7 +561,9 @@ public final class DirectoryTreeTopComponent extends TopComponent implements Dat
}
} // if the image is added to the case
else if (changed.equals(Case.Events.DATA_SOURCE_ADDED.toString())) {
if (IngestManager.getInstance().isRunningInteractively()) {
CoreComponentControl.openCoreWindows();
}
SwingUtilities.invokeLater(this::componentOpened);
} // change in node selection
else if (changed.equals(ExplorerManager.PROP_SELECTED_NODES)) {

View File

@ -342,7 +342,7 @@ public class IngestManager {
* ingest message box, NetBeans progress handles, etc. Running interactively
* is the default.
*/
synchronized boolean isRunningInteractively() {
public synchronized boolean isRunningInteractively() {
return this.runInteractively;
}