public interface IEEFHyperlinkController extends IEEFWidgetController
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.
|
org.eclipse.core.runtime.IStatus |
onClick(java.lang.Object element)
Invoked when the user clicks on an hyperlink.
|
void |
onNewValue(IConsumer<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.
|
computeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumer
onValidation, refresh, removeValidationConsumer
org.eclipse.core.runtime.IStatus onClick(java.lang.Object element)
element
- Semantic elementvoid onNewValue(IConsumer<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