Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Table status bar
Table status bar [message #894997] Wed, 11 July 2012 11:18 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 821
Registered: October 2011
Senior Member
In an outline based application, there is a status bar on bottom of the main window.
index.php/fa/10663/0/

This Status Bar provides useful information on the selection in the table representing the content of the active page.


It is possible to display the same kind of information for another Table of a TableFied embedded in a normal Form ?

Take this example:
index.php/fa/10664/0/

The form has some header data, and some tabs with tables. The idea is to have on the bottom of the form, like in the main Window a Status bar that display information for the current focused tab.

Do you think this is possible ?

Could you provide some input to start with ?
Re: Table status bar [message #895016 is a reply to message #894997] Wed, 11 July 2012 12:24 Go to previous messageGo to next message
Florian Widmer is currently offline Florian WidmerFriend
Messages: 2
Registered: March 2012
Junior Member
setTableStatusVisible(true); 
OR
propertySupport.setPropertyBool(PROP_TABLE_STATUS_VISIBLE, true);


On AbstractTableField does the trick.

[edit always better to use public method]

[Updated on: Wed, 11 July 2012 12:35]

Report message to a moderator

Re: Table status bar [message #895116 is a reply to message #895016] Wed, 11 July 2012 18:06 Go to previous messageGo to next message
Lukas Huser is currently offline Lukas HuserFriend
Messages: 42
Registered: March 2010
Member
Instead of setting the status bar visibility dynamically, you can also use the Scout SDK to set the configuration property "Table Status Visible" on a TableField. Or do it manually by overriding the corresponding getConfiguredX method:

@Override
protected boolean getConfiguredTableStatusVisible() {
   return true;
}


Re: Table status bar [message #895249 is a reply to message #895116] Thu, 12 July 2012 09:16 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 821
Registered: October 2011
Senior Member
Thanks for your input. I was not aware of this possibility on the Table Field. I will update the wikipage: TableField.

index.php/fa/10680/0/

With the rayo look and feel, the color of the bar is not optimal (because of the other blue of the tab), but the information is there.

Thanks a lot.
Previous Topic:Ampersand does not underline a letter of the Menu
Next Topic:Main menu in SWT client
Goto Forum:
  


Current Time: Fri Dec 26 21:28:20 GMT 2014

Powered by FUDForum. Page generated in 0.01603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software