Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Change default visibility of a column
Change default visibility of a column [message #580313] Fri, 09 April 2010 12:32
Alex Schroeder is currently offline Alex SchroederFriend
Messages: 38
Registered: February 2010
Location: Z├╝rich, Switzerland

I have a table page that is shown below a project and on its own. When shown below a project, I want the country column to be invisible:

public void execInitPage() throws ProcessingException {
getTable().getCountryColumn().setVisible(getProjectNr()==nul l);

My problem was that hitting the reset menu from the column headers will revert the column to its default configured state (ie. the visible property of the column) ignoring the code in execInitPage.

What is the recommended practice in this situation?

Right now I use the following on the column level in addition to the above:

public boolean getConfiguredVisible() {
return getProjectNr()==null;

The SDK shows this as "Unaccepted value!" but it works. :)
Previous Topic:Interested Parties
Next Topic:Re: Change default visibility of a column
Goto Forum:

Current Time: Sat Oct 10 16:18:04 GMT 2015

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

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