Iterator e= list.iterator();
while (e.hasNext()) {
IElementStateListener l= (IElementStateListener) e.next();
Iterator i= getElements(file);
while (i.hasNext())
l.elementContentAboutToBeReplaced(i.next());
}
}
/*
* @see org.eclipse.core.buffer.text.IBufferedFileListener#bufferContentReplaced(org.eclipse.core.buffer.text.IBufferedFile)