Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: db4d925f14370a05bffac15b5136cc1f45185c5d (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- Adapter factory contributions -->
   <extension point="org.eclipse.core.runtime.adapters">
      <factory
            class="org.eclipse.tcf.te.tcf.launch.ui.internal.adapters.AdapterFactory"
            adaptableType="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel">
         <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
      </factory>
   </extension>

<!-- Launch configuration type contributions -->
   <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            configTypeID="org.eclipse.tcf.te.tcf.launch.type.remote.app"
            icon="icons/obj16/remote_app.gif"
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app.image"/>
   </extension>

<!-- Launch configuration tab group contributions -->
   <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.LaunchConfigurationTabGroup"
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app.tabgroup"
            type="org.eclipse.tcf.te.tcf.launch.type.remote.app"/>
   </extension>
   
 <!-- Launch shortcut contributions -->
   <extension point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.LaunchShortcut"
            id="org.eclipse.tcf.te.tcf.launch.ui.launchshortcut.remote.app.run"
            label="%LaunchShortcut.Remote.App.name"
            icon="icons/obj16/remote_app.gif"
            modes="run">
         <contextualLaunch>
            <enablement>
               <with variable="selection">
                  <count value="1"/>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <test 
                           forcePluginActivation="true"
                           property="org.eclipse.tcf.te.launch.core.isValidLaunchConfigType"
                           value="org.eclipse.tcf.te.tcf.launch.type.remote.app"
                           args="run"/>
                  </iterate>
               </with>
            </enablement>
         </contextualLaunch>
      </shortcut>
      <shortcut
            class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.LaunchShortcut"
            id="org.eclipse.tcf.te.tcf.launch.ui.launchshortcut.remote.app.debug"
            label="%LaunchShortcut.Remote.App.name"
            icon="icons/obj16/remote_app.gif"
            modes="debug">
         <contextualLaunch>
            <enablement>
               <with variable="selection">
                  <count value="1"/>
                  <iterate
                        ifEmpty="false"
                        operator="and">
                     <test 
                           property="org.eclipse.tcf.te.launch.core.isValidLaunchConfigType"
                           value="org.eclipse.tcf.te.tcf.launch.type.remote.app"
                           args="debug"/>
                  </iterate>
               </with>
            </enablement>
         </contextualLaunch>
      </shortcut>
   </extension>

<!-- Editor page binding contributions -->
   <extension point="org.eclipse.tcf.te.ui.views.editorPageBindings">
      <editorPageBinding
            id="org.eclipse.tcf.te.tcf.launch.ui.binding.LaunchEditorPage"
            pageId="org.eclipse.tcf.te.launch.ui.LaunchEditorPage"
            insertBefore="org.eclipse.tcf.te.tcf.filesystem.FSExplorerEditorPage"
            insertAfter="org.eclipse.tcf.te.tcf.ui.OverviewEditorPage">
         <enablement>
            <with variable="activeEditorInput">
               <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
            </with>
         </enablement>
      </editorPageBinding>
   </extension>

<!-- Navigator viewer contributions -->
   <extension point="org.eclipse.ui.navigator.viewer">
      <viewerContentBinding viewerId="org.eclipse.tcf.te.ui.views.View">
         <includes>
            <contentExtension 
                  pattern="org.eclipse.tcf.te.tcf.launch.ui.navigator.*"
                  isRoot="false"/>
         </includes>
      </viewerContentBinding>
   </extension>
   
<!-- Navigator content contributions -->
   <extension point="org.eclipse.ui.navigator.navigatorContent">
      <navigatorContent
            id="org.eclipse.tcf.te.tcf.launch.ui.navigator.content"
            name="%LauchTree.name"
      		icon="icons/obj16/launches_root.gif"
            activeByDefault="false"
            contentProvider="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchNavigatorContentProvider"
            labelProvider="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchTreeLabelProvider"
            priority="normal">
         <triggerPoints>
            <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
         </triggerPoints>
         <possibleChildren>
            <instanceof value="org.eclipse.tcf.te.launch.ui.model.LaunchNode"/>
         </possibleChildren>
         <commonSorter class="org.eclipse.tcf.te.launch.ui.internal.viewer.LaunchTreeViewerSorter"/>
      </navigatorContent>
   </extension>

<!-- Property section contributions -->
   <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections contributorId="org.eclipse.tcf.te.ui">
         <propertySection
               id="org.eclipse.tcf.te.tcf.launch.ui.propertytab.remote.app"
               class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.RemoteAppPropertiesSection"
               enablesFor="1"
               afterSection="org.eclipse.tcf.te.launch.ui.launchcontext"
               filter="org.eclipse.tcf.te.tcf.launch.ui.remote.app.RemoteAppFilter"
               tab="org.eclipse.tcf.te.launch.ui.propertytab.general"/>
      </propertySections>
   </extension>

   <extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
      <propertySections contributorId="org.eclipse.ui.navigator.ProjectExplorer">
         <propertySection
               id="org.eclipse.tcf.te.tcf.launch.ui.project.propertytab.remote.app"
               class="org.eclipse.tcf.te.tcf.launch.ui.remote.app.RemoteAppPropertiesSection"
               enablesFor="1"
               afterSection="org.eclipse.tcf.te.launch.ui.project.launchcontext"
               filter="org.eclipse.tcf.te.tcf.launch.ui.remote.app.RemoteAppFilter"
               tab="org.eclipse.tcf.te.launch.ui.project.propertytab.general"/>
      </propertySections>
   </extension>
</plugin>

Back to the top