team --> commit integration [message #531964] |
Thu, 06 May 2010 11:30  |
Eclipse User |
|
|
|
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 #532767 is a reply to message #532414] |
Tue, 11 May 2010 03:49  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03864 seconds