FindbugsPlugin.getViewDetails().setContent( marker.getAttribute("shortDescription", ""), marker.getAttribute("detailText", "")); } catch (PartInitException e) {
String bugType = (String) marker.getAttribute(FindBugsMarker.BUG_TYPE, ""); BugPattern pattern = I18N.instance().lookupBugPattern(bugType); if (pattern != null) { String shortDescription = pattern.getShortDescription(); String detailText = pattern.getDetailText(); FindbugsPlugin.getViewDetails().setContent(shortDescription, detailText); }  } catch (PartInitException e) {
	public void update() {		if (markers.size() > 0) {			//Obtain the current workbench page, and show the DetailsView			IWorkbenchPage[] pages = FindbugsPlugin.getDefault()					.getActiveWorkbenchWindow().getPages();			if (pages.length > 0) {				try {					pages[0].showView("de.tobject.findbugs.view.detailsview");					IMarker marker = (IMarker) markers.get(0);					FindbugsPlugin.getViewDetails().setContent(							marker.getAttribute("shortDescription", ""),							marker.getAttribute("detailText", ""));				} catch (PartInitException e) {					//TODO: log view exception				}			}		}	}