Login | Register
My pages Projects Community openCollabNet

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

subclipse
Discussion topic

Back to topic list

[Subclipse-users] Extending Commit Dialog

Author ccallendar
Full name Chris Callendar
Date 2008-08-14 11:15:17 PDT
Message 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
actions
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?

Thanks,
Chris
 

> -----Original Message-----
> From: Mark Phippard [mailto:markphip at gmail dot com]
> Sent: August 12, 2008 12:30 PM
> To: users at subclipse dot tigris dot org
> Subject: Re: [Subclipse-users] Extending Commit Dialog
>
> On Tue, Aug 12, 2008 at 2:56 PM, Chris Callendar
> <chriscallendar@g​mail.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@su​bclipse.tigris.org
> For additional commands, e-mail: users-help at subclipse dot tigris dot org
>

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] Extending Commit Dialog ccallendar Chris Callendar 2008-08-14 11:15:17 PDT
Messages per page: