public interface IButtonHandler
WizardBase
. If users want to add
more buttons in WizardBase
, need to implement this interface
and add it in by invoking WizardBase.addCustomButton()
.Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Button |
getButton()
Returns the button control.
|
org.eclipse.swt.graphics.Image |
getIcon()
Returns button icon.
|
int |
getId()
Returns ID for the custom button.
|
java.lang.String |
getLabel()
Returns Label for the custom button.
|
java.lang.String |
getTooltip()
Returns tool-tip text of this button.
|
void |
run()
Runs the operation user defined when pressing the button.
|
void |
setButton(org.eclipse.swt.widgets.Button button)
Restores the button control for later use.
|
int getId()
WizardBase
.IDialogConstants
java.lang.String getLabel()
java.lang.String getTooltip()
org.eclipse.swt.graphics.Image getIcon()
void setButton(org.eclipse.swt.widgets.Button button)
WizardBase
button
- button controlorg.eclipse.swt.widgets.Button getButton()
void run()
Copyright © 2008 Actuate Corp. All rights reserved.