mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 14:15:50 +02:00
[254129] Add TM / RSE Capability Defs for Galileo
This commit is contained in:
parent
8d52fd18a8
commit
0eeba78676
6 changed files with 126 additions and 0 deletions
|
@ -50,6 +50,13 @@ Martin Oberhuber (Wind River) - [235145] Add comments how to hide "Create Remote
|
||||||
<!-- can be used to hide the "Create Remote Project" action in a -->
|
<!-- can be used to hide the "Create Remote Project" action in a -->
|
||||||
<!-- product built on top of TM. Just copy that XML code to a -->
|
<!-- product built on top of TM. Just copy that XML code to a -->
|
||||||
<!-- product's plugin.xml (can be any other plugin) and uncomment. -->
|
<!-- product's plugin.xml (can be any other plugin) and uncomment. -->
|
||||||
|
<!-- -->
|
||||||
|
<!-- NOTE: Ad per Eclipse 3.5 (Galileo), a separate plugin is -->
|
||||||
|
<!-- available from CVS holding activity definitions, but not the -->
|
||||||
|
<!-- categories: "org.eclipse.rse.ui.capabilities". For details, -->
|
||||||
|
<!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=252807#c36 -->
|
||||||
|
<!-- http://wiki.eclipse.org/Galileo_Capabilities -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<!- - Hide the "Create Remote Project" popupMenu by default - ->
|
<!- - Hide the "Create Remote Project" popupMenu by default - ->
|
||||||
<extension point="org.eclipse.ui.activities">
|
<extension point="org.eclipse.ui.activities">
|
||||||
|
|
22
rse/plugins/org.eclipse.rse.ui.capabilities/.project
Normal file
22
rse/plugins/org.eclipse.rse.ui.capabilities/.project
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>org.eclipse.rse.ui.capabilities</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.ManifestBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.pde.SchemaBuilder</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.pde.PluginNature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
|
@ -0,0 +1,7 @@
|
||||||
|
Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: %bundleName
|
||||||
|
Bundle-SymbolicName: org.eclipse.rse.ui.capabilities;singleton:=true
|
||||||
|
Bundle-Version: 1.0.0.qualifier
|
||||||
|
Bundle-Vendor: %providerName
|
||||||
|
Bundle-Localization: plugin
|
13
rse/plugins/org.eclipse.rse.ui.capabilities/build.properties
Normal file
13
rse/plugins/org.eclipse.rse.ui.capabilities/build.properties
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
################################################################################
|
||||||
|
# Copyright (c) 2009 Wind River Systems, Inc. and others.
|
||||||
|
# All rights reserved. This program and the accompanying materials
|
||||||
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
# which accompanies this distribution, and is available at
|
||||||
|
# http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
#
|
||||||
|
# Contributors:
|
||||||
|
# Martin Oberhuber - initial API and implementation
|
||||||
|
################################################################################
|
||||||
|
bin.includes = META-INF/,\
|
||||||
|
plugin.properties,\
|
||||||
|
plugin.xml
|
|
@ -0,0 +1,17 @@
|
||||||
|
################################################################################
|
||||||
|
# Copyright (c) 2009 Wind River Systems, Inc. and others.
|
||||||
|
# All rights reserved. This program and the accompanying materials
|
||||||
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
# which accompanies this distribution, and is available at
|
||||||
|
# http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
#
|
||||||
|
# Contributors:
|
||||||
|
# Martin Oberhuber - initial API and implementation
|
||||||
|
################################################################################
|
||||||
|
providerName=Eclipse.org
|
||||||
|
bundleName=RSE Capabilities Plug-in
|
||||||
|
|
||||||
|
activity.rse=Remote System Explorer
|
||||||
|
activity.rse.desc=Enable features of the Remote System Explorer (RSE).
|
||||||
|
activity.tm.terminal=Terminal
|
||||||
|
activity.tm.terminal.desc=Enables the TM Terminal View.
|
60
rse/plugins/org.eclipse.rse.ui.capabilities/plugin.xml
Normal file
60
rse/plugins/org.eclipse.rse.ui.capabilities/plugin.xml
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<?eclipse version="3.2"?>
|
||||||
|
<plugin>
|
||||||
|
|
||||||
|
<extension
|
||||||
|
point="org.eclipse.ui.activities">
|
||||||
|
|
||||||
|
<!-- EXAMPLE CODE: Uncomment for debugging Capability Defs
|
||||||
|
Put the activity in the category: By means of not putting it
|
||||||
|
in any category, the Activity is invisible in the Prefspage UI.
|
||||||
|
Products can add categories, or define trigger points to enable it.
|
||||||
|
<category id="org.eclipse.rse.Category"
|
||||||
|
description="Remote System Explorer (RSE) Activities"
|
||||||
|
name="Remote System Explorer" />
|
||||||
|
<categoryActivityBinding activityId="org.eclipse.rse.activity"
|
||||||
|
categoryId="org.eclipse.rse.Category" />
|
||||||
|
<categoryActivityBinding activityId="org.eclipse.tm.terminal.activity"
|
||||||
|
categoryId="org.eclipse.rse.Category" />
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- EXAMPLE CODE: CreateRemoteProject is special: typically not
|
||||||
|
in the UI, but disabled by default
|
||||||
|
<categoryActivityBinding activityId="org.eclipse.rse.CreateRemoteProject"
|
||||||
|
categoryId="org.eclipse.rse.Category" />
|
||||||
|
<defaultEnablement id="org.eclipse.rse.CreateRemoteProject" />
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- All of RSE, defined using general pattern for plugins -->
|
||||||
|
<activity
|
||||||
|
description="%activity.rse.desc"
|
||||||
|
id="org.eclipse.rse.activity"
|
||||||
|
name="%activity.rse">
|
||||||
|
</activity>
|
||||||
|
<activityPatternBinding
|
||||||
|
activityId="org.eclipse.rse.activity"
|
||||||
|
pattern="org\.eclipse\.rse\..*/.*">
|
||||||
|
</activityPatternBinding>
|
||||||
|
<activityPatternBinding
|
||||||
|
activityId="org.eclipse.rse.activity"
|
||||||
|
pattern="org\.eclipse\.tm\.discovery\..*/.*">
|
||||||
|
</activityPatternBinding>
|
||||||
|
|
||||||
|
<!-- Create remote project: May be disabled by default without UI -->
|
||||||
|
<activity id="org.eclipse.rse.CreateRemoteProject"
|
||||||
|
description="Filters EFS Create Remote Project menu in the RSE Views"
|
||||||
|
name="RSE Create Remote Project" />
|
||||||
|
<activityPatternBinding
|
||||||
|
activityId="org.eclipse.rse.CreateRemoteProject"
|
||||||
|
pattern="org\.eclipse\.rse\.efs\.ui/createRemoteProject"/>
|
||||||
|
|
||||||
|
<!-- Terminal -->
|
||||||
|
<activity id="org.eclipse.tm.terminal.activity"
|
||||||
|
description="%activity.tm.terminal.desc"
|
||||||
|
name="%activity.tm.terminal" />
|
||||||
|
<activityPatternBinding
|
||||||
|
activityId="org.eclipse.tm.terminal.activity"
|
||||||
|
pattern="org\.eclipse\.tm\.terminal\..*/.*"/>
|
||||||
|
|
||||||
|
</extension>
|
||||||
|
</plugin>
|
Loading…
Add table
Reference in a new issue