com.eviware.soapui.support
Interface EditorModel

All Known Implementing Classes:
AbstractEditorModel, ModelItemPropertyEditorModel

public interface EditorModel

Basic EditorModel for soapUI editors


Nested Class Summary
static interface EditorModel.EditorModelListener
          Interface for listeners to editor text changes
 
Method Summary
 void addEditorModelListener(EditorModel.EditorModelListener editorModelListener)
          Adds a listener for text changes
 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 removeEditorModelListener(EditorModel.EditorModelListener editorModelListener)
          Removes a listener for text changes
 void setEditorText(java.lang.String text)
          Save the text in the editor, usually called when the contents of the editor have changed
 

Method Detail

getSettings

Settings getSettings()
Return the settings to use for storing customizations (line-numbers, etc)

Returns:
the settings to use

getEditorText

java.lang.String getEditorText()
Returns the text to display in the editor

Returns:
the text to display in the editor

setEditorText

void setEditorText(java.lang.String text)
Save the text in the editor, usually called when the contents of the editor have changed

Parameters:
text - the editor text to save

addEditorModelListener

void addEditorModelListener(EditorModel.EditorModelListener editorModelListener)
Adds a listener for text changes

Parameters:
editorModelListener -

removeEditorModelListener

void removeEditorModelListener(EditorModel.EditorModelListener editorModelListener)
Removes a listener for text changes

Parameters:
editorModelListener -


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