blob: 849edcefb3ca9276550a8550e9288d84a295daa8 (
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
115
116
117
118
119
120
121
122
123
|
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<!-- Common navigator contributions -->
<extension point="org.eclipse.ui.navigator.viewer">
<viewerContentBinding viewerId="org.eclipse.tm.te.ui.views.TargetExplorer">
<includes>
<contentExtension
isRoot="true"
pattern="org.eclipse.tm.te.tcf.ui.navigator.*"/>
</includes>
</viewerContentBinding>
</extension>
<extension point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent
activeByDefault="true"
contentProvider="org.eclipse.tm.te.tcf.ui.internal.navigator.ContentProviderDelegate"
icon="icons/obj16/rootNode_obj.gif"
id="org.eclipse.tm.te.tcf.ui.navigator.content"
labelProvider="org.eclipse.tm.te.tcf.ui.internal.navigator.LabelProvider"
name="Dynamic Target Discovery (TCF)"
priority="normal">
<enablement>
<instanceof value="org.eclipse.tm.te.ui.views.interfaces.IRoot"/>
<instanceof value="org.eclipse.tm.te.tcf.locator.interfaces.nodes.IPeerModel"/>
</enablement>
<commonSorter
class="org.eclipse.tm.te.tcf.ui.internal.navigator.Sorter"
id="org.eclipse.tm.te.tcf.ui.navigator.sorter"/>
<commonWizard
type="new"
wizardId="org.eclipse.tm.te.tcf.ui.wizards.NewPeerWizard">
<enablement>
<instanceof value="org.eclipse.tm.te.tcf.locator.interfaces.nodes.IPeerModel"/>
</enablement>
</commonWizard>
</navigatorContent>
</extension>
<!-- New wizard contributions -->
<extension point="org.eclipse.ui.newWizards">
<wizard
category="org.eclipse.tm.te.ui.newWizards.category"
class="org.eclipse.tm.te.tcf.ui.internal.wizards.NewRemoteTargetWizard"
icon="icons/etool16/newRemoteTarget_wiz.gif"
id="org.eclipse.tm.te.tcf.ui.wizards.NewPeerWizard"
name="%NewPeerWizard.name">
</wizard>
</extension>
<!-- Target Explorer Details Editor page contributions -->
<extension point="org.eclipse.tm.te.ui.views.editorPages">
<editorPage
class="org.eclipse.tm.te.tcf.ui.internal.editor.pages.NodePropertiesEditorPage"
name="%NodePropertiesEditorPage.name"
id="org.eclipse.tm.te.tcf.ui.NodePropertiesEditorPage">
</editorPage>
</extension>
<!-- Target Explorer Details Editor page binding contributions -->
<extension point="org.eclipse.tm.te.ui.views.editorPageBindings">
<editorPageBinding
id="org.eclipse.tm.te.tcf.ui.binding.NodePropertiesEditorPage"
pageId="org.eclipse.tm.te.tcf.ui.NodePropertiesEditorPage"
insertBefore="first">
<enablement>
<with variable="activeEditorInput">
<instanceof value="org.eclipse.tm.te.tcf.locator.interfaces.nodes.IPeerModel"/>
</with>
</enablement>
</editorPageBinding>
</extension>
<!-- Target Explorer menu contributions -->
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:org.eclipse.tm.te.ui.views.TargetExplorer#Popup?after=group.refresh">
<command
commandId="org.eclipse.tm.te.tcf.ui.command.refresh"
disabledIcon="platform:/plugin/org.eclipse.ui.ide/icons/full/dlcl16/refresh_nav.gif"
helpContextId="org.eclipse.tm.te.tcf.ui.command_Refresh"
icon="platform:/plugin/org.eclipse.ui.ide/icons/full/elcl16/refresh_nav.gif"
id="org.eclipse.tm.te.tcf.ui.commands.refresh"
label="%command.refresh.label"
style="push"
tooltip="%command.refresh.tooltip">
<visibleWhen checkEnabled="false">
<with variable="selection">
<count value="1"/>
<iterate operator="and" ifEmpty="false">
<instanceof value="org.eclipse.tm.te.tcf.locator.interfaces.nodes.IPeerModel"/>
</iterate>
</with>
</visibleWhen>
</command>
<separator name="operationsGroupMarker" visible="true"/>
</menuContribution>
</extension>
<!-- Target Explorer command contributions -->
<extension point="org.eclipse.ui.commands">
<category
id="org.eclipse.tm.te.tcf.ui.commands.category"
name="%command.category.name">
</category>
<command
categoryId="org.eclipse.tm.te.tcf.ui.commands.category"
helpContextId="org.eclipse.tm.te.tcf.ui.command_Refresh"
id="org.eclipse.tm.te.tcf.ui.command.refresh"
name="%command.refresh.name">
</command>
</extension>
<!-- Target Explorer handler contributions -->
<extension point="org.eclipse.ui.handlers">
<handler
class="org.eclipse.tm.te.tcf.ui.internal.handler.RefreshCommandHandler"
commandId="org.eclipse.tm.te.tcf.ui.command.refresh">
</handler>
</extension>
</plugin>
|