catch(CoreException cex) {
; // TODO: is there any other option?
}
}
else {
IFile file= (IFile) workspace.newResource(filePath, IResource.FILE);
if(null == file) return;
try {
file.refreshLocal(IResource.DEPTH_ZERO, progressMonitor);
openEditor(file);
}