| Author |
Message |
|
|
Post subject: making views similar to Eclipse IDE
Posted: Jan 24, 2007 - 05:29 PM
|
|
Joined: Jan 24, 2007
Posts: 2
|
|
I'm trying to get my Views to look and behave exactly how they appear in the Eclipse IDE. CTabFolder has the look and feel that I want, but I am unclear how CTabFolder & Views work together to achieve this look and behavior. I can get CTabFolder to work fine by itself with just some random tabs added and the setSimple(false) to achieve the "swoosh" look. Also, I've noticed IFolderLayout, but haven't figured out if it is going to help me.
How do do I make my views look & behave just like tabs within CTabFolder and mimic the Eclipse IDE exactly? Thanks. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 25, 2007 - 12:00 PM
|
|
Joined: Jan 24, 2007
Posts: 2
|
|
FYI, found it myself. I was going about it the wrong way. Just like most things with Eclipse/SWT/JFace...this couldn't be found in any documentation or on Google, Eclipse.com, etc and was completely counter-intuitive. The way I found out was basically like usual - stumble upon a random post after days of searching. Anyway, Eclipse it IS cool once you figure out how to do something...
/**
* @see WorkbenchWindowAdvisor#preWindowOpen()
*/
public void preWindowOpen()
{
PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
} |
|
|
| |
|
|
|
 |
|
|
| |