[Fwd: Re: [MonoDevelop] How to Configure a Pad?]
Alexandre Gomes
alexmipego@hotmail.com
Tue, 30 Nov 2004 12:36:59 +0000
-------- Original Message --------
Subject: Re: [MonoDevelop] How to Configure a Pad?
Date: Mon, 29 Nov 2004 14:34:11 -0800
From: Todd Berman <tberman@off.net>
To: Alexandre Gomes <alexmipego@hotmail.com>
References: <41AB570F.4090607@hotmail.com>
<1101755600.7332.2.camel@localhost.localdomain>
<41ABA1ED.6030405@hotmail.com>
On Mon, 2004-11-29 at 22:25 +0000, Alexandre Gomes wrote:
> The addin.xml looks like this:
>
Ahhh :)
I think I see the problem.
Look inline, with a lot of snippage.
> ...
> <Runtime>
> <Import assembly="CentaurusAddin.dll"/>
> </Runtime>
> <Extension path="/SharpDevelop/Workbench/Views">
> <Class id="CentaurusPad"
> class="MonoDevelop.Gui.Pads.CentaurusPad"/>
> </Extension>
Here you have said the class is called CentaurusPad in the
MonoDevelop.Gui.Pads namespace.
and then...
> PadContentCollection con =
> MonoDevelop.Gui.WorkbenchSingleton.Workbench.PadContentCollection;
> IPadContent pad = new
> MonoDevelop.EditorBindings.Gui.Pads.CentaurusPad();
Here you say it is a class called CentaurusPad in
MonoDevelop.EditorBindings.Gui.Pads namespace.
The two namespaces are different. Which one is correct?
--Todd
.