|
Protégé-OWL 3.4.1 | ||||||||
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.StringValueEditor
public class StringValueEditor
Constructor Summary | |
---|---|
StringValueEditor()
|
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. |
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 StringValueEditor()
Method Detail |
---|
public boolean canEdit(RDFResource instance, RDFProperty property, Object value)
PropertyValueEditor
canEdit
in interface PropertyValueEditor
public Object createDefaultValue(RDFResource instance, RDFProperty property)
PropertyValueEditor
createDefaultValue
in interface PropertyValueEditor
instance
- the RDFResource to create a default value forproperty
- the annotation predicate
public Object editValue(Component parent, RDFResource instance, RDFProperty property, Object value)
PropertyValueEditor
editValue
in interface PropertyValueEditor
public boolean mustEdit(RDFResource subject, RDFProperty predicate, Object value)
PropertyValueEditor
mustEdit
in interface PropertyValueEditor
|
Protégé-OWL 3.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |