|
Oxygen XML Editor 15.0 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.api.CustomAttributeValueEditor
@API(type=EXTENDABLE, src=PUBLIC) public abstract class CustomAttributeValueEditor
A custom editor which gets invoked to edit the value for an attribute.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor Summary | |
---|---|
CustomAttributeValueEditor()
|
Method Summary | |
---|---|
abstract java.lang.String |
getAttributeValue(EditedAttribute attribute,
java.lang.Object parentComponent)
Get a value for the current attribute. |
abstract boolean |
shouldHandleAttribute(EditedAttribute attribute)
Ask the custom editor if it wants to handle editing for a certain attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ro.sync.ecss.extensions.api.Extension |
---|
getDescription |
Constructor Detail |
---|
public CustomAttributeValueEditor()
Method Detail |
---|
public abstract java.lang.String getAttributeValue(EditedAttribute attribute, java.lang.Object parentComponent)
attribute
- The attribute to be edited.parentComponent
- The parent component, usually the table in which the user double clicked the value. Used for example to find the parent window/shell when creating dialogs.
public abstract boolean shouldHandleAttribute(EditedAttribute attribute)
attribute
- The attribute.
true
if this custom editor's "getAttributeValue" method should be invoked for that certain attribute.
|
Oxygen XML Editor 15.0 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |