com.eviware.soapui.impl.support.http
Class HttpRequestContentView

java.lang.Object
  extended by com.eviware.soapui.support.editor.views.AbstractXmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>
      extended by com.eviware.soapui.impl.support.http.HttpRequestContentView
All Implemented Interfaces:
EditorLocationListener<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>, EditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>, XmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
RestRequestContentView

public class HttpRequestContentView
extends AbstractXmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>
implements java.beans.PropertyChangeListener


Field Summary
 
Fields inherited from interface com.eviware.soapui.support.editor.EditorView
TITLE_PROPERTY
 
Constructor Summary
HttpRequestContentView(AbstractHttpXmlRequestDesktopPanel.HttpRequestMessageEditor httpRequestMessageEditor, HttpRequestInterface<?> httpRequest)
           
 
Method Summary
protected  void addMediaTypeCombo(JXToolBar toolbar)
           
protected  void addPostQueryCheckBox(JXToolBar toolbar)
           
protected  void buildComponent()
           
protected  java.awt.Component buildContent()
           
protected  RestParamsTable buildParamsTable()
           
protected  java.awt.Component buildToolbar()
           
 javax.swing.JComponent getComponent()
           
 RestParamsTable getParamsTable()
           
protected  java.lang.Object[] getRequestMediaTypes()
           
 HttpRequestInterface<?> getRestRequest()
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void release()
           
 boolean saveDocument(boolean validate)
           
 void setEditable(boolean enabled)
           
 void setXml(java.lang.String xml)
           
 
Methods inherited from class com.eviware.soapui.support.editor.views.AbstractXmlEditorView
activate, addLocationListener, addPropertyChangeListener, addPropertyChangeListener, deactivate, fireLocationChanged, getDocument, getEditor, getEditorLocation, getPropertyChangeSupport, getTitle, getViewId, getXml, isActive, isXmlChanged, locationChanged, removeLocationListener, removePropertyChangeListener, removePropertyChangeListener, requestFocus, setDocument, setLocation, setTitle, syncUpdates, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestContentView

public HttpRequestContentView(AbstractHttpXmlRequestDesktopPanel.HttpRequestMessageEditor httpRequestMessageEditor,
                              HttpRequestInterface<?> httpRequest)
Method Detail

getComponent

public javax.swing.JComponent getComponent()
Specified by:
getComponent in interface EditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

buildComponent

protected void buildComponent()

buildParamsTable

protected RestParamsTable buildParamsTable()

release

public void release()
Specified by:
release in interface EditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>
Overrides:
release in class AbstractXmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

getRestRequest

public HttpRequestInterface<?> getRestRequest()

buildContent

protected java.awt.Component buildContent()

buildToolbar

protected java.awt.Component buildToolbar()

addPostQueryCheckBox

protected void addPostQueryCheckBox(JXToolBar toolbar)

addMediaTypeCombo

protected void addMediaTypeCombo(JXToolBar toolbar)

getRequestMediaTypes

protected java.lang.Object[] getRequestMediaTypes()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class AbstractXmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

setXml

public void setXml(java.lang.String xml)
Specified by:
setXml in class AbstractXmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

saveDocument

public boolean saveDocument(boolean validate)
Specified by:
saveDocument in interface XmlEditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

setEditable

public void setEditable(boolean enabled)
Specified by:
setEditable in interface EditorView<AbstractHttpXmlRequestDesktopPanel.HttpRequestDocument>

getParamsTable

public RestParamsTable getParamsTable()


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