com.japisoft.xmlappkit.editor.source
Class SourceXMLEditor
java.lang.Object
com.japisoft.xmlappkit.editor.AbstractXMLEditor
com.japisoft.xmlappkit.editor.source.SourceXMLEditor
- All Implemented Interfaces:
- XMLEditor
- public class SourceXMLEditor
- extends AbstractXMLEditor
Editor for source
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
|
Field Summary |
static java.lang.String |
NAME
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
SourceXMLEditor
public SourceXMLEditor(XMLAppContainer app,
javax.swing.JTree tree)
getXMLContainer
public com.japisoft.xmlpad.XMLContainer getXMLContainer()
start
public void start(XMLEditingContext context)
- Description copied from interface:
XMLEditor
- This is called each time we begin to use this editor
- Parameters:
context - Give some information like the current editing node or the root node
stop
public void stop(XMLEditingContext context)
- Description copied from interface:
XMLEditor
- This called when we stop to use this editor like alterning to another editor.
User can change the selected node and call the
commit method for
confirming, thus the XML document will be updated. Note that the commit must only
be called once.