com.eviware.soapui.support.editor.views
Class AbstractXmlEditorView<T extends XmlDocument>
java.lang.Object
com.eviware.soapui.support.editor.views.AbstractXmlEditorView<T>
- All Implemented Interfaces:
- EditorLocationListener<T>, EditorView<T>, XmlEditorView<T>, PropertyChangeNotifier, java.beans.PropertyChangeListener, java.util.EventListener
- Direct Known Subclasses:
- RawXmlEditor, RestHtmlResponseView, RestJsonResponseView, RestRequestContentView, RestRequestParamsView, XmlSourceEditorView
public abstract class AbstractXmlEditorView<T extends XmlDocument>
- extends java.lang.Object
- implements XmlEditorView<T>, java.beans.PropertyChangeListener
Abstract base-class to be extended by XmlViews
- Author:
- ole.matzura
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractXmlEditorView
public AbstractXmlEditorView(java.lang.String title,
XmlEditor<T> xmlEditor,
java.lang.String viewId)
getPropertyChangeSupport
protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
getViewId
public java.lang.String getViewId()
- Specified by:
getViewId
in interface EditorView<T extends XmlDocument>
activate
public boolean activate(EditorLocation<T> location)
- Specified by:
activate
in interface EditorView<T extends XmlDocument>
update
public void update()
isXmlChanged
public boolean isXmlChanged()
deactivate
public boolean deactivate()
- Specified by:
deactivate
in interface EditorView<T extends XmlDocument>
isActive
public boolean isActive()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface EditorView<T extends XmlDocument>
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
getDocument
public T getDocument()
- Specified by:
getDocument
in interface EditorView<T extends XmlDocument>
setDocument
public void setDocument(T xmlDocument)
- Specified by:
setDocument
in interface EditorView<T extends XmlDocument>
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
setXml
public abstract void setXml(java.lang.String xml)
release
public void release()
- Specified by:
release
in interface EditorView<T extends XmlDocument>
addLocationListener
public void addLocationListener(EditorLocationListener<T> listener)
- Specified by:
addLocationListener
in interface EditorView<T extends XmlDocument>
removeLocationListener
public void removeLocationListener(EditorLocationListener<T> listener)
- Specified by:
removeLocationListener
in interface EditorView<T extends XmlDocument>
fireLocationChanged
public void fireLocationChanged(EditorLocation<T> location)
getEditorLocation
public EditorLocation<T> getEditorLocation()
- Specified by:
getEditorLocation
in interface EditorView<T extends XmlDocument>
getXml
public java.lang.String getXml()
setLocation
public void setLocation(EditorLocation<T> location)
- Specified by:
setLocation
in interface EditorView<T extends XmlDocument>
locationChanged
public void locationChanged(EditorLocation<T> location)
- Specified by:
locationChanged
in interface EditorLocationListener<T extends XmlDocument>
syncUpdates
public void syncUpdates()
getEditor
public XmlEditor<T> getEditor()
- Specified by:
getEditor
in interface EditorView<T extends XmlDocument>
requestFocus
public void requestFocus()
- Specified by:
requestFocus
in interface EditorView<T extends XmlDocument>
Copyright © 2005-2008 eviware.com. All Rights Reserved.