com.eviware.soapui.impl.rest.panels.request.inspectors.representations
Class AbstractRestRepresentationsInspector

java.lang.Object
  extended by com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
      extended by com.eviware.soapui.impl.rest.panels.request.inspectors.representations.AbstractRestRepresentationsInspector
All Implemented Interfaces:
Inspector, EditorInspector<XmlDocument>, EditorLocationListener<XmlDocument>, XmlInspector, java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
RestRequestRepresentationsInspector, RestResponseRepresentationsInspector

public abstract class AbstractRestRepresentationsInspector
extends AbstractXmlInspector
implements java.beans.PropertyChangeListener


Field Summary
 
Fields inherited from interface com.eviware.soapui.support.components.Inspector
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
 
Constructor Summary
protected AbstractRestRepresentationsInspector(RestMethod restMethod, java.lang.String name, java.lang.String description, RestRepresentation.Type[] types)
           
 
Method Summary
protected  void addToToolbar(JXToolBar toolbar)
           
 boolean beforeSubmit(Submit submit, SubmitContext context)
           
protected  void buildUI()
           
 javax.swing.JComponent getComponent()
           
 RestMethod getMethod()
           
 boolean isEnabledFor(EditorView<XmlDocument> view)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void release()
           
 
Methods inherited from class com.eviware.soapui.support.editor.inspectors.AbstractXmlInspector
activate, addPropertyChangeListener, deactivate, getDescription, getEditor, getIcon, getInspectorId, getTitle, init, isActive, isContentHandler, isEnabled, locationChanged, removePropertyChangeListener, setDescription, setEnabled, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRestRepresentationsInspector

protected AbstractRestRepresentationsInspector(RestMethod restMethod,
                                               java.lang.String name,
                                               java.lang.String description,
                                               RestRepresentation.Type[] types)
Method Detail

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface Inspector

addToToolbar

protected void addToToolbar(JXToolBar toolbar)

buildUI

protected void buildUI()

getMethod

public RestMethod getMethod()

isEnabledFor

public boolean isEnabledFor(EditorView<XmlDocument> view)
Specified by:
isEnabledFor in interface EditorInspector<XmlDocument>
Specified by:
isEnabledFor in interface XmlInspector
Overrides:
isEnabledFor in class AbstractXmlInspector

beforeSubmit

public boolean beforeSubmit(Submit submit,
                            SubmitContext context)

release

public void release()
Specified by:
release in interface Inspector
Overrides:
release in class AbstractXmlInspector

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener


Copyright © 2005-2009 eviware.com. All Rights Reserved.