Changes

Jump to: navigation, search

Teams Winter 2011/team1/RCP/Define and use JFace

586 bytes added, 11:44, 4 March 2011
Created page with '=== 1. Adding status line === 1.1 Open <code>ApplicationWorkbenchWindowAdvisor.java</code> file in your project and add the following line at the end of <code>preWindowOpen()</co…'
=== 1. Adding status line ===
1.1 Open <code>ApplicationWorkbenchWindowAdvisor.java</code> file in your project and add the following line at the end of <code>preWindowOpen()</code> method:<br/>
<code>configurer.setShowStatusLine(true); </code>
1.2 Add a new method to this class to set text in status line from different parts of application:<br/>
<pre>
@Override
public void postWindowOpen() {
IStatusLineManager statusline = getWindowConfigurer().getActionBarConfigurer().getStatusLineManager();
statusline.setMessage(null, "Status line is ready");
}
</pre>
1
edit

Navigation menu