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

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

From: Stephen Elsemore <selsemore_at_collab.net>
Date: Wed, 1 Feb 2012 23:01:47 +0000

See Example 3 in the article that you linked to:

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

  The key is to filter based on projectNature. In the example, the filter will cause the contribution to only apply for Java projects:

   <filter
         name="projectNature"
         value="org.eclipse.jdt.core.javanature">
      </filter>

In your case, you'll need to figure out the value to use for ClearCase projects.

Steve

> -----Original Message-----
> From: mikael [mailto:mikael.petterson_at_ericsson.com]
> Sent: Tuesday, January 10, 2012 6:07 AM
> To: dev_at_subclipse.tigris.org
> Subject: [Subclipse-dev] actionSet available in Team menu for specific vcs
>
> 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%20Perspect
> ive
>
> 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&dsMessag
> eId=2907593
>
> To unsubscribe from this discussion, e-mail: [dev-
> unsubscribe_at_subclipse.tigris.org].

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2012-02-02 00:01:53 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.