public void initialiseView() throws Exception {
   list =
       new OWLFrameList<OWLObjectProperty>(
           getOWLEditorKit(), new OWLObjectPropertyDomainsAndRangesFrame(getOWLEditorKit()));
   setLayout(new BorderLayout());
   add(new JScrollPane(list));
   list.addToPopupMenu(new CreateNewEquivalentClassAction<OWLObjectProperty>());
 }
 public boolean setEditedObject(OWLAnonymousIndividual object) {
   if (object == null) {
     String id = "genid-" + UUID.randomUUID().toString();
     final OWLOntologyID ontologyID =
         editorKit.getModelManager().getActiveOntology().getOntologyID();
     if (!ontologyID.isAnonymous()) {
       id = ontologyID.getOntologyIRI().get() + "#" + id;
     }
     object = editorKit.getModelManager().getOWLDataFactory().getOWLAnonymousIndividual(id);
   }
   frameList.setRootObject(object);
   mainComponent.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
   annotationValueLabel.setIcon(OWLIcons.getIcon("individual.png"));
   annotationValueLabel.setText(editorKit.getModelManager().getRendering(object));
   return true;
 }
 public void disposeView() {
   list.dispose();
 }
 protected OWLAnnotationProperty updateView(OWLAnnotationProperty property) {
   list.setRootObject(property);
   return property;
 }
 @Nullable
 public OWLAnonymousIndividual getEditedObject() {
   return frameList.getRootObject();
 }
 public void dispose() {
   frameList.dispose();
 }
 public void disposeView() {
   super.disposeView();
   list.dispose();
 }
 protected OWLDataProperty updateView(OWLDataProperty property) {
   list.setRootObject(property);
   return property;
 }