Shared Status Line

来源:互联网 发布:小世界复杂网络模型 编辑:程序博客网 时间:2024/06/07 22:08

The shared message area can be used by all parts of theapplication towrite messages to this area.

Whole RCP application has access to theinformation in thesharedstatus line therefore the information inthe shared status line mightbeoverwritten.

The following write a text to the status line.

 




Run your application. You should now see the following.

 

Add a view with the implementation class "de.vogella.rcp.intro.statusline.ViewPart1" to yourapplication and your perspective. Thisview contains a button to set the status line.

 




If you run it the result should look like the following.

 


From an editor you can access the status line via thefollowing:

 




原创粉丝点击