Hi,

We are studying the mono addins architecture and  we have found a
little errata in the documentation, we think.

Concretely at the host xml ExtensionNode element definition in the
"Mono Addins Introduction" wich displays

"...
<ExtensionPoint path = "/TextEditor/TypeExtensions/ICommand">
                <ExtensionNode objectType="ICommand"/>
</ExtensionPoint>
..."

where may be it would say

"...
<ExtensionPoint path = "/TextEditor/TypeExtensions/ICommand">
                <ExtensionNode NAME="COMMAND" objectType="ICommand"/>
</ExtensionPoint>
..."

We show in uppercase the words we miss.

Other way, the sample won't can "cut & paste" to get some mini
application works with the mono addins aproach so the xml addin
definition shows like this:

"<Addin>
        <Runtime>
                <Import assembly="SampleAddin.dll"/>
        </Runtime>
        
        <Dependencies>
                <Addin id="TextEditor" version="1.0" />
        </Dependencies>
        
        <Extension path = "/TextEditor/TypeExtensions/ICommand">
                <Command type="HelloWorldExtension" />
        </Extension>    
</Addin>"

This xml structure uses the xml node COMMAND miss at the addin host defintion.

Excuse our bad english.

-- 
José A. Salvador Vanaclocha "Vana"
Numenalia

"La inspiración existe, pero tiene que encontrarte trabajando"
- Pablo Ruiz Picasso -

PD: Si te he mandado algun documento que tu Micro$oft Word es INCAPAZ
de abrir, hazte un favor y trabaja con un programa decente:

http://es.openoffice.org/
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to