throw x;
}
// If here, the editor state will be flipped to "not dirty".
// Thus, the state changing flag will be reset.
ResourceMarkerAnnotationModel model = (ResourceMarkerAnnotationModel) input.getAnnotationModel();
if (model != null)
model.updateMarkers(document);
} else {
try {
monitor.beginTask("Saving ", 2000);
ContainerCreator creator = new ContainerCreator(
file.getWorkspace(), file.getParent().getFullPath());