org.skunk.spi
Class MessageCatalogEditor
java.lang.Object
|
+--org.skunk.dav.client.gui.editor.AbstractDAVEditor
|
+--org.skunk.spi.MessageCatalogEditor
- All Implemented Interfaces:
- Buffer, DAVEditor
- public class MessageCatalogEditor
- extends AbstractDAVEditor
facility for editing Skunk message catalogs.
need to support cut, copy and paste;
undo, if the layout does not make that confusing.
Methods inherited from class org.skunk.dav.client.gui.editor.AbstractDAVEditor |
addEditListener, docking, getDAVFile, getName, getResourceBody, getResourceName, handleNulledFile, isDirty, isWriteable, removeEditListener, saveAs, saveAs, setDAVFile, setDirty, setName, setResourceBody, setResourceName, setWriteable, undocking |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISO_LATIN_1
public static final java.lang.String ISO_LATIN_1
MessageCatalogEditor
public MessageCatalogEditor(DAVFile file)
getUndoManager
public DAVEditorUndoManager getUndoManager()
- Following copied from interface:
org.skunk.dav.client.gui.editor.DAVEditor
- Returns:
- the undo manager for this editor. May be null.
newSimpleCatalog
public static final java.util.TreeMap newSimpleCatalog()
newComplexCatalog
public static final java.util.TreeMap newComplexCatalog()
load
public void load()
throws CannotLoadException
- Description copied from interface:
DAVEditor
- loads the contents of the editor's DAVFile into the editor.
- Overrides:
load
in class AbstractDAVEditor
- Following copied from interface:
org.skunk.dav.client.gui.editor.DAVEditor
- Throws:
CannotLoadException
- if it cannot load the file.
save
public void save()
- Description copied from interface:
DAVEditor
- saves the file being edited.
- Overrides:
save
in class AbstractDAVEditor
getComponent
public javax.swing.JComponent getComponent()
- Overrides:
getComponent
in class AbstractDAVEditor
- Following copied from interface:
org.skunk.dav.client.gui.Buffer
- Returns:
- the buffer's visual component
isComplex
public boolean isComplex()
getBlankComplexValue
public java.lang.Object getBlankComplexValue()