Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5e07ee342b98e134970d0b32565bc68f28c401e3 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- Target Explorer Details Editor page contributions -->
   <extension point="org.eclipse.tcf.te.ui.views.editorPages">
      <editorPage
            class="org.eclipse.tcf.te.tcf.processes.ui.internal.explorer.ProcessExplorerEditorPage"
            name="%ProcessExplorerEditorPage.name"
            id="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage">
      </editorPage>
   </extension>

<!-- Target Explorer Details Editor page binding contributions -->
   <extension point="org.eclipse.tcf.te.ui.views.editorPageBindings">
      <editorPageBinding
            id="org.eclipse.tcf.te.tcf.processes.ui.binding.ProcessExplorerEditorPage"
            pageId="org.eclipse.tcf.te.tcf.processes.ui.ProcessExplorerEditorPage">
         <enablement>
            <with variable="activeEditorInput">
               <and>
                  <adapt type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
                     <test property="org.eclipse.tcf.te.tcf.locator.hasRemoteService" value="Processes"/>
                  </adapt>
               </and>
            </with>
         </enablement>
      </editorPageBinding>
   </extension>

<!-- Processes menu contributions -->
   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.TargetExplorer#Popup?after=group.launch">
         <command
               commandId="org.eclipse.tcf.te.tcf.processes.ui.command.launch"
               helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_Launch"
               icon="platform:/plugin/org.eclipse.debug.ui/icons/full/obj16/lrun_obj.gif"
               id="org.eclipse.tcf.te.tcf.processes.ui.commands.launch"
               label="%Processes.command.launch.label"
               style="push"
               tooltip="%Processes.command.launch.tooltip">
               <visibleWhen checkEnabled="false">
                  <and>
                     <with variable="selection">
                        <count value="1"/>
                        <iterate operator="and" ifEmpty="false">
                           <adapt type="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
                              <test
                                    property="org.eclipse.tcf.te.tcf.locator.hasRemoteService"
                                    value="Processes">
                              </test>
                           </adapt>
                        </iterate>
                     </with>
                  </and>
               </visibleWhen>
         </command>
      </menuContribution>
   </extension>

<!-- Processes command contributions -->
   <extension point="org.eclipse.ui.commands">
      <command
            categoryId="org.eclipse.tcf.te.tcf.ui.commands.category"
            helpContextId="org.eclipse.tcf.te.tcf.processes.ui.command_Launch"
            id="org.eclipse.tcf.te.tcf.processes.ui.command.launch"
            name="%Processes.command.launch.name">
      </command>
   </extension>

<!-- Processes handler contributions -->
   <extension point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.tcf.te.tcf.processes.ui.internal.handler.LaunchProcessesCommandHandler"
            commandId="org.eclipse.tcf.te.tcf.processes.ui.command.launch">
      </handler>
   </extension>

</plugin>

Back to the top