[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Show In functionality

Egis,

You need to define a perspective extension. The Team plug-in does a similar thing. Here is the snippet taken from the plugin.xml:

   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
         <perspectiveShortcut
               id="org.eclipse.team.ui.TeamSynchronizingPerspective">
         </perspectiveShortcut>
         <showInPart
               id="org.eclipse.team.ui.GenericHistoryView">
         </showInPart>
      </perspectiveExtension>
   </extension>

Michael

Egidijus Vaisnora wrote:
Hello,

Have anybody met with need to add your own "Show in" action in the list? I have successfully implemented "Show in" between my own views with "IShowInTargetList", "IShowInSource" interfaces, but how can I extend "Package Explorer" or "Navigator" "show in" list with some additional MY menus? I noticed that somehow jdt plugins extends "Navigator" view with "Show In package explorer", but how it could be done?

Best Regards,
--
Egis