[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:41:36 +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=j3irJv18p+l5YSTQ2o3W2xV38+Nq/nbgoeWSM8+lbWI=; b=qg2dmcQVpTSHdCrL+l2uQSKW2e3lmp/LqYim0/yRfScD9nkp0H+ixoF7/865r2VGaC l9jzY845TNyW7NvobEtpENTf1MM9KyZhiR3EHcRHojxBTcziBZMhvNxc7B93gFsTPXmg gn1XmICDNNlXYkqK9XlvS7+Ghk2vSIU3gZ/wM=
- 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=Qb3/wApcjrcDJY0ivAjOWEvl4DEKam0UpyLWkxaqzwZTTLtTxc/9E5GoTcUcpAKMqk Ti6R8JJ6rc7t5EpvtXfcbUbYQaKrMHtHpkcgHuDi++35MYZqj1LLlm70+UWeBkkhGbgN MTTSJvlhKIBy62fr4EHXfYWz+9rPKMHuUEVyw=
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