private JPopupMenu createRootPopup() {
if (type != null) {
if (rootFolder != null) {
activeObjectHelper.notifyListeners(rootFolder);
PopupMenuManager mgr = owner.view.getPopupMenuManager();
return mgr.getPopupMenu(PopupMenuSites.TREE, Arrays.asList(rootFolder));
}
} else {
KongaPopupMenu popup = new KongaPopupMenu();
Action openConnect = Application.getBean(OpenJitterbitConnectConsoleAction.ID, Action.class);
popup.add(openConnect);