RCP Editor Part preferences [message #436185] |
Thu, 01 September 2005 20:31 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03167 seconds