public abstract class AbstractRestRepresentationsInspector extends AbstractXmlInspector implements PropertyChangeListener
log
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
AbstractRestRepresentationsInspector(RestMethod restMethod,
String name,
String description,
RestRepresentation.Type[] types) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToToolbar(JXToolBar toolbar) |
boolean |
beforeSubmit(Submit submit,
SubmitContext context) |
protected void |
buildUI() |
JComponent |
getComponent() |
RestMethod |
getMethod() |
boolean |
isEnabledFor(EditorView<XmlDocument> view) |
void |
propertyChange(PropertyChangeEvent evt) |
void |
release() |
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setIcon, setTitle, showInPanel
protected AbstractRestRepresentationsInspector(RestMethod restMethod, String name, String description, RestRepresentation.Type[] types)
public JComponent getComponent()
getComponent
in interface Inspector
protected void addToToolbar(JXToolBar toolbar)
protected void buildUI()
public RestMethod getMethod()
public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor
in interface EditorInspector<XmlDocument>
isEnabledFor
in interface XmlInspector
isEnabledFor
in class AbstractXmlInspector
public boolean beforeSubmit(Submit submit, SubmitContext context)
public void release()
release
in interface Inspector
release
in class AbstractXmlInspector
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
Copyright © 2019. All Rights Reserved.