private void displayTask(final Context context, final Page page, final Task task) {
page.setTitle(task.getName());
final ViewPane content = page.getViewPane();
final ObjectAdapter targetAdapter = task.getTarget(context);
String titleString = targetAdapter.titleString();
if (targetAdapter.isTransient()) {
titleString += " (Unsaved)";
}
content.setTitle(titleString, targetAdapter.getSpecification().getDescription());
String iconName = targetAdapter.getIconName();