public interface IEEFHyperlinkController extends IEEFOnClickController
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
action(EEFWidgetAction action)
Invoked when the user clicks on an action button.
|
java.lang.String |
computeDisplayValue(java.lang.Object value)
Compute the display value.
|
void |
onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
Register a consumer which will be called with the new value of the hyperlink when it will change.
|
void |
removeNewValueConsumer()
Remove the consumer of the new value of the hyperlink.
|
onClick
computeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumer
onValidation, refresh, removeValidationConsumer
void onNewValue(java.util.function.Consumer<java.lang.Object> consumer)
consumer
- The consumer of the new value of the hyperlinkvoid removeNewValueConsumer()
org.eclipse.core.runtime.IStatus action(EEFWidgetAction action)
action
- Widget actionjava.lang.String computeDisplayValue(java.lang.Object value)
value
- Element associated to the hyperlink