public abstract class AbstractRestRepresentationsInspector extends AbstractXmlInspector implements PropertyChangeListener
logDESCRIPTION_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, showInPanelprotected AbstractRestRepresentationsInspector(RestMethod restMethod, String name, String description, RestRepresentation.Type[] types)
public JComponent getComponent()
getComponent in interface Inspectorprotected void addToToolbar(JXToolBar toolbar)
protected void buildUI()
public RestMethod getMethod()
public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor in interface EditorInspector<XmlDocument>isEnabledFor in interface XmlInspectorisEnabledFor in class AbstractXmlInspectorpublic boolean beforeSubmit(Submit submit, SubmitContext context)
public void release()
release in interface Inspectorrelease in class AbstractXmlInspectorpublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerCopyright © 2019. All Rights Reserved.