| org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog
InternalErrorDialog | public class InternalErrorDialog extends MessageDialog (Code) | | Added a Details button to the MessageDialog to show the exception
stack trace.
|
Constructor Summary | |
public | InternalErrorDialog(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, Throwable detail, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) Create a new dialog. |
InternalErrorDialog | public InternalErrorDialog(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, Throwable detail, int dialogImageType, String[] dialogButtonLabels, int defaultIndex)(Code) | | Create a new dialog.
Parameters: parentShell - the parent shell Parameters: dialogTitle - the title Parameters: dialogTitleImage - the title image Parameters: dialogMessage - the message Parameters: detail - the error to display Parameters: dialogImageType - the type of image Parameters: dialogButtonLabels - the button labels Parameters: defaultIndex - the default selected button index |
buttonPressed | protected void buttonPressed(int buttonId)(Code) | | |
createDropDownText | protected void createDropDownText(Composite parent)(Code) | | Create this dialog's drop-down list component.
Parameters: parent - the parent composite |
openQuestion | public static boolean openQuestion(Shell parent, String title, String message, Throwable detail, int defaultIndex)(Code) | | Convenience method to open a simple Yes/No question dialog.
Parameters: parent - the parent shell of the dialog, or null if none Parameters: title - the dialog's title, or null if none Parameters: message - the message Parameters: detail - the error Parameters: defaultIndex - the default index of the button to select true if the user presses the OK button,false otherwise |
setDetailButton | public void setDetailButton(int index)(Code) | | Set the detail button;
Parameters: index - the detail button index |
|
|