@API(type=EXTENDABLE, src=PUBLIC) public abstract class CustomAttributeValueEditor extends java.lang.Object implements Extension
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 and Description |
---|
CustomAttributeValueEditor() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
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.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.