Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP Editor Part preferences
RCP Editor Part preferences [message #436185] Thu, 01 September 2005 20:31
Eclipse UserFriend
Originally posted by: mdshaffer.fhms.com

Hello out there....

I'm attempting to include a preference in my RCP app (not a plug in, so
it's a custom preference page using the org.eclipse.ui.preferencePages
extension point) that allows the user to alter the behavior of the editor
area, similar to the Eclipse IDE.

The user needs to be able to shift the editors from multiple tabs to only
one open at any time. In Eclipse, you do that by unchecking "Show
multiple editor tabs", checking "Close editors automatically" and setting
"Number of opened editors before closing" to 1. My preference will only
be a BooleanFieldEditor which will be read in
Perspective::createInitialLayout() or someplace similar.

So here's my question.. I need to either set some parameters on the
Editor Area or I need to change the Workbench properties like the ones
being used for Eclipse. Neither of these appear obvious to me. I can get
a string reference to the Editor Area via layout.getEditorArea(), but I've
been unsuccessful finding anything that resembles an object reference.
Nor have I found anything meaningful in extracting the way to get to the
Workbench's preference API…

Can anyone give me a hand here?

Thanks in advance.
Previous Topic:Reopening the workbench without restarting RCP platform - Kiosk mode
Next Topic:PlatformUI.getWorkbench().getHelpSystem().setHelp() in a dialog
Goto Forum:
  


Current Time: Mon Dec 02 23:40:18 GMT 2024

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

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

Back to the top