org.homeunix.thecave.moss.i18n
Class LanguageEditorDocument

java.lang.Object
  extended by org.homeunix.thecave.moss.model.AbstractDocument
      extended by org.homeunix.thecave.moss.i18n.LanguageEditorDocument
All Implemented Interfaces:
StandardDocument

public class LanguageEditorDocument
extends AbstractDocument


Constructor Summary
LanguageEditorDocument()
           
 
Method Summary
 void save()
          Save the data file to the current file (obtained by getFile()).
 void saveAs(java.io.File file)
          Prompt the user for a different file, and save the model to that file.
 
Methods inherited from class org.homeunix.thecave.moss.model.AbstractDocument
addDocumentChangeListener, finishBatchChange, fireDocumentChangeEvent, getFile, getGeneratedUid, getMinimumChangeEventPeriod, isBatchChange, isChanged, removeDocumentChangeListener, resetChanged, setChanged, setFile, setMinimumChangeEventPeriod, startBatchChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageEditorDocument

public LanguageEditorDocument()
Method Detail

save

public void save()
          throws DocumentSaveException
Description copied from interface: StandardDocument
Save the data file to the current file (obtained by getFile()). If the current file has not yet been set, perform a saveAs().

Throws:
DocumentSaveException

saveAs

public void saveAs(java.io.File file)
            throws DocumentSaveException
Description copied from interface: StandardDocument
Prompt the user for a different file, and save the model to that file. Set the current file, for future saves.

Parameters:
file - File to save to
Throws:
DocumentSaveException