Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » commit Extension Point sample code?(Looking for sample code for the commit Extension Point)
commit Extension Point sample code? [message #507056] Mon, 11 January 2010 15:45 Go to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 81
Registered: July 2009
Location: Phoenix, AZ
Member
I would like to provide an extension to org.eclipse.team.svn.ui.commit that examines the commit comment, and enforces project specific requirements for comment content.

The documentation is a little thin, and I'm not sure if such code goes in the getCommitDialog method, or the performAfterCommitTasks method.

I would like to use the default commit dialog, but hook into the OK button so I can validate the comment text before it is sent to SVN.

Can someone point me to sample code or a tutorial that will help?

Thanks
Michael
Re: commit Extension Point sample code? [message #508276 is a reply to message #507056] Mon, 18 January 2010 09:02 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Michael,

Unfortunately, there's no way to do it now.

>I would like to provide an extension to org.eclipse.team.svn.ui.commit that
>examines the commit comment, and enforces project specific requirements for
>comment content.
>
> The documentation is a little thin, and I'm not sure if such code goes in
> the getCommitDialog method, or the performAfterCommitTasks method.
>
> I would like to use the default commit dialog, but hook into the OK button
> so I can validate the comment text before it is sent to SVN.
>
> Can someone point me to sample code or a tutorial that will help?
>
> Thanks
> Michael
Re: commit Extension Point sample code? [message #508575 is a reply to message #508276] Tue, 19 January 2010 13:40 Go to previous messageGo to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 81
Registered: July 2009
Location: Phoenix, AZ
Member
Is there another way to accomplish this? If I cannot hook into the commit dialog, is there another extension point I might be able to use.

The goal is to examine the commit comment before it is sent to SVN. It doesn't matter how that is accomplished.
Re: commit Extension Point sample code? [message #509396 is a reply to message #508575] Fri, 22 January 2010 11:12 Go to previous message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello Michael,

Unfortuntaely, there's no way now to accomplish it. If you wish to propose
to add this functionality, please create a task in tracker, but we'll need a
time to review it.

> Is there another way to accomplish this? If I cannot hook into the commit
> dialog, is there another extension point I might be able to use.
>
> The goal is to examine the commit comment before it is sent to SVN. It
> doesn't matter how that is accomplished.
Previous Topic:Check out as folder into existing project doesn't work?
Next Topic:changing ssh to ssh quiet
Goto Forum:
  


Current Time: Fri Apr 19 01:16:16 GMT 2024

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

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

Back to the top