org.protege.editor.owl.ui.frame.AxiomListFrameSectionRow Maven / Gradle / Ivy
The newest version!
package org.protege.editor.owl.ui.frame;
import org.protege.editor.owl.OWLEditorKit;
import org.protege.editor.owl.ui.editor.OWLObjectEditor;
import org.semanticweb.owlapi.model.OWLAxiom;
import org.semanticweb.owlapi.model.OWLOntology;
import java.util.Arrays;
import java.util.List;
import java.util.Set;
/*
* Copyright (C) 2007, University of Manchester
*
*
*/
/**
* Author: Matthew Horridge
* The University Of Manchester
* Bio-Health Informatics Group
* Date: 19-Dec-2007
*/
public class AxiomListFrameSectionRow extends AbstractOWLFrameSectionRow, OWLAxiom, OWLAxiom> {
public AxiomListFrameSectionRow(OWLEditorKit owlEditorKit, OWLFrameSection, OWLAxiom, OWLAxiom> section, OWLOntology ontology, Set rootObject,
OWLAxiom axiom) {
super(owlEditorKit, section, ontology, rootObject, axiom);
}
protected OWLObjectEditor getObjectEditor() {
return null;
}
protected OWLAxiom createAxiom(OWLAxiom editedObject) {
return null;
}
public List getManipulatableObjects() {
return Arrays.asList(getAxiom());
}
public boolean isEditable() {
return false;
}
public boolean isDeleteable() {
return true;
}
}