IWorkBenchPropertyPages and disabling/enabling based on content [message #335074] |
Fri, 20 March 2009 09:22  |
Eclipse User |
|
|
|
I have a plugin that displays information in a tree format. The
functionality I have right now has four different
org.eclipse.ui.propertyPages that show up when someone right mouse clicks
on the nodes and selects "Properties".
The issue that I am having is that I want only one of the properties pages
to appear based on the content of one node, and four properties pages to
appear based on the content of a different type of node.
From the available options on the Extension Element Details part of the
Extensions page for the plugin I wasn't able to see any type of option
setting or class that I could use to manage making this determination.
I tried using setVisible(false) in the page itself but this apparently had
no effect on whether the page would be loaded into the preferences pane.
Does anyone know how to programmatically change the contents of the list
of preference pages at runtime? Thanks in advance,
Andy
PS to the mods: I had this question in eclipse.platform.rcp but no one
answered it so I thought I would try this group. Please delete the other
one. Thanks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03216 seconds