Skip to content
Snippets Groups Projects
Commit a186b554 authored by Stefanie Gareis's avatar Stefanie Gareis
Browse files

forgot comments...

parent e9197d59
No related branches found
No related tags found
No related merge requests found
......@@ -30,12 +30,12 @@ import org.eclipse.ui.PlatformUI;
* Methods for accessing the status line
*
* @author gareis
* @author $Author: hoelzl $
* @author $Author: gareis $
* @version $Rev: 18709 $
* @ConQAT.Rating RED Hash:
*/
public class StatusUtils {
/** Returns a Status Line object of the current window */
public static IStatusLineManager getStatusLine() {
IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
......@@ -61,6 +61,8 @@ public class StatusUtils {
}
/** writes messages into the status line of the current window */
public static void setStatusMessage(String message) {
if(getStatusLine() != null)
getStatusLine().setMessage(message);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment