Protege 4.1.0

org.protege.editor.owl.ui.frame.cls
Class OWLDisjointClassesAxiomFrameSection

java.lang.Object
  extended by org.semanticweb.owlapi.util.OWLAxiomVisitorAdapter
      extended by org.protege.editor.owl.ui.frame.AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLClassExpression,A,E>
          extended by org.protege.editor.owl.ui.frame.cls.AbstractOWLClassAxiomFrameSection<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>
              extended by org.protege.editor.owl.ui.frame.cls.OWLDisjointClassesAxiomFrameSection
All Implemented Interfaces:
MListSectionHeader, OWLObjectEditorHandler<Set<org.semanticweb.owlapi.model.OWLClassExpression>>, OWLFrameObject<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>, OWLFrameSection<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>, org.semanticweb.owlapi.model.OWLAnnotationAxiomVisitor, org.semanticweb.owlapi.model.OWLAxiomVisitor

public class OWLDisjointClassesAxiomFrameSection
extends AbstractOWLClassAxiomFrameSection<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

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


Field Summary
 Set<org.semanticweb.owlapi.model.OWLClassExpression> added
           
static String LABEL
           
 
Fields inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
LOGGER
 
Constructor Summary
OWLDisjointClassesAxiomFrameSection(OWLEditorKit editorKit, OWLFrame<org.semanticweb.owlapi.model.OWLClass> frame)
           
 
Method Summary
protected  void addAxiom(org.semanticweb.owlapi.model.OWLDisjointClassesAxiom ax, org.semanticweb.owlapi.model.OWLOntology ont)
           
 boolean canAcceptDrop(List<org.semanticweb.owlapi.model.OWLObject> objects)
           
 boolean checkEditorResults(OWLObjectEditor<Set<org.semanticweb.owlapi.model.OWLClassExpression>> editor)
           
protected  void clear()
           
protected  org.semanticweb.owlapi.model.OWLDisjointClassesAxiom createAxiom(Set<org.semanticweb.owlapi.model.OWLClassExpression> object)
           
 boolean dropObjects(List<org.semanticweb.owlapi.model.OWLObject> objects)
           
protected  Set<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom> getClassAxioms(org.semanticweb.owlapi.model.OWLClassExpression descr, org.semanticweb.owlapi.model.OWLOntology ont)
           
 OWLObjectEditor<Set<org.semanticweb.owlapi.model.OWLClassExpression>> getObjectEditor()
           
 Comparator<OWLFrameSectionRow<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>> getRowComparator()
          Obtains a comparator which can be used to sort the rows in this section.
protected  void refillInferred()
           
 void visit(org.semanticweb.owlapi.model.OWLDisjointClassesAxiom axiom)
           
 
Methods inherited from class org.protege.editor.owl.ui.frame.cls.AbstractOWLClassAxiomFrameSection
getRootObject, refill
 
Methods inherited from class org.protege.editor.owl.ui.frame.AbstractOWLFrameSection
addRow, canAdd, dispose, disposeOfSection, getAdditionalButtons, getAxioms, getCurrentReasoner, getEditor, getFrame, getLabel, getName, getOntologies, getOWLDataFactory, getOWLEditorKit, getOWLModelManager, getOWLOntologyManager, getReasoner, getRendering, 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

added

public Set<org.semanticweb.owlapi.model.OWLClassExpression> added
Constructor Detail

OWLDisjointClassesAxiomFrameSection

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

clear

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

addAxiom

protected void addAxiom(org.semanticweb.owlapi.model.OWLDisjointClassesAxiom ax,
                        org.semanticweb.owlapi.model.OWLOntology ont)
Specified by:
addAxiom in class AbstractOWLClassAxiomFrameSection<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

getClassAxioms

protected Set<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom> getClassAxioms(org.semanticweb.owlapi.model.OWLClassExpression descr,
                                                                                   org.semanticweb.owlapi.model.OWLOntology ont)
Specified by:
getClassAxioms in class AbstractOWLClassAxiomFrameSection<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

createAxiom

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

getObjectEditor

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

refillInferred

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

checkEditorResults

public boolean checkEditorResults(OWLObjectEditor<Set<org.semanticweb.owlapi.model.OWLClassExpression>> editor)
Specified by:
checkEditorResults in interface OWLFrameObject<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>
Overrides:
checkEditorResults in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

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

canAcceptDrop

public boolean canAcceptDrop(List<org.semanticweb.owlapi.model.OWLObject> objects)
Specified by:
canAcceptDrop in interface OWLFrameObject<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>
Overrides:
canAcceptDrop in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

dropObjects

public boolean dropObjects(List<org.semanticweb.owlapi.model.OWLObject> objects)
Specified by:
dropObjects in interface OWLFrameObject<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>
Overrides:
dropObjects in class AbstractOWLFrameSection<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>

getRowComparator

public Comparator<OWLFrameSectionRow<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLDisjointClassesAxiom,Set<org.semanticweb.owlapi.model.OWLClassExpression>>> getRowComparator()
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.

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