Plugins (1059)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 541
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
aw8266
Post subject: making views similar to Eclipse IDE  PostPosted: 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.
 
 View user's profile Send private message  
Reply with quote Back to top
aw8266
Post subject:   PostPosted: 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);
}
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits