getErrorMessage());
// 5% work
IFile templateFile = jetGateWay.addTemplateToProject(mainPage.getProjectName() + "/src",
templateContent, monitor, (int) (0.05 * totalNoOfTicks));
// 15% work
jetGateWay.openFile(templateFile, getShell(), monitor, (int) (0.15 * totalNoOfTicks));
} catch(CoreException e) {
e.printStackTrace();
ExceptionHandler.throwCoreException(e.getMessage(), e);
} finally {
monitor.done();