Protege 4.1.0

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

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

public class AxiomListFrameSection
extends AbstractOWLFrameSection<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 19-Dec-2007


Field Summary
 
Fields inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
LOGGER
 
Constructor Summary
AxiomListFrameSection(OWLEditorKit editorKit, OWLFrame<Set<org.semanticweb.owlapi.model.OWLAxiom>> owlFrame)
           
 
Method Summary
 boolean canAdd()
           
protected  void clear()
           
protected  org.semanticweb.owlapi.model.OWLAxiom createAxiom(org.semanticweb.owlapi.model.OWLAxiom object)
           
 OWLObjectEditor<org.semanticweb.owlapi.model.OWLAxiom> getObjectEditor()
           
 Comparator<OWLFrameSectionRow<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>> getRowComparator()
          Obtains a comparator which can be used to sort the rows in this section.
protected  void handleChanges(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
           
protected  void refill(org.semanticweb.owlapi.model.OWLOntology ontology)
          Refills the section with rows.
protected  void refillInferred()
           
 
Methods inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
addRow, canAcceptDrop, checkEditorResults, dispose, disposeOfSection, dropObjects, getAdditionalButtons, getAxioms, getCurrentReasoner, getEditor, getFrame, getLabel, getName, getOntologies, getOWLDataFactory, getOWLEditorKit, getOWLModelManager, getOWLOntologyManager, getReasoner, getRendering, getRootObject, getRowIndex, getRowLabel, getRows, handleEditingFinished, 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, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AxiomListFrameSection

public AxiomListFrameSection(OWLEditorKit editorKit,
                             OWLFrame<Set<org.semanticweb.owlapi.model.OWLAxiom>> owlFrame)
Method Detail

createAxiom

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

getObjectEditor

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

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<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>

refillInferred

protected void refillInferred()
Overrides:
refillInferred in class AbstractOWLFrameSection<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>

clear

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

getRowComparator

public Comparator<OWLFrameSectionRow<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>> 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.

canAdd

public boolean canAdd()
Specified by:
canAdd in interface MListSectionHeader
Overrides:
canAdd in class AbstractOWLFrameSection<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>

handleChanges

protected void handleChanges(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
Overrides:
handleChanges in class AbstractOWLFrameSection<Set<org.semanticweb.owlapi.model.OWLAxiom>,org.semanticweb.owlapi.model.OWLAxiom,org.semanticweb.owlapi.model.OWLAxiom>

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