|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.morpho.editor.EditorPlugin
Constructor Summary | |
EditorPlugin()
Construct the editor plugin. |
Method Summary | |
void |
fireEditingCanceledEvent(DocFrame doc,
java.lang.String xmlString)
Fire off notifications to EditingCanceledListeners when the editing has been completed |
void |
fireEditingCompleteEvent(DocFrame doc,
java.lang.String xmlString)
Fire off notifications to EditingCompleteListeners when the editing has been completed |
java.lang.Object |
getClipboardObject()
|
void |
initialize(Morpho morpho)
The plugin must store a reference to Morpho in order to be able to call the services available through the framework. |
void |
openEditor(java.lang.String xmlText)
This method is called to open a XML editor that resides either |
void |
openEditor(java.lang.String xmlText,
EditingCompleteListener listener)
|
void |
openEditor(java.lang.String xmlText,
java.lang.String id,
java.lang.String location,
EditingCompleteListener listener)
This method is called to open a XML editor with the indicated xmltext and an editingCompletedListener to be notified when the editing is completed |
void |
openEditor(java.lang.String xmlText,
java.lang.String id,
java.lang.String location,
EditingCompleteListener listener,
boolean template)
This method is called to open a XML editor with the indicated xmltext and an editingCompletedListener to be notified when the editing is completed. |
void |
openEditor(java.lang.String xmlText,
java.lang.String id,
java.lang.String location,
java.lang.String nodeName,
java.lang.String nodeValue,
EditingCompleteListener listener)
This method is called to open a XML editor with the indicated xmltext and an editingCompletedListener to be notified when the editing is completed, the nodename and nodevalue parameters indicated node to be selected when documement is opened |
void |
setClipboardObject(java.lang.Object node)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EditorPlugin()
Method Detail |
public void initialize(Morpho morpho)
initialize
in interface PluginInterface
public void fireEditingCompleteEvent(DocFrame doc, java.lang.String xmlString)
public void fireEditingCanceledEvent(DocFrame doc, java.lang.String xmlString)
public void openEditor(java.lang.String xmlText)
EditorInterface
openEditor
in interface EditorInterface
edu.ucsb.nceas.morpho.framework.EditorInterface
xmltext
- is the xml to be edited in the form of a Stringpublic void openEditor(java.lang.String xmlText, java.lang.String id, java.lang.String location, EditingCompleteListener listener)
EditorInterface
openEditor
in interface EditorInterface
public void openEditor(java.lang.String xmlText, java.lang.String id, java.lang.String location, EditingCompleteListener listener, boolean template)
EditorInterface
openEditor
in interface EditorInterface
public void openEditor(java.lang.String xmlText, EditingCompleteListener listener)
public void openEditor(java.lang.String xmlText, java.lang.String id, java.lang.String location, java.lang.String nodeName, java.lang.String nodeValue, EditingCompleteListener listener)
EditorInterface
openEditor
in interface EditorInterface
public java.lang.Object getClipboardObject()
public void setClipboardObject(java.lang.Object node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |