|
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.selection.SelectionPluginContextImpl
public class SelectionPluginContextImpl
Support implementation of the PluginContext interface.
Field Summary | |
---|---|
protected java.lang.String |
selection
The current selection. |
Constructor Summary | |
---|---|
SelectionPluginContextImpl()
Creates a no selection plugin context. |
|
SelectionPluginContextImpl(java.lang.String selection,
java.awt.Frame frame,
java.net.URL documentURL,
StandalonePluginWorkspace wsAccess)
Creates the plugin context. |
Method Summary | |
---|---|
java.net.URL |
getDocumentURL()
Get the URL of the edited document. |
java.awt.Frame |
getFrame()
Gets the frame for the PluginContextImpl. |
StandalonePluginWorkspace |
getPluginWorkspace()
Get access to the entire workspace of Oxygen. |
java.lang.String |
getSelection()
Get the current selection. |
void |
setDocumentURL(java.net.URL documentURL)
Set the URL of the edited document. |
void |
setFrame(java.awt.Frame frame)
Sets the parent frame for the PluginContextImpl. |
void |
setSelection(java.lang.String selection)
Set the current selection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String selection
Constructor Detail |
---|
public SelectionPluginContextImpl()
public SelectionPluginContextImpl(java.lang.String selection, java.awt.Frame frame, java.net.URL documentURL, StandalonePluginWorkspace wsAccess)
selection
- The current selection string.frame
- The parent frame for the swing components.documentURL
- The URL of the edited document.wsAccess
- Access to Oxygen's workspaceMethod Detail |
---|
public void setSelection(java.lang.String selection)
selection
- The current selection.public void setFrame(java.awt.Frame frame)
frame
- The new frame value.public void setDocumentURL(java.net.URL documentURL)
documentURL
- The URL of the edited document.public java.lang.String getSelection()
getSelection
in interface SelectionPluginContext
public java.awt.Frame getFrame()
getFrame
in interface SelectionPluginContext
public java.net.URL getDocumentURL()
SelectionPluginContext
getDocumentURL
in interface SelectionPluginContext
SelectionPluginContext.getDocumentURL()
public StandalonePluginWorkspace getPluginWorkspace()
SelectionPluginContext
getPluginWorkspace
in interface SelectionPluginContext
SelectionPluginContext.getPluginWorkspace()
|
Oxygen XML Editor, Version 14.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |