Protege 4.1.0

org.protege.editor.owl.ui.frame
Class OWLGeneralClassAxiomsFrameSection

java.lang.Object
  extended by org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter
      extended by org.protege.editor.owl.ui.frame.AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>
          extended by org.protege.editor.owl.ui.frame.OWLGeneralClassAxiomsFrameSection
All Implemented Interfaces:
MListSectionHeader, OWLObjectEditorHandler<org.semanticweb.owlapi.model.OWLClassAxiom>, OWLFrameObject<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>, OWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>, org.semanticweb.owlapi.model.OWLAnnotationAxiomVisitor, org.semanticweb.owlapi.model.OWLAxiomVisitor

public class OWLGeneralClassAxiomsFrameSection
extends AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 23-Apr-2007


Field Summary
 
Fields inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
LOGGER
 
Constructor Summary
OWLGeneralClassAxiomsFrameSection(OWLEditorKit editorKit, OWLFrame<? extends org.semanticweb.owlapi.model.OWLOntology> frame)
           
 
Method Summary
protected  void clear()
           
protected  org.semanticweb.owlapi.model.OWLClassAxiom createAxiom(org.semanticweb.owlapi.model.OWLClassAxiom object)
           
 OWLObjectEditor<org.semanticweb.owlapi.model.OWLClassAxiom> getObjectEditor()
           
 Comparator<OWLFrameSectionRow<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>> getRowComparator()
          Obtains a comparator which can be used to sort the rows in this section.
 void handleEditingFinished(Set<org.semanticweb.owlapi.model.OWLClassAxiom> editedObjects)
           
protected  void refill(org.semanticweb.owlapi.model.OWLOntology ontology)
          Refills the section with rows.
 void visit(org.semanticweb.owlapi.model.OWLDisjointClassesAxiom axiom)
           
 void visit(org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom axiom)
           
 void visit(org.semanticweb.owlapi.model.OWLSubClassOfAxiom axiom)
           
 
Methods inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
addRow, canAcceptDrop, canAdd, checkEditorResults, dispose, disposeOfSection, dropObjects, getAdditionalButtons, getAxioms, getCurrentReasoner, getEditor, getFrame, getLabel, getName, getOntologies, getOWLDataFactory, getOWLEditorKit, getOWLModelManager, getOWLOntologyManager, getReasoner, getRendering, getRootObject, getRowIndex, getRowLabel, getRows, handleChanges, refillInferred, reset, setCacheEditor, setLabel, setRootObject, toString
 
Methods inherited from class org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OWLGeneralClassAxiomsFrameSection

public OWLGeneralClassAxiomsFrameSection(OWLEditorKit editorKit,
                                         OWLFrame<? extends org.semanticweb.owlapi.model.OWLOntology> frame)
Method Detail

createAxiom

protected org.semanticweb.owlapi.model.OWLClassAxiom createAxiom(org.semanticweb.owlapi.model.OWLClassAxiom object)
Specified by:
createAxiom in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

getObjectEditor

public OWLObjectEditor<org.semanticweb.owlapi.model.OWLClassAxiom> getObjectEditor()
Specified by:
getObjectEditor in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

handleEditingFinished

public void handleEditingFinished(Set<org.semanticweb.owlapi.model.OWLClassAxiom> editedObjects)
Specified by:
handleEditingFinished in interface OWLObjectEditorHandler<org.semanticweb.owlapi.model.OWLClassAxiom>
Overrides:
handleEditingFinished in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

refill

protected void refill(org.semanticweb.owlapi.model.OWLOntology ontology)
Description copied from class: AbstractOWLFrameSection
Refills the section with rows. This method will be called by the system and should be directly called. The method will never be called if the root object is null

Specified by:
refill in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

clear

protected void clear()
Specified by:
clear in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>

getRowComparator

public Comparator<OWLFrameSectionRow<org.semanticweb.owlapi.model.OWLOntology,org.semanticweb.owlapi.model.OWLClassAxiom,org.semanticweb.owlapi.model.OWLClassAxiom>> getRowComparator()
Description copied from interface: OWLFrameSection
Obtains a comparator which can be used to sort the rows in this section.

Returns:
A comparator if to sort the rows in this section, or null if the rows shouldn't be sorted.

visit

public void visit(org.semanticweb.owlapi.model.OWLSubClassOfAxiom axiom)
Specified by:
visit in interface org.semanticweb.owlapi.model.OWLAxiomVisitor
Overrides:
visit in class org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter

visit

public void visit(org.semanticweb.owlapi.model.OWLDisjointClassesAxiom axiom)
Specified by:
visit in interface org.semanticweb.owlapi.model.OWLAxiomVisitor
Overrides:
visit in class org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter

visit

public void visit(org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom axiom)
Specified by:
visit in interface org.semanticweb.owlapi.model.OWLAxiomVisitor
Overrides:
visit in class org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research