IStatusLineManager statusLine= actionBars.getStatusLineManager(); if (statusLine != null) statusLine.setMessage(msg);
if (actionBars != null) { IStatusLineManager statusLine= actionBars.getStatusLineManager(); if (statusLine != null) statusLine.setMessage(msg); }
	private static void showMessage(Shell shell, IActionBars actionBars, String msg) {		IStatusLineManager statusLine= actionBars.getStatusLineManager();		if (statusLine != null)			statusLine.setMessage(msg);		shell.getDisplay().beep();	}