Open main menu

CDOT Wiki β

Changes

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

583 bytes added, 10:55, 4 March 2011
no edit summary
</pre>
1.3 Run the application you should see the following:<br/>
[[Image: StatusLine.png | 500px400px]]<br/>1.4 Change the status line from <code>StudentsView.java</code>. Add the following method to this class:<br/> <pre> private void setStatusLine(String message) { // Get the status line and set the text IActionBars bars = getViewSite().getActionBars(); bars.getStatusLineManager().setMessage(message); } </pre>Use this method to change text in status line. In the <code>createColumn()</code> method insert the following line at the end of column's <code>update()</code> method:</br> <code>setStatusLine("Student search has been updated");</code>
1
edit