Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Disable property tab contributed from navigator plugin
Disable property tab contributed from navigator plugin [message #1219183] Mon, 02 December 2013 14:11 Go to next message
S vacuum is currently offline S vacuumFriend
Messages: 2
Registered: December 2013
Junior Member
I need to hide propery tab called "Resources" contributed by plugin org.eclipse.ui.navigator.resources

This tab looks like this:



The description of this tab from plugin:

<extension
          point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
       <propertyContributor
             contributorId="org.eclipse.ui.navigator.ProjectExplorer"
             labelProvider="org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetTitleProvider">
          <propertyCategory category="general"/>
          <propertyCategory category="core"/>
          <propertyCategory category="appearance"/>
          <propertyCategory category="resource"/>
          <propertyCategory category="advanced"/>
       </propertyContributor>
    </extension>
    <extension
          point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
       <propertyTabs contributorId="org.eclipse.ui.navigator.ProjectExplorer">
          <propertyTab
                label="%Resource"
                category="resource"
                id="CommonNavigator.tab.Resource"/>
       </propertyTabs>
    </extension>

I want to hide this tab, so there will be visible only tab contributed by my plugin.

I have tried with activities disabling, but cannot find correct id or activityPatternBinding for this tab.
Re: Disable property tab contributed from navigator plugin [message #1219189 is a reply to message #1219183] Mon, 02 December 2013 14:34 Go to previous message
S vacuum is currently offline S vacuumFriend
Messages: 2
Registered: December 2013
Junior Member
I have tried activities like this, but is doesnt helps:

 <activityPatternBinding
        activityId="com.company.activities.hide"
        isEqualityPattern="true"
        pattern="org.eclipse.ui.navigator.resources/CommonNavigator.tab.Resource">
     </activityPatternBinding>


Image of tab I want to remove is attached.
  • Attachment: JcCRf[1].png
    (Size: 10.87KB, Downloaded 224 times)
Previous Topic:"Open" and "Open with" missing in context menu [additional info]
Next Topic:Debug Perspective not switching after clicking Yes on "Confirm Perspective switch"
Goto Forum:
  


Current Time: Tue Mar 19 04:39:24 GMT 2024

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

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

Back to the top