}
}
private void updateTitle() {
final ProcessDefinitionRef ref = getActiveDefinition();
String name = selectedGroup; // riftsaw name juggling
String subtitle = "";
if(selectedGroup.indexOf("}")!=-1)
{
String[] qname = selectedGroup.split("}");
name = qname[1];
subtitle = qname[0].substring(1, qname[0].length());
}
String nameAndSubtitle = name + "<br/><div style='color:#C8C8C8;font-size:12px;text-align:left;'>" + subtitle + "</div>";
StringBuffer sb = new StringBuffer("<p/><div style='font-size:12px;text-align:left;'>Version: ");
String state = ref.isSuspended() ? "suspended" : "active";
sb.append(ref.getVersion()).append(" (").append(state).append(")");
sb.append("</div>");
title.setHTML(nameAndSubtitle+sb.toString());
}