Interface ICasEditorInputListener
public interface ICasEditorInputListener
The listener interface for receiving ICasEditorInput events. The class that is interested in
processing a ICasEditorInput event implements this interface, and the object created with that
class is registered with a component using the component's
addICasEditorInputListener method. When the ICasEditorInput event occurs, that
object's appropriate method is invoked.-
Method Summary
Modifier and TypeMethodDescriptionvoidcasDocumentChanged(org.eclipse.ui.IEditorInput oldInput, ICasDocument oldDocument, org.eclipse.ui.IEditorInput newInput, ICasDocument newDocument) This method is called if anICasDocumentis exchanged.
-
Method Details
-
casDocumentChanged
void casDocumentChanged(org.eclipse.ui.IEditorInput oldInput, ICasDocument oldDocument, org.eclipse.ui.IEditorInput newInput, ICasDocument newDocument) This method is called if anICasDocumentis exchanged. The arguments of this methods can be null under certain circumstances. For example, if a document is opened where the type system cannot be found for, then the new document will be null.- Parameters:
oldInput- the old inputoldDocument- - the replaced, old documentICasDocument.newInput- the new inputnewDocument- - the new, current documentICasDocument.
-