Package org.pentaho.di.ui.spoon
Class ChangedWarningDialog
- java.lang.Object
- 
- org.pentaho.di.ui.spoon.ChangedWarningDialog
 
- 
- All Implemented Interfaces:
- ChangedWarningInterface
 
 public class ChangedWarningDialog extends Object implements ChangedWarningInterface 
- 
- 
Constructor SummaryConstructors Constructor Description ChangedWarningDialog()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangedWarningInterfacegetInstance()StringgetName()protected org.pentaho.ui.xul.components.XulMessageBoxrunXulChangedWarningDialog(String fileName)static voidsetInstance(ChangedWarningInterface cwi)intshow()Display a dialog asking the user if they want to save their work before closing the tabintshow(String fileName)
 
- 
- 
- 
Field Detail- 
resultprotected String result 
 - 
containerprotected org.pentaho.ui.xul.XulDomContainer container 
 
- 
 - 
Method Detail- 
setInstancepublic static void setInstance(ChangedWarningInterface cwi) 
 - 
getInstancepublic static ChangedWarningInterface getInstance() 
 - 
getNamepublic String getName() 
 - 
showpublic int show() throws ExceptionDescription copied from interface:ChangedWarningInterfaceDisplay a dialog asking the user if they want to save their work before closing the tab- Specified by:
- showin interface- ChangedWarningInterface
- Returns:
- The decision of the user: SWT.YES; SWT.NO; SWT.CANCEL
- Throws:
- Exception
 
 - 
showpublic int show(String fileName) throws Exception - Specified by:
- showin interface- ChangedWarningInterface
- Throws:
- Exception
 
 - 
runXulChangedWarningDialogprotected org.pentaho.ui.xul.components.XulMessageBox runXulChangedWarningDialog(String fileName) throws IllegalArgumentException, org.pentaho.ui.xul.XulException - Throws:
- IllegalArgumentException
- org.pentaho.ui.xul.XulException
 
 
- 
 
-