Package com._1c.g5.v8.dt.import_.ui
Class ImportSubdialogs
- java.lang.Object
-
- com._1c.g5.v8.dt.import_.ui.ImportSubdialogs
-
public class ImportSubdialogs extends Object
Utility class to open common import sub dialogs e.g. error or question dialogs
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
openErrorDialog(org.eclipse.swt.widgets.Shell shell, String message)
Opens error dialog with the provided message content.static void
openErrorDialog(org.eclipse.swt.widgets.Shell shell, Throwable exception)
Opens error dialog with the provided exception content.static boolean
openQuestionDialog(org.eclipse.swt.widgets.Shell shell, String message)
Opens question dialog with the provided message content.
-
-
-
Method Detail
-
openErrorDialog
public static void openErrorDialog(org.eclipse.swt.widgets.Shell shell, Throwable exception)
Opens error dialog with the provided exception content.- Parameters:
shell
- the parent shell of the dialog, ornull
if noneexception
- the error, cannot benull
-
openErrorDialog
public static void openErrorDialog(org.eclipse.swt.widgets.Shell shell, String message)
Opens error dialog with the provided message content.- Parameters:
shell
- the parent shell of the dialog, ornull
if nonemessage
- the error message, cannot benull
-
openQuestionDialog
public static boolean openQuestionDialog(org.eclipse.swt.widgets.Shell shell, String message)
Opens question dialog with the provided message content. Returns user answer result.- Parameters:
shell
- the parent shell of the dialog, ornull
if nonemessage
- the question message, cannot benull
- Returns:
- user answer result
-
-