Skip to main content



      Home
Home » Eclipse Projects » Subversive » team --> commit integration
team --> commit integration [message #531964] Thu, 06 May 2010 11:30 Go to next message
Eclipse UserFriend
We are trying to write a plug-in that will run a quality tool every time users tries to commit using "Right Click -->team --> Project" and depending on the quality tool score allow/disallow to commit.

The requirements are that the plug-in should be independent of the SCM (svn,cvs,clearcase)and the corresponding eclipse (subclipse subversive, cvs, clearcase)plug-in. But for Team --> commit seem not have have extension point for commit action.

The actual commit action of the subclipse SVN plugin uses the generic extension point 'org.eclipse.ui.popupMenus' and extends WorkbenchWindowAction

Is there any possibility of extending / implementing hooks in org.eclipse.team.ui to implement the same.??
Is there any possibility of writing filters for the Workbench actions to filter out the commit action.??
Is it possible to borrow some concepts from usage data collector?
Re: team --> commit integration [message #532414 is a reply to message #531964] Sun, 09 May 2010 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Will i at least be able to redefine(override wtih my own commit) the team -->commit popupmenu action?

of cource this ties up to the plugin/scm type.

Will popupmenu extesnion allow to call 2 or 3 other popupmenus from a single popupmenu?

For example if i close(override close to include save without prompting since it uses command framework) a file. how shall i call the other menu actions ? inshorts integrating many manu actions into a single menu?
Re: team --> commit integration [message #532767 is a reply to message #532414] Tue, 11 May 2010 03:49 Go to previous message
Eclipse UserFriend
Hello,


> The actual commit action of the subclipse SVN plugin uses the generic
> extension point 'org.eclipse.ui.popupMenus' and extends
> WorkbenchWindowAction
Subversive also contributes Commit action to ResourceMappings through
"org.eclipse.ui.popupMenus" extension point. Also note that we have
Commit action not only in navigator views, e.g. Package Explorer, but in
Synchronize view.

If you have questions for Eclipse infrastructure, please consult Eclipse
help or corresponding newsgroups.


> Will i at least be able to redefine(override wtih my own commit) the
> team -->commit popupmenu action?
>
> of cource this ties up to the plugin/scm type.
>
> Will popupmenu extesnion allow to call 2 or 3 other popupmenus from a
> single popupmenu?
>
> For example if i close(override close to include save without prompting
> since it uses command framework) a file. how shall i call the other menu
> actions ? inshorts integrating many manu actions into a single menu?


--
Best regards,
Igor Burilo
Previous Topic:Crash with native connector
Next Topic:Cherry picking changes during merge
Goto Forum:
  


Current Time: Mon Sep 22 19:26:14 EDT 2025

Powered by FUDForum. Page generated in 0.03864 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top