[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-dev] actionSet available in Team menu for specific vcs

From: mikael <mikael.petterson_at_ericsson.com>
Date: Tue, 10 Jan 2012 06:07:02 -0800 (PST)

Hi,

I am developing an open source Eclipse clearcase plugin.
People work with different vcs in the same workspace like cvs, svn and clearcase ...
And a point I got was from a svn user that got his Team menu cluttered with clearcase command when working with svn repos.

I have read the article about it:

http://www.eclipse.org/articles/article.php?file=Article-action-contribution/index.html

that recommended this:

http://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html#Extend%20an%20Existing%20Perspective

So I already have an actionSet with id="net.sourceforge.eclipseccase.ui.actionset" and I tried to extend perspective:

<extension point="org.eclipse.ui.perspectiveExtensions">
          <perspectiveExtension targetID="net.sourceforge.eclipseccase.ui.perspective.ClearCase">
               <actionSet id="net.sourceforge.eclipseccase.ui.actionset"/>
          </perspectiveExtension>
        </extension>

But when I select a svn project I still have my clearcase options in the menu and it does not look nice since it's cluttering for users.

What am I missing to have my actionset for clearcase in only for clearcase repos?

All hints are very much appreciated.

br,

//mike

Ps. Attached file is for cvs but it works the same for svn.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=2907593

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].

cluttering_menu.JPG
Received on 2012-01-10 15:15:02 CET

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.