public class ChangedWarningDialog extends Object implements ChangedWarningInterface
| Constructor and Description | 
|---|
ChangedWarningDialog()  | 
| Modifier and Type | Method and Description | 
|---|---|
static ChangedWarningInterface | 
getInstance()  | 
String | 
getName()  | 
static void | 
setInstance(ChangedWarningInterface cwi)  | 
int | 
show()
Display a dialog asking the user if they want to save their work before closing the tab 
 | 
int | 
show(String fileName)  | 
public static void setInstance(ChangedWarningInterface cwi)
public static ChangedWarningInterface getInstance()
public String getName()
public int show()
         throws Exception
ChangedWarningInterfaceshow in interface ChangedWarningInterfaceExceptionpublic int show(String fileName) throws Exception
show in interface ChangedWarningInterfaceException