Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tabbed Property Pages in a Dialog
Tabbed Property Pages in a Dialog [message #901594] Mon, 13 August 2012 15:06
Brian Fitzpatrick is currently offline Brian FitzpatrickFriend
Messages: 500
Registered: July 2009
Senior Member
Hi all,

I've discovered how to open a standard property dialog ( and that works great.

However, I'm attempting to open a property dialog that hosts property tabs contributed via the "" set of extension points and running into troubles. I found an example that suggests using the PreferenceManager and internal PropertyDialog class to do this, but I can't figure out a way to get from a TabbedPropertySheetPage to a PropertyPage.

The example (modified a little) is something like this:

        ISelection sel = new StructuredSelection(bo);
        TabbedPropertySheetPage namepage = new TabbedPropertySheetPage(new ITabbedPropertySheetPageContributor() {
            public String getContributorId() {
                return "contributorId";
        PropertyPage page = null; // how do I get from a tabbed property sheet page to a PropertyPage?
        PreferenceManager mgr = new PreferenceManager();
        IPreferenceNode node = new PreferenceNode("1", page);
        PropertyDialog dialog = new PropertyDialog(shell, mgr, sel);

Is there an easier way to open a property dialog for objects with registered tabbed properties? Or how do I get from a TabbedPropertySheetPage to a PropertyPage?

Thanks in advance.
Previous Topic:Progress bar of progress group disappears
Next Topic:Change Event for IContentDescriber
Goto Forum:

Current Time: Sun May 27 19:58:57 GMT 2018

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

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

Back to the top