if (p == null) {
return false; // error displayed already
}
container.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
CurrentPathProvider.currentPathProvider.setCurrentPath(f);
boolean loadIsOk = p.processFile(f, Plugin.OPEN);
container.setCursor(Cursor.getDefaultCursor());
if (loadIsOk) {
setStatus(messageWriter.print1args("fileLoadSuccessful", f.getName()));
} else {
setStatus(messageWriter.print1args("fileLoadFailed", f.getName()));