public interface IEEFButtonController extends IEEFWidgetController
Modifier and Type | Method and Description |
---|---|
void |
onNewButtonImage(java.util.function.Consumer<java.lang.Object> consumer)
Register a consumer which will be called with the new value of the button's image when it will change.
|
void |
onNewButtonLabel(java.util.function.Consumer<java.lang.String> consumer)
Register a consumer which will be called with the new value of the button's label when it will change.
|
org.eclipse.core.runtime.IStatus |
pushed()
Invoked when the user pushes the button.
|
void |
removeNewButtonImageConsumer()
Remove the consumer of the new value of the button's image.
|
void |
removeNewButtonLabelConsumer()
Remove the consumer of the new value of the button's label.
|
computeHelp, onNewHelp, onNewLabel, removeNewHelpConsumer, removeNewLabelConsumer
onValidation, refresh, removeValidationConsumer
void onNewButtonLabel(java.util.function.Consumer<java.lang.String> consumer)
consumer
- The consumer of the new value of the button's labelvoid removeNewButtonLabelConsumer()
void onNewButtonImage(java.util.function.Consumer<java.lang.Object> consumer)
consumer
- The consumer of the new value of the button's imagevoid removeNewButtonImageConsumer()
org.eclipse.core.runtime.IStatus pushed()