[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
|
- From: "Erling Wegger Linde" <erlingwl@xxxxxxxxx>
- Date: Mon, 14 Jul 2008 13:49:42 +0200
- Delivered-to: subversive-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OthI+Z6CtB8qxkd8rHAgdnmnWmG5P/7So4l6clE7qNc=; b=cMm3suNdlLao+vAnmGW5A4foH6eQjeDuG7HvRd2zmjQPd8hcVWf1HY255kocZtG5UK m91kPLgmE4XsmXLVy/kQeIcO7GccKBpowFoN5rHRbT7OmFZwRSeIKzLhTUFXepELlXxm AFf7P4cGiE3xo47SCXqT7mbCEWmRMudHdMUcE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hJwF7CEia8zJukdjsvy1k0lJqBqupQ/24MhyxnxoSZ9Dwmw99IrEWYmhMmokPt46mg taD/DcLGtQWwMHc91EeeT7yg2aGw3YBUla4t73e/BX/Yrg30/0w1O2LlE2BuWrYMfDq+ dpq7fwdSe7zd2j/G7R2ovIi8Hncu+1Aa21n8c=
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