[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-dev] [Subclipse-users] Extending Commit Dialog

From: Chris Callendar <chriscallendar_at_gmail.com>
Date: Thu, 14 Aug 2008 11:15:17 -0700

Hi Mark,

I've made two extensions points to the subclipse.ui project for:
1) adding actions to the toolbar in the commit dialog
2) adding a compare action that gets called when a file in the
ResourceSelectionTree is double clicked

The 5 files that I added/edited are:
1) Edited SVNUIPlugin - added two static methods for getting the toolbar and
double click compare actions
2) Edited SvnWizardCommitPage - adds the toolbar actions to the
ResourceSelectionTree toolbar, and uses the compare action(s) on double
click instead of showing the default compare dialog
3) Added a SVNPluginAction class, very similar to the PluginAction class
defined in the org.eclipse.ui.workbench plugin
4) Added a commitDialogExtensions.exsd file to define the extension point
5) Edited the plugin.xml to add the two new extension points

How do I submit a patch? Can I just attach it to this email or should I
email you directly?


> -----Original Message-----
> From: Mark Phippard [mailto:markphip_at_gmail.com]
> Sent: August 12, 2008 12:30 PM
> To: users_at_subclipse.tigris.org
> Subject: Re: [Subclipse-users] Extending Commit Dialog
> On Tue, Aug 12, 2008 at 2:56 PM, Chris Callendar
> <chriscallendar_at_gmail.com> wrote:
> > Sure I'd be happy to help. I'm not an expert on extension
> points, but
> > I'll learn as I go.
> > I think I'll see if I can get the extension points working for my
> > needs, and then once I've done that we can discuss what
> I've done to
> > make sure it's okay and generic enough for everyone else.
> Sounds good. Feel free to move this over to dev@ list if you
> want too.
> Without knowing exactly what you need, I'd think you would
> want a way to contribute actions to items that appear in our
> commit dialog. Our code would handle running the appropriate
> action and presenting the UI. Such as creating toolbar
> and/or right-click items.
> If your plugin had a way to just implement itself at the
> Eclipse compare level, then in theory there would be less to
> do. Existing Compare with implementations would work, and we
> already allow you to double-click an item in dialog to show
> compare. So that in theory would also launch your code ...
> if it was hooked in at that level.
> --
> Thanks
> Mark Phippard
> http://markphip.blogspot.com/
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: users-help_at_subclipse.tigris.org

To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-08-14 20:15:23 CEST

This is an archived mail posted to the Subclipse Dev mailing list.