Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0a06e4d211867ede7cba369b35e981291b02af14 (plain) (blame)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
	<extension
		point="org.eclipse.ui.startup">
		<!--startup class=""-->
	</extension>

	<extension
		point="org.eclipse.ui.commands">
		<command
			name="%command.exportScript.name"
			description="%command.exportScript.desc"
			categoryId="org.eclipse.linuxtools.systemtap.ui.ide.category.file"
			id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.ExportScript"/>
			<command
			name="%command.createModule.name"
			description="%command.createModule.desc"
			categoryId="org.eclipse.linuxtools.systemtap.ui.dashboard.category.file"
			id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.CreateModuleAction"/>
	</extension>
	<extension
		point="org.eclipse.ui.bindings">
		<key
			commandId="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.ExportScript"
			contextId="org.eclipse.ui.contexts.window"
			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M1+4"/>
		<key
			commandId="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.CreateModuleAction"
			contextId="org.eclipse.ui.contexts.window"
			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
			sequence="M1+5"/>
	</extension>
	<extension
		point="org.eclipse.ui.actionSets">
		<actionSet
			label="%actionset.export.name"
			id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.ExportScriptActionSet">
			<action
				label="%action.exportScript.name"
				tooltip="%action.exportScript.desc"
				id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.actions.ExportScript"
				icon="icons/actions/export_wiz.gif"
				toolbarPath="org.eclipse.ui.workbench.file/export.ext"
				class="org.eclipse.linuxtools.internal.systemtap.ui.dashboardextension.actions.ExportScriptAction"
				definitionId="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.ExportScript"
				style="push"
				state="false"/>
		</actionSet>
	</extension>
	<extension
		point="org.eclipse.ui.actionSets">
		<actionSet
			label="%actionset.createModule.name"
			id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.CreateModuleActionSet">
			<action
				label="%action.createModule.name"
				tooltip="%action.createModule.desc"
				id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.actions.CreateModuleAction"
				icon="icons/actions/mod_obj.gif"
				toolbarPath="org.eclipse.ui.workbench.file/export.ext"
				class="org.eclipse.linuxtools.internal.systemtap.ui.dashboardextension.actions.CreateModuleAction"
				definitionId="org.eclipse.linuxtools.systemtap.ui.dashboardextension.commands.CreateModuleAction"
				style="push"
				state="true"/>
		</actionSet>
	</extension>
	

	<extension
		point="org.eclipse.ui.popupMenus">
		<objectContribution
			adaptable="false"
			id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.ViewScriptMenu"
			objectClass="org.eclipse.linuxtools.systemtap.ui.dashboard.structures.ModuleTreeNode">
			<action
				label="%action.viewScript.name"
				class="org.eclipse.linuxtools.internal.systemtap.ui.dashboardextension.actions.ViewScriptAction"
				icon="icons/actions/file_obj.gif"
				menubarPath="file.ext"
				id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.ViewScriptAction"
				style="push"/>
   <!--<action
         class="org.eclipse.linuxtools.systemtap.ui.dashboardextension.actions.AddScriptAction"
         icon="icons/actions/file_obj.gif"
         id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.AddScriptAction"
         label="%action.addScript.name"
         menubarPath="file.ext"
         style="push">
   </action>-->
   ,<!--<action
         class="org.eclipse.linuxtools.systemtap.ui.dashboardextension.actions.DeleteScriptAction"
         icon="icons/actions/file_obj.gif"
         id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.DeleteScriptAction"
         label="%action.deleteScript.name"
         menubarPath="file.ext"
         style="push">
   </action>-->
		</objectContribution>
	</extension>

	<extension
		point="org.eclipse.ui.perspectiveExtensions">
		<perspectiveExtension
			targetID="org.eclipse.linuxtools.systemtap.ui.ide.IDEPerspective">
			<actionSet id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.ExportScriptActionSet"/>
		</perspectiveExtension>
		<perspectiveExtension
			targetID="org.eclipse.linuxtools.systemtap.ui.dashboard.DashboardPerspective">
			<actionSet id="org.eclipse.linuxtools.systemtap.ui.dashboardextension.CreateModuleActionSet"/>
		</perspectiveExtension>
	</extension>
</plugin>

Back to the top