if (entity == null || isEntitySubjectOfChange(entity, info)) {
sb.append("<div style=\"overflow: hidden;\">");
String ren = changeRecord.getData().accept(new OWLOntologyChangeDataVisitor<String, RuntimeException>() {
public String visit(AddAxiomData addAxiom) {
final RenderingManager rm = project.getRenderingManager();
return "<b>Added: </b> " + rm.getBrowserText(addAxiom.getAxiom());
}
public String visit(RemoveAxiomData removeAxiom) {
final RenderingManager rm = project.getRenderingManager();
return new StringBuilder().append("<b>Removed: </b> ").append(rm.getBrowserText(removeAxiom.getAxiom())).toString();
}
public String visit(SetOntologyIDData setOntologyID) {
return new StringBuilder().append("Changed ontology id from ").append(changeRecord.getOntologyID()).append(" to ").append(setOntologyID.getNewId()).toString();
}