public class InferredSchemaInspector extends AbstractXmlInspector implements SubmitListener
Modifier and Type | Class and Description |
---|---|
class |
InferredSchemaInspector.Handler |
log
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
InferredSchemaInspector(RestRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
afterSubmit(Submit submit,
SubmitContext context)
Called after submittal of a request
|
boolean |
beforeSubmit(Submit submit,
SubmitContext context)
Called before submittal of a request
|
JComponent |
getComponent() |
RestRequest |
getRequest() |
boolean |
isEnabledFor(EditorView<XmlDocument> view) |
void |
release() |
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setIcon, setTitle, showInPanel
protected InferredSchemaInspector(RestRequest request)
public JComponent getComponent()
getComponent
in interface Inspector
public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor
in interface EditorInspector<XmlDocument>
isEnabledFor
in interface XmlInspector
isEnabledFor
in class AbstractXmlInspector
public void afterSubmit(Submit submit, SubmitContext context)
SubmitListener
afterSubmit
in interface SubmitListener
submit
- the submit.public boolean beforeSubmit(Submit submit, SubmitContext context)
SubmitListener
beforeSubmit
in interface SubmitListener
submit
- the submit being submittedpublic void release()
release
in interface Inspector
release
in class AbstractXmlInspector
public RestRequest getRequest()
Copyright © 2019. All Rights Reserved.