Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0045854a9eddec739256677e41e6495354552c3a (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
150
151
152
153
154
155
156
157
158
159
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- Extension points -->
   <extension-point id="connectorTypes" name="%ExtensionPoint.connectorTypes.name" schema="schema/connectorTypes.exsd"/>
   <extension-point id="launcherDelegates" name="%ExtensionPoint.launcherDelegates.name" schema="schema/launcherDelegates.exsd"/>

<!-- View contributions -->
   <extension point="org.eclipse.ui.views">
      <view
            allowMultiple="true"
            category="org.eclipse.tcf.te.ui.views.category"
            class="org.eclipse.tcf.te.ui.terminals.view.TerminalsView"
            icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.gif"
            id="org.eclipse.tcf.te.ui.terminals.TerminalsView"
            name="%TerminalsView.name">
      </view>
    </extension>
    
<!-- Perspective extension contributions -->    
   <extension point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="*">
		 <!-- Register the view shortcuts  -->
         <viewShortcut id="org.eclipse.tcf.te.ui.terminals.TerminalsView"/>
         <!-- Place the Terminals view relative to the Task List view -->
         <view
               id="org.eclipse.tcf.te.ui.terminals.TerminalsView"
               minimized="false"
               relationship="stack"
               relative="org.eclipse.ui.views.TaskList"
               visible="false">
         </view>
      </perspectiveExtension>
   </extension>

<!-- Terminal connector contributions -->
   <extension point="org.eclipse.tm.terminal.terminalConnectors">
      <connector 
                 name="%TerminalConnector.streams"
                 id="org.eclipse.tcf.te.ui.terminals.StreamsConnector"
                 hidden="true"
                 class="org.eclipse.tcf.te.ui.terminals.streams.StreamsConnector"/>
   </extension>
   
<!-- Preferences contributions -->
   <extension point="org.eclipse.core.runtime.preferences">
      <initializer class="org.eclipse.tcf.te.ui.terminals.internal.PreferencesInitializer"/>
   </extension>

<!-- Eclipse core expressions property tester -->
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.tcf.te.ui.terminals.internal.PropertyTester"
            id="org.eclipse.tcf.te.ui.terminals.PropertyTester"
            namespace="org.eclipse.tcf.te.ui.terminals"
            properties="hasApplicableLauncherDelegates"
            type="java.lang.Object">
      </propertyTester>
   </extension>

<!-- Service contributions -->
   <extension point="org.eclipse.tcf.te.runtime.services.services">
      <service
            class="org.eclipse.tcf.te.ui.terminals.services.TerminalService"
            id="org.eclipse.tcf.te.runtime.services.terminal">
         <serviceType class="org.eclipse.tcf.te.runtime.services.interfaces.ITerminalService"/>
      </service>
   </extension>
   
<!-- Terminal connector type contributions -->
   <extension point="org.eclipse.tcf.te.ui.terminals.connectorTypes">
      <connectorType
            class="org.eclipse.tcf.te.ui.terminals.types.StreamsConnectorType"
            id="org.eclipse.tcf.te.ui.terminals.type.streams"
            label="%StreamsConnectorType.label">
      </connectorType>
   </extension>

<!-- Menu contributions -->
   <extension point="org.eclipse.ui.menus">
      <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.launch">
         <command
               commandId="org.eclipse.tcf.te.ui.terminals.command.launch"
               helpContextId="org.eclipse.tcf.te.ui.terminals.command_Launch"
               icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.gif"
               id="org.eclipse.tcf.te.ui.terminals.commands.launch"
               label="%command.launch.label"
               mnemonic="%command.launch.mnemonic"
               style="push"
               tooltip="%command.launch.tooltip">
               <visibleWhen checkEnabled="false">
                  <with variable="selection">
                     <test
                           forcePluginActivation="true"
                           property="org.eclipse.tcf.te.ui.terminals.hasApplicableLauncherDelegates"
                           value="true"/>
                  </with>
               </visibleWhen>
         </command>
      </menuContribution>      
      <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
         <toolbar
               id="org.eclipse.tcf.te.ui.terminals.toolbar"
               label="%toolbar.terminal.label">
	         <command
	               commandId="org.eclipse.tcf.te.ui.terminals.command.launchToolbar"
	               helpContextId="org.eclipse.tcf.te.ui.terminals.command_Launch"
	               icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.gif"
	               id="org.eclipse.tcf.te.ui.terminals.commands.launchToolbar"
	               label="%command.launch.label"
	               style="push"
	               tooltip="%command.launch.tooltip">
	         </command>
         </toolbar>
      </menuContribution>
      <menuContribution locationURI="toolbar:org.eclipse.tcf.te.ui.terminals.TerminalsView">
         <command
               commandId="org.eclipse.tcf.te.ui.terminals.command.launchToolbar"
               helpContextId="org.eclipse.tcf.te.ui.terminals.command_Launch"
               icon="platform:/plugin/org.eclipse.ui.console/icons/full/eview16/console_view.gif"
               id="org.eclipse.tcf.te.ui.terminals.commands.launchToolbarTerminalsView"
               label="%command.launch.label"
               style="push"
               tooltip="%command.launchWithoutSelection.tooltip">
         </command>
      </menuContribution>
      
   </extension>

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

<!-- Handler contributions -->
   <extension point="org.eclipse.ui.handlers">
      <handler
            class="org.eclipse.tcf.te.ui.terminals.internal.handler.LaunchTerminalCommandHandler"
            commandId="org.eclipse.tcf.te.ui.terminals.command.launch">
      </handler>
      <handler
            class="org.eclipse.tcf.te.ui.terminals.internal.handler.LaunchTerminalCommandHandler"
            commandId="org.eclipse.tcf.te.ui.terminals.command.launchToolbar">
      </handler>
   </extension>

</plugin>

Back to the top