|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.ui.editors.TimeValueEditor
Constructor Summary | |
TimeValueEditor()
|
Method Summary | |
boolean |
canEdit(RDFResource instance,
RDFProperty property,
Object value)
Checks whether this is able to edit values for a certain predicate. |
Object |
createDefaultValue(RDFResource instance,
RDFProperty property)
Creates a default value for a given predicate at a given subject. |
private RDFSLiteral |
createRDFSLiteral(OWLModel owlModel,
String str)
|
Object |
editValue(Component parent,
RDFResource instance,
RDFProperty property,
Object value)
Edits a given value for a given resource/predicate pair. |
boolean |
mustEdit(RDFResource subject,
RDFProperty predicate,
Object value)
Checks whether this is the only way to edit values for a certain predicate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimeValueEditor()
Method Detail |
public boolean canEdit(RDFResource instance, RDFProperty property, Object value)
PropertyValueEditor
canEdit
in interface PropertyValueEditor
instance
- property
- value
-
public Object createDefaultValue(RDFResource instance, RDFProperty property)
PropertyValueEditor
createDefaultValue
in interface PropertyValueEditor
instance
- the RDFResource to create a default value forproperty
- the annotation predicate
private RDFSLiteral createRDFSLiteral(OWLModel owlModel, String str)
public Object editValue(Component parent, RDFResource instance, RDFProperty property, Object value)
PropertyValueEditor
editValue
in interface PropertyValueEditor
parent
- instance
- property
- value
-
public boolean mustEdit(RDFResource subject, RDFProperty predicate, Object value)
PropertyValueEditor
mustEdit
in interface PropertyValueEditor
subject
- predicate
- value
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |