Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Nested Class Summary

Nested classes inherited from class net.sourceforge.jsxe.ActionPlugin
`ActionPlugin.Broken`

Constructor Summary
`ViewPlugin()`

Method Summary
`abstract DocumentView` | `newDocumentView(DocumentBuffer document)` Creates a new DocumentView for the given document.

Methods inherited from class net.sourceforge.jsxe.ActionPlugin
`addAction, getActionSet, getOptionPane, getPluginMenu, getProperties, handleMessage`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ViewPlugin

    public ViewPlugin()

Method Detail

### 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD