for (Object listener : mEditorInputListener.getListeners()) {
final ICasEditorInputListener inputListener =
(ICasEditorInputListener) listener;
SafeRunner.run(new SafeRunnable() {
public void run() {
inputListener.casDocumentChanged(oldInput, oldDocument, input, newDocument);
}
});
}