Login | Register
My pages Projects Community openCollabNet

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

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

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

Author selsemore
Full name Stephen Elsemore
Date 2012-02-01 15:01:48 PST
Message See Example 3 in the article that you linked to:

http://www.eclipse.o​rg/articles/article.​php?file=Article-act​ion-contribution/ind​ex.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.j​dt.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.pette​rson at ericsson dot com]
> Sent: Tuesday, January 10, 2012 6:07 AM
> To: dev at subclipse dot tigris dot 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.o​rg/articles/article.​php?file=Article-act​ion-
> contribution/index.html
>
> that recommended this:
>
> http://www.eclipse.o​rg/articles/using-
> perspectives/Perspec​tiveArticle.html#Ext​end%20an%20Existing%​20Perspect
> ive
>
> So I already have an actionSet with
> id="net.sourceforge.​eclipseccase.ui.acti​onset" and I tried to extend
> perspective:
>
> <extension point="org.eclipse.u​i.perspectiveExtensi​ons">
> <perspectiveExtension
> targetID="net.source​forge.eclipseccase.u​i.perspective.ClearC​ase">
> <actionSet id="net.sourceforge.​eclipseccase.ui.acti​onset"/>
> </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.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1043​&dsMessag
> eId=2907593
>
> To unsubscribe from this discussion, e-mail: [dev-
> unsubscribe@subclips​e.tigris.org].

« Previous message in topic | 2 of 2 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-dev] actionSet available in Team menu for specific vcs eraonel mikael 2012-01-10 06:07:02 PST
     RE: [Subclipse-dev] actionSet available in Team menu for specific vcs selsemore Stephen Elsemore 2012-02-01 15:01:48 PST
Messages per page: