Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP, default preferences
RCP, default preferences [message #448855] Fri, 05 May 2006 08:24 Go to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

Hello!
I'm developping a RCP application where I can display the preferences page.
I would like to know if it's possible to change the default values of this page (the one I'm interested in is the "General"->"Appearence"->"show traditional style tabs" which is at true by default, I would like it to be at false).
Thanks by advance!
Re: RCP, default preferences [message #448904 is a reply to message #448855] Sun, 07 May 2006 07:03 Go to previous message
Eclipse UserFriend
Originally posted by: tom.seidel.javawiki.org

Hi,

overwrite the Method #initialize(IWorkbenchConfigurer configurer) in
your ApplicationWorkbenchAdvisor

public void initialize(IWorkbenchConfigurer configurer) {
IPreferenceStore apiStore = PrefUtil.getAPIPreferenceStore();
apiStore.setValue(IWorkbenchPreferenceConstants.SHOW_TRADITI ONAL_STYLE_TABS,
false);

}

Cheerz,
Tom

C. BOUDJENNAH wrote:
> Hello!
> I'm developping a RCP application where I can display the preferences page.
> I would like to know if it's possible to change the default values of this page (the one I'm interested in is the "General"->"Appearence"->"show traditional style tabs" which is at true by default, I would like it to be at false).
> Thanks by advance!
Previous Topic:RCP ToolProvider Problem
Next Topic:Open View from Dialog
Goto Forum:
  


Current Time: Sun Aug 31 19:15:05 EDT 2025

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

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

Back to the top