com.eviware.soapui.support
Class ModelItemPropertyEditorModel<T extends ModelItem>

java.lang.Object
  extended by com.eviware.soapui.support.AbstractEditorModel
      extended by com.eviware.soapui.support.ModelItemPropertyEditorModel<T>
All Implemented Interfaces:
EditorModel, java.beans.PropertyChangeListener, java.util.EventListener

public class ModelItemPropertyEditorModel<T extends ModelItem>
extends AbstractEditorModel
implements java.beans.PropertyChangeListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.eviware.soapui.support.EditorModel
EditorModel.EditorModelListener
 
Constructor Summary
ModelItemPropertyEditorModel(T modelItem, java.lang.String propertyName)
           
 
Method Summary
 java.lang.String getEditorText()
          Returns the text to display in the editor
 Settings getSettings()
          Return the settings to use for storing customizations (line-numbers, etc)
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void release()
           
 void setEditorText(java.lang.String text)
          Save the text in the editor, usually called when the contents of the editor have changed
 
Methods inherited from class com.eviware.soapui.support.AbstractEditorModel
addEditorModelListener, fireEditorTextChanged, removeEditorModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelItemPropertyEditorModel

public ModelItemPropertyEditorModel(T modelItem,
                                    java.lang.String propertyName)
Method Detail

getSettings

public Settings getSettings()
Description copied from interface: EditorModel
Return the settings to use for storing customizations (line-numbers, etc)

Specified by:
getSettings in interface EditorModel
Returns:
the settings to use

getEditorText

public java.lang.String getEditorText()
Description copied from interface: EditorModel
Returns the text to display in the editor

Specified by:
getEditorText in interface EditorModel
Returns:
the text to display in the editor

setEditorText

public void setEditorText(java.lang.String text)
Description copied from interface: EditorModel
Save the text in the editor, usually called when the contents of the editor have changed

Specified by:
setEditorText in interface EditorModel
Parameters:
text - the editor text to save

release

public void release()
Overrides:
release in class AbstractEditorModel

propertyChange

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


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