Tuesday, May 12, 2015

Hiding certain UI elements from Eclipse RCP

We can achieve this by using "org.eclipse.ui.activities" extension point.

http://blog.vogella.com/2009/07/13/eclipse-activities/


We also use "Perspective Extensions" extension.
Example:
<extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="com.kk.StudioPerspective">
         <hiddenToolBarItem
               id="new.group">
         </hiddenToolBarItem>
      </perspectiveExtension>
   </extension>

No comments:

Post a Comment