public class DialogWidgetManager extends StandardWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | BUTTON_TYPE_CANCEL
Cancel button type.
|
static java.lang.String | BUTTON_TYPE_OK
OK button type.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | MANAGER_TYPE_DIALOG
Dialog manager type.
|
static java.lang.String | PROP_BUTTON_TYPE
Button type property name.
|
static java.lang.String | PROP_DIALOG
Contract select dialog property name.
|
static java.lang.String | PROP_SHELL
Shell property.
|
Constructor and Description |
---|
DialogWidgetManager()
Construct a new dialog widget manager.
|
Modifier and Type | Method and Description |
---|---|
protected void | cancelPressed()
This method is called when the cancel button is pressed.
|
void | dispose()
This method disposes the resources created by this widget manager.
|
protected ConfiguredControl | getCancelControl()
This method gets the Cancel button control.
|
protected org.eclipse.jface.dialogs.Dialog | getDialog()
This method returns the contract select dialog.
|
protected ConfiguredControl | getOkControl()
This method gets the OK button control.
|
protected org.eclipse.swt.widgets.Shell | getShell()
This method gets the shell.
|
void | init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
This method initializes the dialog widget manager.
|
void | initControl(ConfiguredControl configuredControl)
This method initializes the specified control.
|
protected void | okPressed()
This method is called when the ok button is pressed.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGER_TYPE_DIALOG
public static final java.lang.String PROP_BUTTON_TYPE
public static final java.lang.String PROP_DIALOG
public static final java.lang.String PROP_SHELL
public static final java.lang.String BUTTON_TYPE_OK
public static final java.lang.String BUTTON_TYPE_CANCEL
public DialogWidgetManager()
public void init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
public void dispose()
public void initControl(ConfiguredControl configuredControl)
protected void okPressed()
protected void cancelPressed()
protected org.eclipse.jface.dialogs.Dialog getDialog()
protected org.eclipse.swt.widgets.Shell getShell()
protected ConfiguredControl getOkControl()
protected ConfiguredControl getCancelControl()