public interface IDialogDelegate
IDialogDelegate
is the event listener declaration for all
AbstractDialog
s. All triggered events from a AbstractDialog
will be delivered to the onDialogButtonPressed(AbstractDialog, int)
method. Furthermore it provides
showDialogButton(AbstractDialog, int)
to allow showing/hiding of
buttons dynamically. AbstractDialog
documentation.
Modifier and Type | Method and Description |
---|---|
void |
onDialogButtonPressed(AbstractDialog dialog,
int buttonId)
This method will be called if a event occurs in given
AbstractDialog . |
boolean |
showDialogButton(AbstractDialog dialog,
int buttonId)
This method is called for each button.
|
void onDialogButtonPressed(AbstractDialog dialog, int buttonId)
AbstractDialog
.dialog
- The AbstractDialog
containing the button.buttonId
- The id of the triggered button as modeled with the editor.boolean showDialogButton(AbstractDialog dialog, int buttonId)
dialog
- The AbstractDialog
containing the button.buttonId
- The id of the triggered button as modeled with the editor.true
if the button should be shown; false
otherwise