Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Interface ISystemTextEditorContentsReplacedListener


public interface ISystemTextEditorContentsReplacedListener

There are a couple of ways the entire contents of the editor can be replaced. Some language models may want to be notified of this so they can maintain an accurate model. This can be accomplished by implementing ISystemTextEditorContentsReplacedListener and calling com.ibm.etools.systems.editor.SystemTextEditor#addEditorContentsReplacedListener(IEditorContentRseplacedListener). Then when the editor's contents are replaced the #editorContentsReplaced() method will be called.


Method Summary
 void editorContentsReplaced(LpexTextEditor editor)
          There are a couple of ways the entire contents of the editor can be replaced.
 

Method Detail

editorContentsReplaced

void editorContentsReplaced(LpexTextEditor editor)
There are a couple of ways the entire contents of the editor can be replaced. Some language models may want to be notified of this so they can maintain an accurate model. This can be accomplished by implementing IEditorContentReplacedListener and calling com.ibm.etools.systems.editor.SystemTextEditor#addEditorContentReplacedListener(IEditorContentReplacedListener). Then when the editor's contents are replaced the #editorContentsReplaced() method will be called.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.