File: TextEditor.addin.xml

package info (click to toggle)
mono-addins 0.4-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,128 kB
  • ctags: 8,309
  • sloc: cs: 36,303; makefile: 1,091; sh: 949; xml: 96
file content (62 lines) | stat: -rw-r--r-- 2,566 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<Addin namespace="TextEditor" id="Core" version="1.0" isroot="true">

	<Runtime>
		<Import assembly="TextEditor.exe"/>
		<Import assembly="TextEditorLib.dll"/>
	</Runtime>
	
	<ConditionType id="OpenFile" type="TextEditor.OpenFileCondition" />

	<ExtensionPoint path = "/TextEditor/ToolbarButtons">
		<ExtensionNode name="ToolButton" type="TextEditor.ToolButtonNode"/>
		<ExtensionNode name="ToolSeparator" type="TextEditor.ToolSeparatorNode"/>
	</ExtensionPoint>
	
	<ExtensionPoint path = "/TextEditor/MainMenu">
		<ExtensionNode type="TextEditor.SubmenuNode"/>
	</ExtensionPoint>
	
	<ExtensionPoint path = "/TextEditor/Templates">
		<ExtensionNode name="Category" type="TextEditor.TemplateCategoryNode">
			<ExtensionNode name="FileTemplate" type="TextEditor.FileTemplateNode" />
		</ExtensionNode>
		<ExtensionNode name="FileTemplate" type="TextEditor.FileTemplateNode" />
	</ExtensionPoint>
	
	<Extension path = "/TextEditor/ToolbarButtons">
		<ToolButton icon="gtk-new" commandType="TextEditor.NewCommand" />
		<ToolButton icon="gtk-open" commandType="TextEditor.OpenCommand" />
		<ToolButton icon="gtk-save" commandType="TextEditor.SaveCommand" />
		<ToolSeparator />
		<ToolButton icon="gtk-cut" commandType="TextEditor.CutCommand" />
		<ToolButton icon="gtk-copy" commandType="TextEditor.CopyCommand" />
		<ToolButton icon="gtk-paste" commandType="TextEditor.PasteCommand" />
	</Extension>
	
	<Extension path = "/TextEditor/MainMenu">
		<Menu id="File" label="File">
			<MenuItem id="New" icon="gtk-new" commandType="TextEditor.NewCommand" />
			<MenuItem id="Open" icon="gtk-open" commandType="TextEditor.OpenCommand" />
			<MenuItem id="Save" icon="gtk-save" commandType="TextEditor.SaveCommand" />
			<MenuSeparator />
			<MenuItem id="Quit" icon="gtk-quit" commandType="TextEditor.ExitCommand" />
		</Menu>
		<Menu id="Edit" label="Edit">
			<MenuItem id="Cut" icon="gtk-cut" commandType="TextEditor.CutCommand" />
			<MenuItem id="Copy" icon="gtk-copy" commandType="TextEditor.CopyCommand" />
			<MenuItem id="Paste" icon="gtk-paste" commandType="TextEditor.PasteCommand" />
		</Menu>
		<Menu id="Tools" label="Tools">
			<MenuItem id="Setup" label="Add-in Manager" commandType="TextEditor.SetupCommand" />
		</Menu>
	</Extension>

	<Extension path = "/TextEditor/Templates">
		<Category id="Development" >
			<FileTemplate name="ChangeLog" resource="ChangeLogTemplate.txt" />
			<FileTemplate name=".config file" resource="DotConfigTemplate.txt" />
			<FileTemplate name="Work report" resource="WorkReport.txt" />
		</Category>
	</Extension>
	
</Addin>