ISourceModelEvent Interface

com.bea.ide.sourceeditor.model
ISourceModelEvent Interface

public interface ISourceModelEvent

A source model event indicates that the text of the source model has changed in some way. Changes include text changes and line attribute changes. See ISourceModelListener and <code>ISourceModel.addSourceModelListener</code> for more information.

Nested Class Summary

public static final classISourceModelEvent.EventType
           The type of change indicated by the event.

Method Summary

public int
getLength()
Returns the length of change indicated by the event
public int
getOffset()
Returns the character offset of the event
public ISourceModelEvent.EventType
getType()
Returns the type of change indicated by the event
public boolean
isComplierSignificant()
Returns a boolean indicating if the change that will be passed to the compiler.

Method Detail

getLength() Method

public int getLength()
Returns the length of change indicated by the event


getOffset() Method

public int getOffset()
Returns the character offset of the event


getType() Method

public ISourceModelEvent.EventType getType()
Returns the type of change indicated by the event


isComplierSignificant() Method

public boolean isComplierSignificant()
Returns a boolean indicating if the change that will be passed to the compiler. Text-based changes are always compiler-significant. Changes to line attributes are not.