protected void report(final String message) { JDIDebugUIPlugin.getStandardDisplay() .asyncExec( new Runnable() { public void run() { if (fStatusLine != null) { fStatusLine.setMessage(true, message, null); } if (message != null && JDIDebugUIPlugin.getActiveWorkbenchShell() != null) { Display.getCurrent().beep(); } } }); }
@Override public Font getFont(Object element) { if (fVMList.getChecked(element)) { if (bold == null) { Font dialogFont = JFaceResources.getDialogFont(); FontData[] fontData = dialogFont.getFontData(); for (int i = 0; i < fontData.length; i++) { FontData data = fontData[i]; data.setStyle(SWT.BOLD); } Display display = JDIDebugUIPlugin.getStandardDisplay(); bold = new Font(display, fontData); } return bold; } return null; }