Protege 4.1.0

org.protege.editor.owl.ui.frame.annotationproperty
Class OWLAnnotationPropertyRangeFrameSection

java.lang.Object
  extended by org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter
      extended by org.protege.editor.owl.ui.frame.AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>
          extended by org.protege.editor.owl.ui.frame.annotationproperty.OWLAnnotationPropertyRangeFrameSection
All Implemented Interfaces:
MListSectionHeader, OWLObjectEditorHandler<org.semanticweb.owlapi.model.IRI>, OWLFrameObject<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>, OWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>, org.semanticweb.owlapi.model.OWLAnnotationAxiomVisitor, org.semanticweb.owlapi.model.OWLAxiomVisitor

public class OWLAnnotationPropertyRangeFrameSection
extends AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

Author: drummond
http://www.cs.man.ac.uk/~drummond/

The University Of Manchester
Bio Health Informatics Group
Date: Jun 4, 2009


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

Field Detail

LABEL

public static final String LABEL
See Also:
Constant Field Values
Constructor Detail

OWLAnnotationPropertyRangeFrameSection

public OWLAnnotationPropertyRangeFrameSection(OWLEditorKit editorKit,
                                              OWLFrame<org.semanticweb.owlapi.model.OWLAnnotationProperty> frame)
Method Detail

createAxiom

protected org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom createAxiom(org.semanticweb.owlapi.model.IRI iri)
Specified by:
createAxiom in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

getAxioms

protected Set<org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom> getAxioms(org.semanticweb.owlapi.model.OWLOntology ontology)

getObjectEditor

public OWLObjectEditor<org.semanticweb.owlapi.model.IRI> getObjectEditor()
Specified by:
getObjectEditor in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

canAcceptDrop

public final boolean canAcceptDrop(List<org.semanticweb.owlapi.model.OWLObject> objects)
Specified by:
canAcceptDrop in interface OWLFrameObject<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>
Overrides:
canAcceptDrop in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

dropObjects

public final boolean dropObjects(List<org.semanticweb.owlapi.model.OWLObject> objects)
Specified by:
dropObjects in interface OWLFrameObject<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>
Overrides:
dropObjects in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

clear

protected void clear()
Specified by:
clear in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

refill

protected final 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.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

refillInferred

protected final void refillInferred()
Overrides:
refillInferred in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>

getRowComparator

public Comparator<OWLFrameSectionRow<org.semanticweb.owlapi.model.OWLAnnotationProperty,org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom,org.semanticweb.owlapi.model.IRI>> 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.OWLAnnotationPropertyRangeAxiom axiom)
Specified by:
visit in interface org.semanticweb.owlapi.model.OWLAnnotationAxiomVisitor
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