Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] Team menu

The Team object menu used to be contributed by org.eclipse.team.ui, 
including the "Share..." menu contribution.  In recent builds we 
experimented with removing the Team menu and moving "Share" up to the top 
level, and for our CVS provider contributing a "CVS" menu. 

In today's build (20020205) we've reverted to having the Team menu once 
again, with "Share" in that menu.  The intention is that providers should 
contribute their repo specific actions to this menu.  The CVS operations 
will once again appear there once you've shared your project with a CVS 
location.  We felt this strategy to be preferable because it contributes 
to a unified Team experience.

In order to solve the problem of providers being unable to contribute 
seperators (menu groups) to the Team menu, we've added a set of generic 
separators.  The menu now looks like:
                <menu
                        id="team.main"
                        path="additions"
                        label="%TeamGroupMenu.label">
                        <separator name="group1"/>
                        <separator name="group2"/>
                        <separator name="group3"/>
                        <separator name="group4"/>
                        <separator name="group5"/>
                        <separator name="group6"/>
                        <separator name="group7"/>
                        <separator name="group8"/>
                        <separator name="group9"/>
                        <separator name="group10"/>
                        <separator name="projectGroup"/>
                </menu>

Each provider should feel free to use the groups 1-10 as they see fit - 
they have no semantics.  The only "reserved" group is the "projectGroup". 
If a provider wishes to support a "Disconnect" action (as CVS does), it 
can contribute it there, filtered by their nature ID.  If all you need to 
do is remove the provider, you can reuse 
org.eclipse.team.ui.actions.DeconfigureProjectAction.java




Back to the top