1) Added code for testing if an individual is an organization in IndividualTemplateModel.java

2) Couple of changes to the css of table in Temporal graph. -- in demo_table.css
3) Added section for temporal graph icon in individual.ftl
This commit is contained in:
bkoniden 2011-01-03 22:49:51 +00:00
parent 675adfab19
commit 4dac98f9c0
3 changed files with 70 additions and 29 deletions

View file

@ -79,6 +79,10 @@ public class IndividualTemplateModel extends BaseTemplateModel {
return individual.isVClass("http://xmlns.com/foaf/0.1/Person");
}
public boolean isOrganization() {
return individual.isVClass("http://xmlns.com/foaf/0.1/Organization");
}
public String getSearchView() {
return getView(ClassView.SEARCH);
}