Package org.pentaho.di.ui.spoon
Class ChangedWarningDialog
java.lang.Object
org.pentaho.di.ui.spoon.ChangedWarningDialog
- All Implemented Interfaces:
ChangedWarningInterface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChangedWarningInterface
getName()
protected org.pentaho.ui.xul.components.XulMessageBox
runXulChangedWarningDialog
(String fileName) static void
int
show()
Display a dialog asking the user if they want to save their work before closing the tabint
-
Field Details
-
result
-
container
protected org.pentaho.ui.xul.XulDomContainer container
-
-
Constructor Details
-
ChangedWarningDialog
public ChangedWarningDialog()
-
-
Method Details
-
setInstance
-
getInstance
-
getName
-
show
Description copied from interface:ChangedWarningInterface
Display a dialog asking the user if they want to save their work before closing the tab- Specified by:
show
in interfaceChangedWarningInterface
- Returns:
- The decision of the user: SWT.YES; SWT.NO; SWT.CANCEL
- Throws:
Exception
-
show
- Specified by:
show
in interfaceChangedWarningInterface
- Throws:
Exception
-
runXulChangedWarningDialog
protected org.pentaho.ui.xul.components.XulMessageBox runXulChangedWarningDialog(String fileName) throws IllegalArgumentException, org.pentaho.ui.xul.XulException - Throws:
IllegalArgumentException
org.pentaho.ui.xul.XulException
-