|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileSaveSelector
An interface to give GlobalModel a file to save a document to.
Method Summary | |
---|---|
File |
getFile()
Returns the file to save. |
boolean |
shouldSaveAfterFileMoved(OpenDefinitionsDocument doc,
File oldFile)
Confirms whether a new file should be selected since the previously chosen file has been deleted or moved. |
boolean |
verifyOverwrite()
Confirms whether the existing chosen file should be overwritten. |
boolean |
warnFileOpen(File f)
Informs the user that the chosen file is already open and prompts them asking whether to continue with the save |
Method Detail |
---|
File getFile() throws OperationCanceledException
OperationCanceledException
- if the save request is cancelledboolean warnFileOpen(File f)
f
- the file being saved
boolean verifyOverwrite()
boolean shouldSaveAfterFileMoved(OpenDefinitionsDocument doc, File oldFile)
oldFile
- The file that was moved or deleted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |