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


Nested Class Summary
 class AbstractRestRepresentationsInspector.RepresentationsTableModel
           
 
Field Summary
 
Fields inherited from interface com.eviware.soapui.support.components.Inspector
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
 
Constructor Summary
protected AbstractRestRepresentationsInspector(RestRequest request, java.lang.String name, java.lang.String description, RestRepresentation.Type[] types)
           
 
Method Summary
 boolean beforeSubmit(Submit submit, SubmitContext context)
           
protected  JXToolBar buildToolbar()
           
protected  void buildUI()
           
 javax.swing.JComponent getComponent()
           
 RestRequest getRequest()
           
 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(RestRequest request,
                                               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

buildUI

protected void buildUI()

buildToolbar

protected JXToolBar buildToolbar()

getRequest

public RestRequest getRequest()

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-2008 eviware.com. All Rights Reserved.