*/
protected IClass [] getClasses(Collection list){
Set<IClass> c = new LinkedHashSet<IClass>();
for(Object o: list){
if(o instanceof RDFSClass){
RDFSClass cls = (RDFSClass)o;
//System.out.println("get class "+cls.getBrowserText()+" "+cls.getClass().getName());
if(!cls.isSystem() || cls.equals(cls.getOWLModel().getOWLThingClass())){
c.add(new PClass(cls,getOntology()));
}
}
}
return (IClass []) c.toArray(new IClass [0]);