Trouble maximizing tab
I'm using java in eclipse working on a tabs within perspectives type of GUI.
I am trying to get a tab that is within another window to maximize when certain options are chosen.
looked as though it would work when put inside the listener and when I run the program the line definately gets hit but nothing happens. I read that the shell concerns the main window in the app, so I know I'm hitting way to high, how do I get at the components inside. There doesn't seem to be a set max accessable through the 3 or 4 classes involved in the page.
The page I'm trying to display is part of a presenter. I thought it would be part of a Tabfolder but I see no reference to one of those.
Unfortunately the person who wrote the code has moved on and cannot explain what was actually used. Does anyone have any hints of what I should be looking for?
What classes are you working with? I don't see setMaximized() in the java 1.6 API doc.
The classes I'm using are eclipse specific, I think, ISearchResult, IWorkbenchPart, IPageLayout. IPageLayout seems to be the key location for building the tab that i want to maximize. But the tab class doesn't seem to be used. The layout simply places the specified components on the bottom half of the screen.