Can't see sample tab and section [message #147770] |
Fri, 18 November 2005 15:13 |
Eclipse User |
|
|
|
Originally posted by: bob.donovan.ugs.com
Hello,
I am trying to create my own Tabbed Property Views. As an experiement, I
created a sample plugin which creates the sample TreeView. The tree view
is composed of TreeObjects.
I have setup the following plugin.xml to get a custom property Tab called
"One" to show a section class "com.propertytab.sample.section.OneSection".
The section responds to "TreeObject" input.
When I try it, nothing happens in the properties view. I just see the
standard properties view. I even tried setting the input to IProject, or
something common, but this does work either.
I have tried digging through the GMF example buts it seems very
complicated. And the WSDL example source is not provided with the WTP
project plugins, so I still trying to figure out how to dig further into
this.
Just hoping for some assistance or push in the right direction.
Thanks for the help, Bob
<extension
point="org.eclipse.wst.common.ui.properties.propertyContributor ">
<propertyContributor
contributorId="com.propertytab.sample"
sectionDescriptorProvider=" com.propertytab.sample.section.SampleSectionDescriptorProvid er "
typeMapper="com.propertytab.sample.section.SampeTypeMapper"
labelProvider="com.propertytab.sample.section.SampleLabelProvider ">
<propertyCategory category="One"/>
</propertyContributor>
</extension>
<extension
point="org.eclipse.wst.common.ui.properties.propertyTabs">
<propertyTabs contributorId="com.propertytab.sample">
<propertyTab
category="One"
id="sample.tab.One"
label="%One"/>
</propertyTabs>
</extension>
<extension
point="org.eclipse.wst.common.ui.properties.propertySections ">
<propertySections contributorId="com.propertytab.sample">
<propertySection
class="com.propertytab.sample.section.OneSection"
id="com.propertytab.sample.oneSection"
tab="sample.tab.One">
<input type="sampleViewer.views.TreeObject"/>
</propertySection>
</propertySections>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.05358 seconds