if(ed.getApplicationBundle().getStatus() != ExtensionBundleStatus.ACTIVATED) {
log.warn("Found shortcut with an application ID '" + applicationShortcut.getApplication()
+ "' that uses an application contained in an extension bundle that is not activated (its status is '" + ed.getApplicationBundle().getStatus().getName() + "'). Ignoring.");
}
else {
ApplicationShortcutItem item = new ApplicationShortcutItem(ed, applicationShortcut, policies, session
.getNavigationContext(), applicationShortcut.sessionPasswordRequired(session));
item.setFavoriteType(getFavoriteType(applicationShortcut.getResourceId()));
getModel().addItem(item);
}
}
}
checkSort();