Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[subversive-dev] Re: How to start the checkout from SVN wizard from another plugin

Sorry for the spam, I figured i out..

					ImportFromSVNWizard wiz = new ImportFromSVNWizard();	

					WizardDialog dialog = new
WizardDialog(Display.getCurrent().getActiveShell(), wiz);
				
					dialog.create();
					
					AddRepositoryLocationPage arlp = (AddRepositoryLocationPage)
wiz.getStartingPage();
					arlp.setInitialUrl(svnLoc);
					
					dialog.open();

Thanks..

On Mon, Jul 14, 2008 at 1:41 PM, Erling Wegger Linde <erlingwl@xxxxxxxxx> wrote:
> Ok, I managed to start the Wizard :D
>
> But how do I insert the URL automatically?
>
> I tried:
>
>                                        ImportFromSVNWizard wiz = new ImportFromSVNWizard();
>
>                                        WizardDialog dialog = new
> WizardDialog(Display.getCurrent().getActiveShell(), wiz);
>
>                                        dialog.open();
>
>                                        AddRepositoryLocationPage arlp = (AddRepositoryLocationPage)
> wiz.getStartingPage();
>                                        arlp.setInitialUrl(svnLoc);
>
> But I wasn't successful..
>
> Thanks,
> - Erling
>
> On Mon, Jul 14, 2008 at 1:03 PM, Erling Wegger Linde <erlingwl@xxxxxxxxx> wrote:
>> Hi,
>>
>> I'm developing an Eclipse Plugin that has access to information about
>> a project such as a SVN repository. I want to say "import this project
>> from SVN" (I have the URL to the SVN repository) and the start the
>> "Checkout from SVN" Wizard, and hopefully fill out the URL to the
>> repository automatically in the right place. The user then has to fill
>> in his credentials etc.
>>
>> I'm fairly new to Eclipse Plugin Development, so I wonder how can I
>> trigger the "Checkout from SVN" wizard from my plugin? That is how
>> should I configure my plugin.xml and what classes/methods might I use.
>>
>> I'll be grateful for any hints/ideas/guidelines.
>>
>> Thanks,
>> - Erling
>>
>
>
>
> --
> Med vennlig hilsen
> Erling Wegger Linde
>



-- 
Med vennlig hilsen
Erling Wegger Linde


Back to the top