public abstract class RawXmlEditor<T extends XmlDocument> extends AbstractXmlEditorView<T>
TITLE_PROPERTY
Constructor and Description |
---|
RawXmlEditor(String title,
XmlEditor<T> xmlEditor,
String tooltip) |
Modifier and Type | Method and Description |
---|---|
void |
documentUpdated()
Called when document content is updated.
|
JComponent |
getComponent() |
abstract String |
getContent() |
boolean |
isInspectable() |
boolean |
saveDocument(boolean validate) |
void |
setEditable(boolean enabled) |
activate, addLocationListener, addPropertyChangeListener, addPropertyChangeListener, deactivate, fireLocationChanged, getDocument, getEditor, getEditorLocation, getPropertyChangeSupport, getTitle, getViewId, getXml, isActive, locationChanged, propertyChange, release, removeLocationListener, removePropertyChangeListener, removePropertyChangeListener, requestFocus, setDocument, setLocation, setTitle, syncUpdates, update
public void documentUpdated()
AbstractXmlEditorView
documentUpdated
in class AbstractXmlEditorView<T extends XmlDocument>
public abstract String getContent()
public JComponent getComponent()
public boolean isInspectable()
public boolean saveDocument(boolean validate)
public void setEditable(boolean enabled)
Copyright © 2019. All Rights Reserved.