net.sourceforge.jsxe
Class ViewPlugin
java.lang.Object
net.sourceforge.jsxe.ActionPlugin
net.sourceforge.jsxe.ViewPlugin
- All Implemented Interfaces:
- EBListener
- public abstract class ViewPlugin
- extends ActionPlugin
This abstract class defines plugins that specify a view that is used to edit
XML documents. This views are used to edit different types of XML documents.
ViewPlugins are also ActionPlugins which means that they specify actions that
jsXe can perform. These can be added to menus and dialogs etc.
- Since:
- jsXe 0.4 beta
- Version:
- $Id: ViewPlugin.java 610 2005-04-15 20:01:09Z ian_lewis $
- Author:
- Ian Lewis (IanLewis@member.fsf.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewPlugin
public ViewPlugin()
newDocumentView
public abstract DocumentView newDocumentView(DocumentBuffer document)
throws IOException
- Creates a new DocumentView for the given document. The DocumentView can
is then used to retrieve a component for this view plugin.
- Parameters:
document
- the document to open the DocumentView with
- Throws:
IOException
- if the view cannot be used to view this document