blob: 658f275508a93a01fa4904669e2fada1eef8a7eb [file] [log] [blame]
mparker77b7d732009-07-16 20:59:51 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<!--
5 <copyright>
6 </copyright>
7
mparker1f8ed372010-04-10 03:42:42 +00008 $Id: plugin.xml,v 1.3 2010/04/10 03:42:42 mparker Exp $
mparker77b7d732009-07-16 20:59:51 +00009-->
10
11<plugin>
12
13
14 <extension
15 point="org.eclipse.ui.handlers">
16 <handler
17 class="org.eclipse.amp.amf.gen.ext.GenerateKeyHandler"
18 commandId="org.eclipse.amp.amf.gen.graphickey">
19 </handler>
20 <handler
21 class="org.eclipse.amp.amf.gen.ext.GenerateTextHandler"
22 commandId="org.eclipse.amp.amf.gen.text">
23 </handler>
24 <handler
25 class="org.eclipse.amp.amf.gen.ext.GenerateTestCaseHandler"
26 commandId="org.eclipse.amp.amf.gen.testcase">
mparker1f8ed372010-04-10 03:42:42 +000027 </handler>
28 <handler
29 class="org.eclipse.amp.amf.gen.ext.GenerateFunctionLibraryHandler"
30 commandId="org.eclipse.amp.amf.gen.functiondocs">
mparker77b7d732009-07-16 20:59:51 +000031 </handler>
32 </extension>
33 <extension
34 point="org.eclipse.ui.commands">
35 <command
36 categoryId="org.eclipse.amp.amf.gen.category"
37 id="org.eclipse.amp.amf.gen.graphickey"
38 name="Generate Key for Graphics">
39 </command>
40 <command
41 categoryId="org.eclipse.amp.amf.gen.category"
42 id="org.eclipse.amp.amf.gen.text"
43 name="Generate Raw Text">
44 </command>
45 <command
46 categoryId="org.eclipse.amp.amf.gen.category"
47 id="org.eclipse.amp.amf.gen.testcase"
48 name="Generate Test Case">
mparker1f8ed372010-04-10 03:42:42 +000049 </command>
50 <command
51 categoryId="org.eclipse.amp.amf.gen.category"
52 id="org.eclipse.amp.amf.gen.functiondocs"
53 name="Generate Function Docs">
mparker77b7d732009-07-16 20:59:51 +000054 </command>
55 </extension>
56 <extension
57 point="org.eclipse.ui.menus">
58 <menuContribution
mparker1f8ed372010-04-10 03:42:42 +000059 locationURI="popup:org.eclipse.amp.amf.ide.generateMenuID?after=additions">
mparker77b7d732009-07-16 20:59:51 +000060 <command
61 commandId="org.eclipse.amp.amf.gen.graphickey"
62 icon="icons/full/obj16/Graphics.gif"
mparker1f8ed372010-04-10 03:42:42 +000063 style="push"
mparker77b7d732009-07-16 20:59:51 +000064 tooltip="Generate a table for each agent showing states for graphics.">
65 <visibleWhen
66 checkEnabled="false">
67 <reference
68 definitionId="org.metaabm.metaABMFile">
69 </reference>
70 </visibleWhen>
71 </command>
mparker1f8ed372010-04-10 03:42:42 +000072
mparker77b7d732009-07-16 20:59:51 +000073 <command
mparker1f8ed372010-04-10 03:42:42 +000074 commandId="org.eclipse.amp.amf.gen.functiondocs"
75 icon="icons/full/obj16/FLibrary.gif"
76 label="Function Docs (Wiki)"
77 style="push"
78 tooltip="Generate Wiki text for a function library">
79 <visibleWhen
80 checkEnabled="false">
81 <reference
82 definitionId="org.metaabm.metaABMFile">
83 </reference>
84 </visibleWhen>
85 </command> <command
mparker77b7d732009-07-16 20:59:51 +000086 commandId="org.eclipse.amp.amf.gen.text"
87 icon="icons/full/obj16/Text.gif"
88 label="Text Documentation"
89 style="push"
90 tooltip="Generate text snippets for use in documents.">
91 <visibleWhen
92 checkEnabled="false">
93 <reference
94 definitionId="org.metaabm.metaABMFile">
95 </reference>
96 </visibleWhen>
97 </command>
98 <command
mparker1f8ed372010-04-10 03:42:42 +000099 commandId="org.eclipse.amp.amf.gen.functiondocs"
100 id="Generate Function Docs"
101 label="Funciton Lib"
102 style="push"
103 tooltip="Generate Wiki text for the funciton library">
104 <visibleWhen
105 checkEnabled="false">
106 <reference
107 definitionId="org.metaabm.metaABMFile">
108 </reference>
109 </visibleWhen>
110 </command>
111 <command
mparker77b7d732009-07-16 20:59:51 +0000112 commandId="org.eclipse.amp.amf.gen.testcase"
113 icon="icons/full/obj16/junit.gif"
114 id="GenerateTestCase"
115 label="Test Cases"
116 style="push"
117 tooltip="Generate JUnit test cases for all model components.">
118 <visibleWhen
119 checkEnabled="false">
120 <reference
121 definitionId="org.metaabm.metaABMFile">
122 </reference>
123 </visibleWhen>
124 </command>
125 </menuContribution>
126 </extension>
127</plugin>
128