}
private void listServices(final Context context, final Block navigationBar) {
final Block taskBar = context.getComponentFactory().createBlock("services", null);
taskBar.add(context.getComponentFactory().createHeading("Services"));
final AdapterManager adapterManager = IsisContext.getPersistenceSession().getAdapterManager();
final List<Object> services = getUserProfile().getPerspective().getServices();
for (final Object service : services) {
final ObjectAdapter serviceAdapter = adapterManager.adapterFor(service);
if (serviceAdapter == null) {
LOG.warn("unable to find service Id: " + service + "; skipping");
continue;
}
if (isHidden(serviceAdapter)) {