|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
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 String |
selection
The current selection. |
Constructor Summary | |
---|---|
SelectionPluginContextImpl()
Creates a no selection plugin context. |
|
SelectionPluginContextImpl(String selection,
Frame frame,
URL documentURL)
Creates the plugin context. |
Method Summary | |
---|---|
URL |
getDocumentURL()
Get the URL of the edited document. |
Frame |
getFrame()
Gets the frame for the PluginContextImpl. |
String |
getSelection()
Get the current selection. |
void |
setDocumentURL(URL documentURL)
Set the URL of the edited document. |
void |
setFrame(Frame frame)
Sets the parent frame for the PluginContextImpl. |
void |
setSelection(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 String selection
Constructor Detail |
---|
public SelectionPluginContextImpl()
public SelectionPluginContextImpl(String selection, Frame frame, URL documentURL)
selection
- The current selection string.frame
- The parent frame for the swing components.documentURL
- The URL of the edited document.Method Detail |
---|
public void setSelection(String selection)
selection
- The current selection.public void setFrame(Frame frame)
frame
- The new frame value.public void setDocumentURL(URL documentURL)
documentURL
- The URL of the edited document.public String getSelection()
getSelection
in interface SelectionPluginContext
public Frame getFrame()
getFrame
in interface SelectionPluginContext
public URL getDocumentURL()
SelectionPluginContext
getDocumentURL
in interface SelectionPluginContext
SelectionPluginContext.getDocumentURL()
|
Oxygen XML Editor, Version ${standalone-version-number} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |