com.eviware.soapui.impl.wsdl.panels.request.components.editor.support
Class AbstractEditorView

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.panels.request.components.editor.support.AbstractEditorView
All Implemented Interfaces:
XmlEditorView, XmlLocationListener, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener
Direct Known Subclasses:
XmlSourceEditorView

public abstract class AbstractEditorView
extends java.lang.Object
implements XmlEditorView, java.beans.PropertyChangeListener


Field Summary
 
Fields inherited from interface com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEditorView
TITLE_PROPERTY
 
Constructor Summary
AbstractEditorView(java.lang.String title)
           
 
Method Summary
 boolean activate(XmlLocation location)
           
 void addLocationListener(XmlLocationListener listener)
           
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
           
 boolean deactivate()
           
 void fireLocationChanged(XmlLocation location)
           
 XmlEditor getEditor()
           
 XmlLocation getLocation()
           
 java.lang.String getTitle()
           
 XmlDocument getXmlDocument()
           
 void init(XmlEditor editor)
           
 boolean isActive()
           
 void locationChanged(XmlLocation location)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void release()
           
 void removeLocationListener(XmlLocationListener listener)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)
           
 void requestFocus()
           
 void setLocation(XmlLocation location)
           
 void setTitle(java.lang.String title)
           
protected abstract  void setXml(java.lang.String xml)
           
 void setXmlDocument(XmlDocument xmlDocument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.impl.wsdl.panels.request.components.editor.XmlEditorView
getComponent, getViewId, isInspectable, saveDocument, setEditable
 

Constructor Detail

AbstractEditorView

public AbstractEditorView(java.lang.String title)
Method Detail

activate

public boolean activate(XmlLocation location)
Specified by:
activate in interface XmlEditorView

deactivate

public boolean deactivate()
Specified by:
deactivate in interface XmlEditorView

isActive

public boolean isActive()

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface XmlEditorView

setTitle

public void setTitle(java.lang.String title)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String propertyName,
                                      java.beans.PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface PropertyChangeNotifier

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface PropertyChangeNotifier

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface PropertyChangeNotifier

removePropertyChangeListener

public void removePropertyChangeListener(java.lang.String propertyName,
                                         java.beans.PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface PropertyChangeNotifier

getXmlDocument

public XmlDocument getXmlDocument()
Specified by:
getXmlDocument in interface XmlEditorView

setXmlDocument

public void setXmlDocument(XmlDocument xmlDocument)
Specified by:
setXmlDocument in interface XmlEditorView

propertyChange

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

setXml

protected abstract void setXml(java.lang.String xml)

release

public void release()
Specified by:
release in interface XmlEditorView

addLocationListener

public void addLocationListener(XmlLocationListener listener)
Specified by:
addLocationListener in interface XmlEditorView

removeLocationListener

public void removeLocationListener(XmlLocationListener listener)
Specified by:
removeLocationListener in interface XmlEditorView

fireLocationChanged

public void fireLocationChanged(XmlLocation location)

getLocation

public XmlLocation getLocation()
Specified by:
getLocation in interface XmlEditorView

setLocation

public void setLocation(XmlLocation location)
Specified by:
setLocation in interface XmlEditorView

locationChanged

public void locationChanged(XmlLocation location)
Specified by:
locationChanged in interface XmlLocationListener

init

public void init(XmlEditor editor)
Specified by:
init in interface XmlEditorView

getEditor

public XmlEditor getEditor()
Specified by:
getEditor in interface XmlEditorView

requestFocus

public void requestFocus()
Specified by:
requestFocus in interface XmlEditorView


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