|
Oxygen XML Editor, Version 14.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.exml.plugin.document.DocumentPluginContextImpl
public class DocumentPluginContextImpl
Support implementation of the PluginContext interface.
Field Summary | |
---|---|
protected javax.swing.text.Document |
document
The current document. |
protected java.awt.Frame |
frame
The parent frame. |
Constructor Summary | |
---|---|
DocumentPluginContextImpl()
Constructor for an DocumentPluginContext with no document. |
|
DocumentPluginContextImpl(javax.swing.text.Document document,
java.awt.Frame frame,
StandalonePluginWorkspace wsAccess)
Creates the plugin context. |
Method Summary | |
---|---|
javax.swing.text.Document |
getDocument()
Get the current document. |
java.awt.Frame |
getFrame()
Get the frame for the DocumentPluginContextImpl. |
StandalonePluginWorkspace |
getPluginWorkspace()
Get access to the entire workspace of Oxygen. |
void |
setDocument(javax.swing.text.Document document)
Set the current document. |
void |
setFrame(java.awt.Frame frame)
Sets the parent frame for the PluginContextImpl. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected javax.swing.text.Document document
protected java.awt.Frame frame
Constructor Detail |
---|
public DocumentPluginContextImpl()
public DocumentPluginContextImpl(javax.swing.text.Document document, java.awt.Frame frame, StandalonePluginWorkspace wsAccess)
document
- The current document.frame
- The parent frame for the swing components.wsAccess
- Access to Oxygen's workspaceMethod Detail |
---|
public void setDocument(javax.swing.text.Document document)
document
- The document to be set.public void setFrame(java.awt.Frame frame)
frame
- The new frame value.public javax.swing.text.Document getDocument()
getDocument
in interface DocumentPluginContext
public java.awt.Frame getFrame()
getFrame
in interface DocumentPluginContext
public StandalonePluginWorkspace getPluginWorkspace()
DocumentPluginContext
getPluginWorkspace
in interface DocumentPluginContext
DocumentPluginContext.getPluginWorkspace()
|
Oxygen XML Editor, Version 14.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |