IPath path = new Path(suiteStatus.getSuitePath());
Workspace w = (Workspace) ResourcesPlugin.getWorkspace();
File file = (File) w.newResource(path, IResource.FILE);
FileEditorInput input = new FileEditorInput(file);
try
{
int myFile = fefe(file.getContents(), getSelectedStatus(event).getTestName());
IWorkbenchPage activePage = PlatformUI
.getWorkbench()
.getActiveWorkbenchWindow()
.getActivePage();
HashMap map = new HashMap();
map.put(IMarker.LINE_NUMBER, new Integer(myFile));
map.put(IWorkbenchPage.EDITOR_ID_ATTR,
"org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart");
IMarker marker = file.createMarker(IMarker.TEXT);
marker.setAttributes(map);
//page.openEditor(marker); //2.1 API
IDE.openEditor(activePage, marker);
}