1
<Addin id = "FileContentExtension"
2
namespace = "SimpleApp"
3
name = "FileContentExtension"
4
author = "Lluis Sanchez"
6
description = "FileContentExtension"
7
category = "SimpleApp/Extensions"
11
<Import assembly="FileContentExtension.dll"/>
15
<Addin id="Core" version="0.1.0" />
18
<Localizer type="Gettext" />
20
<!-- Adds a new extension node type to the SimpleApp/Writers extension point,
21
to be used by other add-ins. This node type can have children nodes -->
22
<ExtensionPoint path = "/SimpleApp/Writers">
23
<ExtensionNode name="FileContent" type="FileContentExtension.FileContentExtensionNode">
24
<Description>Shows the contents of a file</Description>
25
<ExtensionNode name="Content" type="FileContentExtension.ContentExtensionNode">
26
<Description>Content of the file to be shown</Description>
31
<ExtensionPoint path = "/SimpleApp/ExtraWriters">
32
<ExtensionNode name="FileContent" type="FileContentExtension.FileContentExtensionNode">
33
<ExtensionNode name="Content" type="FileContentExtension.ContentExtensionNode" />
39
<Extension path = "/SimpleApp/Writers">
40
<FileContent id="SomeFile" fileName="someFile" title="Sample file">
41
<Content xpath="root" />
45
<Extension path="/SimpleApp/NodeWithChildren">
46
<Node id="node2" type="test" insertafter="node1">
47
<Child id="child2.1" type="test" />
48
<Child id="child2.2" type="test" />
54
<Addin id="SystemInfoExtension" version="0.1.0" />
56
<Extension path = "/SystemInformation/Modules">
57
<Module name="File system information" insertbefore="System"/>