|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.protege.editor.owl.ui.frame.AbstractOWLFrameSectionRow<R,A,E>
public abstract class AbstractOWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 19-Jan-2007
| Field Summary | |
|---|---|
protected A |
axiom
|
static String |
DEFAULT_DELIMETER
|
static String |
DEFAULT_PREFIX
|
static String |
DEFAULT_SUFFIX
|
| Constructor Summary | |
|---|---|
protected |
AbstractOWLFrameSectionRow(OWLEditorKit owlEditorKit,
OWLFrameSection<R,A,E> section,
org.semanticweb.owlapi.model.OWLOntology ontology,
R rootObject,
A axiom)
|
| Method Summary | |
|---|---|
boolean |
canAcceptDrop(List<org.semanticweb.owlapi.model.OWLObject> objects)
|
boolean |
checkEditorResults(OWLObjectEditor<E> editor)
|
protected abstract A |
createAxiom(E editedObject)
|
boolean |
dropObjects(List<org.semanticweb.owlapi.model.OWLObject> objects)
|
List<MListButton> |
getAdditionalButtons()
|
A |
getAxiom()
Gets the object that the row holds. |
List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> |
getDeletionChanges()
Deletes this row. |
String |
getDelimeter()
|
OWLObjectEditor<E> |
getEditor()
|
OWLFrameSection<R,A,E> |
getFrameSection()
Gets the frame section which this row belongs to. |
protected abstract OWLObjectEditor<E> |
getObjectEditor()
|
protected Object |
getObjectRendering(org.semanticweb.owlapi.model.OWLObject ob)
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology()
This row represents an assertion in a particular ontology. |
org.semanticweb.owlapi.model.OWLDataFactory |
getOWLDataFactory()
|
OWLEditorKit |
getOWLEditorKit()
|
OWLModelManager |
getOWLModelManager()
|
org.semanticweb.owlapi.model.OWLOntologyManager |
getOWLOntologyManager()
|
String |
getPrefix()
|
String |
getRendering()
Gets the rendering of the value of a particular column. |
R |
getRoot()
Gets the root object of the frame that this row belongs to. |
R |
getRootObject()
|
String |
getSuffix()
|
String |
getTooltip()
|
Object |
getUserObject()
Default implementation which returns null |
boolean |
handleDelete()
|
void |
handleEdit()
|
void |
handleEditingFinished(Set<E> editedObjects)
|
boolean |
isDeleteable()
|
boolean |
isEditable()
Determines if this row is editable. |
boolean |
isFixedHeight()
|
boolean |
isInferred()
|
void |
setUserObject(Object object)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.protege.editor.owl.ui.frame.OWLFrameSectionRow |
|---|
getManipulatableObjects |
| Field Detail |
|---|
public static final String DEFAULT_DELIMETER
public static final String DEFAULT_PREFIX
public static final String DEFAULT_SUFFIX
protected A extends org.semanticweb.owlapi.model.OWLAxiom axiom
| Constructor Detail |
|---|
protected AbstractOWLFrameSectionRow(OWLEditorKit owlEditorKit,
OWLFrameSection<R,A,E> section,
org.semanticweb.owlapi.model.OWLOntology ontology,
R rootObject,
A axiom)
| Method Detail |
|---|
public OWLFrameSection<R,A,E> getFrameSection()
OWLFrameSectionRow
getFrameSection in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public R getRootObject()
public Object getUserObject()
null
getUserObject in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public void setUserObject(Object object)
setUserObject in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public boolean isFixedHeight()
public final OWLObjectEditor<E> getEditor()
getEditor in interface OWLFrameObject<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>protected abstract OWLObjectEditor<E> getObjectEditor()
public boolean checkEditorResults(OWLObjectEditor<E> editor)
checkEditorResults in interface OWLFrameObject<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public void handleEditingFinished(Set<E> editedObjects)
handleEditingFinished in interface OWLObjectEditorHandler<E>protected abstract A createAxiom(E editedObject)
public org.semanticweb.owlapi.model.OWLOntology getOntology()
getOntology in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public OWLModelManager getOWLModelManager()
public org.semanticweb.owlapi.model.OWLDataFactory getOWLDataFactory()
public org.semanticweb.owlapi.model.OWLOntologyManager getOWLOntologyManager()
getOWLOntologyManager in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public OWLEditorKit getOWLEditorKit()
public R getRoot()
getRoot in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public A getAxiom()
getAxiom in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public boolean canAcceptDrop(List<org.semanticweb.owlapi.model.OWLObject> objects)
canAcceptDrop in interface OWLFrameObject<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public boolean dropObjects(List<org.semanticweb.owlapi.model.OWLObject> objects)
dropObjects in interface OWLFrameObject<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public String getTooltip()
getTooltip in interface MListItempublic String toString()
toString in class Objectpublic List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> getDeletionChanges()
isEditable method returns false.
getDeletionChanges in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public boolean isEditable()
isEditable in interface MListItemisEditable in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>true if the row is editable, false
if the row is not editable.public String getPrefix()
public String getDelimeter()
public String getSuffix()
protected Object getObjectRendering(org.semanticweb.owlapi.model.OWLObject ob)
public boolean isInferred()
isInferred in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public String getRendering()
String representation of the column
value.public boolean isDeleteable()
isDeleteable in interface MListItemisDeleteable in interface OWLFrameSectionRow<R,A extends org.semanticweb.owlapi.model.OWLAxiom,E>public void handleEdit()
handleEdit in interface MListItempublic boolean handleDelete()
handleDelete in interface MListItempublic List<MListButton> getAdditionalButtons()
|
Protege 4.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||