Method Summary |
|
protected int | convertHeightInCharsToPixels(int chars) Returns the number of pixels corresponding to the height of the given
number of characters. |
protected int | convertHorizontalDLUsToPixels(int dlus) Returns the number of pixels corresponding to the given number of
horizontal dialog units. |
protected int | convertVerticalDLUsToPixels(int dlus) Returns the number of pixels corresponding to the given number of
vertical dialog units. |
protected int | convertWidthInCharsToPixels(int chars) Returns the number of pixels corresponding to the width of the given
number of characters. |
public void | dispose() The DialogPage implementation of an
IDialogPage method does nothing. |
public Control | getControl() Returns the top level control for this dialog page. |
public String | getDescription() |
protected String | getDialogFontName() Returns the symbolic font name used by dialog pages. |
public String | getErrorMessage() |
protected Font | getFont() Returns the default font to use for this dialog page. |
public Image | getImage() |
public String | getMessage() |
public int | getMessageType() |
public Shell | getShell() Returns this dialog page's shell. |
public String | getTitle() |
final protected String | getToolTipText(int widgetId) Returns the tool tip text for the widget with the given id.
The default implementation of this framework method does nothing and
returns null . |
protected void | initializeDialogUnits(Control testControl) Initializes the computation of horizontal and vertical dialog units based
on the size of current font. |
protected boolean | isControlCreated() Tests whether this page's UI content has already been created. |
public void | performHelp() This default implementation of an IDialogPage method does
nothing. |
protected GridData | setButtonLayoutData(Button button) Sets the GridData on the specified button to be one that
is spaced for the current dialog page units. |
protected void | setControl(Control newControl) Set the control for the receiver. |
public void | setDescription(String description) |
public void | setErrorMessage(String newMessage) Sets or clears the error message for this page. |
public void | setImageDescriptor(ImageDescriptor desc) |
public void | setMessage(String newMessage) Sets or clears the message for this page. |
public void | setMessage(String newMessage, int newType) Sets the message for this page with an indication of what type of message
it is.
The valid message types are one of NONE ,
INFORMATION ,WARNING , or
ERROR .
Note that for backward compatibility, a message of type
ERROR is different than an error message (set using
setErrorMessage ). |
public void | setTitle(String title) The DialogPage implementation of this
IDialogPage method remembers the title in an internal
state variable. |
public void | setVisible(boolean visible) The DialogPage implementation of this
IDialogPage method sets the control to the given
visibility state. |