com.eviware.soapui.support.editor.support
Class AbstractEditorView<T extends EditorDocument>
java.lang.Object
com.eviware.soapui.support.editor.support.AbstractEditorView<T>
- All Implemented Interfaces:
- EditorLocationListener<T>, EditorView<T>, PropertyChangeNotifier
public abstract class AbstractEditorView<T extends EditorDocument>
- extends java.lang.Object
- implements EditorView<T>
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 |
AbstractEditorView
public AbstractEditorView(java.lang.String title,
Editor<T> editor,
java.lang.String viewId)
getPropertyChangeSupport
protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
getComponent
public javax.swing.JComponent getComponent()
- Specified by:
getComponent
in interface EditorView<T extends EditorDocument>
getViewId
public java.lang.String getViewId()
- Specified by:
getViewId
in interface EditorView<T extends EditorDocument>
requestFocus
public void requestFocus()
- Specified by:
requestFocus
in interface EditorView<T extends EditorDocument>
buildUI
public abstract javax.swing.JComponent buildUI()
activate
public boolean activate(EditorLocation<T> location)
- Specified by:
activate
in interface EditorView<T extends EditorDocument>
deactivate
public boolean deactivate()
- Specified by:
deactivate
in interface EditorView<T extends EditorDocument>
isActive
public boolean isActive()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface EditorView<T extends EditorDocument>
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 EditorDocument>
setDocument
public void setDocument(T xmlDocument)
- Specified by:
setDocument
in interface EditorView<T extends EditorDocument>
release
public void release()
- Specified by:
release
in interface EditorView<T extends EditorDocument>
addLocationListener
public void addLocationListener(EditorLocationListener<T> listener)
- Specified by:
addLocationListener
in interface EditorView<T extends EditorDocument>
removeLocationListener
public void removeLocationListener(EditorLocationListener<T> listener)
- Specified by:
removeLocationListener
in interface EditorView<T extends EditorDocument>
fireLocationChanged
public void fireLocationChanged(EditorLocation<T> location)
getEditorLocation
public EditorLocation<T> getEditorLocation()
- Specified by:
getEditorLocation
in interface EditorView<T extends EditorDocument>
setLocation
public void setLocation(EditorLocation<T> location)
- Specified by:
setLocation
in interface EditorView<T extends EditorDocument>
locationChanged
public void locationChanged(EditorLocation<T> location)
- Specified by:
locationChanged
in interface EditorLocationListener<T extends EditorDocument>
getEditor
public Editor<T> getEditor()
- Specified by:
getEditor
in interface EditorView<T extends EditorDocument>
setEditable
public void setEditable(boolean enabled)
- Specified by:
setEditable
in interface EditorView<T extends EditorDocument>
Copyright © 2005-2008 eviware.com. All Rights Reserved.