/** * Refills the section with rows. This method will be called * by the system and should be directly called. */ protected void refill(OWLOntology ontology) { for (OWLNegativeObjectPropertyAssertionAxiom ax : ontology.getNegativeObjectPropertyAssertionAxioms( getRootObject())) { addRow(new OWLNegativeObjectPropertyAssertionFrameSectionRow(getOWLEditorKit(), this, ontology, getRootObject(), ax)); } }
protected OWLNegativeObjectPropertyAssertionAxiom createAxiom(OWLObjectPropertyIndividualPair object) { return getOWLDataFactory().getOWLNegativeObjectPropertyAssertionAxiom(object.getProperty(), getRootObject(), object.getIndividual()); }
public void visit(OWLNegativeObjectPropertyAssertionAxiom axiom) { if (axiom.getSubject().equals(getRootObject())) { reset(); } }
owlIndividualSections.add(new OWLClassAssertionAxiomTypeFrameSection(editorKit, this)); owlIndividualSections.add(new OWLObjectPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeObjectPropertyAssertionFrameSection(editorKit, this)); owlIndividualSections.add(new OWLDataPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeDataPropertyAssertionFrameSection(editorKit, this));
public OWLNegativeObjectPropertyAssertionFrameSection(OWLEditorKit editorKit, OWLFrame<? extends OWLIndividual> frame) { super(editorKit, LABEL, "Negative object property assertion", frame); editor = new OWLObjectPropertyIndividualPairEditor2(getOWLEditorKit()); }
@Override protected boolean isResettingChange(OWLOntologyChange change) { if (!change.isAxiomChange()) { return false; } OWLAxiom axiom = change.getAxiom(); if (axiom instanceof OWLNegativeObjectPropertyAssertionAxiom) { return ((OWLNegativeObjectPropertyAssertionAxiom) axiom).getSubject().equals(getRootObject()); } return false; }
owlIndividualSections.add(new OWLClassAssertionAxiomTypeFrameSection(editorKit, this)); owlIndividualSections.add(new OWLObjectPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeObjectPropertyAssertionFrameSection(editorKit, this)); owlIndividualSections.add(new OWLDataPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeDataPropertyAssertionFrameSection(editorKit, this));
public OWLNegativeObjectPropertyAssertionFrameSection(OWLEditorKit editorKit, OWLFrame<? extends OWLIndividual> frame) { super(editorKit, LABEL, "Negative object property assertion", frame); editor = new OWLObjectPropertyIndividualPairEditor2(getOWLEditorKit()); }
@Override protected boolean isResettingChange(OWLOntologyChange change) { if (!change.isAxiomChange()) { return false; } OWLAxiom axiom = change.getAxiom(); if (axiom instanceof OWLNegativeObjectPropertyAssertionAxiom) { return ((OWLNegativeObjectPropertyAssertionAxiom) axiom).getSubject().equals(getRootObject()); } return false; }
/** * Refills the section with rows. This method will be called * by the system and should be directly called. */ protected void refill(OWLOntology ontology) { for (OWLNegativeObjectPropertyAssertionAxiom ax : ontology.getNegativeObjectPropertyAssertionAxioms( getRootObject())) { addRow(new OWLNegativeObjectPropertyAssertionFrameSectionRow(getOWLEditorKit(), this, ontology, getRootObject(), ax)); } }
protected OWLNegativeObjectPropertyAssertionAxiom createAxiom(OWLObjectPropertyIndividualPair object) { return getOWLDataFactory().getOWLNegativeObjectPropertyAssertionAxiom(object.getProperty(), getRootObject(), object.getIndividual()); }
owlIndividualSections.add(new OWLClassAssertionAxiomTypeFrameSection(editorKit, this)); owlIndividualSections.add(new OWLObjectPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeObjectPropertyAssertionFrameSection(editorKit, this)); owlIndividualSections.add(new OWLDataPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeDataPropertyAssertionFrameSection(editorKit, this));
public OWLObjectEditor<OWLObjectPropertyIndividualPair> getObjectEditor() { return new OWLObjectPropertyIndividualPairEditor(getOWLEditorKit()); }
public void visit(OWLNegativeDataPropertyAssertionAxiom axiom) { if (axiom.getSubject().equals(getRootObject())) { reset(); } } }
@Override protected boolean isResettingChange(OWLOntologyChange change) { if (!change.isAxiomChange()) { return false; } OWLAxiom axiom = change.getAxiom(); if (axiom instanceof OWLNegativeObjectPropertyAssertionAxiom) { return ((OWLNegativeObjectPropertyAssertionAxiom) axiom).getSubject().equals(getRootObject()); } return false; }
/** * Refills the section with rows. This method will be called * by the system and should be directly called. */ protected void refill(OWLOntology ontology) { for (OWLNegativeObjectPropertyAssertionAxiom ax : ontology.getNegativeObjectPropertyAssertionAxioms( getRootObject())) { addRow(new OWLNegativeObjectPropertyAssertionFrameSectionRow(getOWLEditorKit(), this, ontology, getRootObject(), ax)); } }
protected OWLNegativeObjectPropertyAssertionAxiom createAxiom(OWLObjectPropertyIndividualPair object) { return getOWLDataFactory().getOWLNegativeObjectPropertyAssertionAxiom(object.getProperty(), getRootObject(), object.getIndividual()); }
owlIndividualSections.add(new OWLClassAssertionAxiomTypeFrameSection(editorKit, this)); owlIndividualSections.add(new OWLObjectPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeObjectPropertyAssertionFrameSection(editorKit, this)); owlIndividualSections.add(new OWLDataPropertyAssertionAxiomFrameSection(editorKit, this)); owlIndividualSections.add(new OWLNegativeDataPropertyAssertionFrameSection(editorKit, this));
public OWLObjectEditor<OWLObjectPropertyIndividualPair> getObjectEditor() { return new OWLObjectPropertyIndividualPairEditor(getOWLEditorKit()); }
/** * Refills the section with rows. This method will be called * by the system and should be directly called. */ protected void refill(OWLOntology ontology) { for (OWLNegativeObjectPropertyAssertionAxiom ax : ontology.getNegativeObjectPropertyAssertionAxioms( getRootObject())) { addRow(new OWLNegativeObjectPropertyAssertionFrameSectionRow(getOWLEditorKit(), this, ontology, getRootObject(), ax)); } }