mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-19 06:05:56 +02:00
[185552][api] Remove remoteSystemsViewPreferencesActions extension point
This commit is contained in:
parent
634409f74e
commit
5fa355b830
11 changed files with 42 additions and 326 deletions
|
@ -74,10 +74,6 @@ Here are the extension points that are defined by the RSE:
|
|||
users select the Properties action from the pop-up menu of remote
|
||||
objects listed in the Remote Systems view.</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD><A href="../reference/extension-points/org_eclipse_rse_ui_remoteSystemsViewPreferencesActions.html">org.eclipse.rse.ui.<b>remoteSystemsViewPreferencesActions</b></A></TD>
|
||||
<TD>For contributing a fastpath action to jump to your preferences page, from the local pulldown menu of the Remote Systems view.</TD>
|
||||
</TR>
|
||||
<!-- TODODeferred after RSE 1.0
|
||||
<TR>
|
||||
<TD><A href="../reference/extension-points/org_eclipse_rse_ui_compile.html">org.eclipse.rse.ui.<b>compile</b></A></TD>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
-->
|
||||
<li><a href="org_eclipse_rse_ui_mountPathMappers.html">org.eclipse.rse.ui.mountPathMappers</a></li>
|
||||
<li><a href="org_eclipse_rse_ui_newConnectionWizards.html">org.eclipse.rse.ui.newConnectionWizards</a></li>
|
||||
<li><a href="org_eclipse_rse_ui_remoteSystemsViewPreferencesActions.html">org.eclipse.rse.ui.remoteSystemsViewPreferencesActions</a></li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
-->
|
||||
<topic label="org.eclipse.rse.ui.mountPathMappers" href="reference/extension-points/org_eclipse_rse_ui_mountPathMappers.html" />
|
||||
<topic label="org.eclipse.rse.ui.newConnectionWizards" href="reference/extension-points/org_eclipse_rse_ui_newConnectionWizards.html" />
|
||||
<topic label="org.eclipse.rse.ui.remoteSystemsViewPreferencesActions" href="reference/extension-points/org_eclipse_rse_ui_remoteSystemsViewPreferencesActions.html" />
|
||||
<anchor id="rse-extension-points-ref" />
|
||||
</topic>
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Martin Oberhuber (Wind River) - [181066] NLS missing messages with DAEMON and Shells
|
||||
* Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui;
|
||||
|
@ -913,6 +914,9 @@ public class SystemResources extends NLS
|
|||
public static String ACTION_PREFERENCE_SHOW_FILTERPOOLS_LABEL;
|
||||
public static String ACTION_PREFERENCE_SHOW_FILTERPOOLS_TOOLTIP;
|
||||
|
||||
public static String ACTION_SHOW_PREFERENCEPAGE_LABEL;
|
||||
public static String ACTION_SHOW_PREFERENCEPAGE_TOOLTIP;
|
||||
|
||||
public static String ACTION_NEWCONN_LABEL;
|
||||
public static String ACTION_NEWCONN_TOOLTIP;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
################################################################################
|
||||
# Copyright (c) 2000, 2007 IBM Corporation. All rights reserved.
|
||||
# Copyright (c) 2000, 2007 IBM Corporation 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
|
||||
|
@ -11,7 +11,7 @@
|
|||
# Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||
#
|
||||
# Contributors:
|
||||
# {Name} (company) - description of contribution.
|
||||
# Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
################################################################################
|
||||
|
||||
# NLS_MESSAGEFORMAT_VAR
|
||||
|
@ -812,6 +812,9 @@ ACTION_RESTORE_STATE_PREFERENCE_TOOLTIP=If selected, the tree is re-expanded to
|
|||
ACTION_PREFERENCE_SHOW_FILTERPOOLS_LABEL=Show Filter Pools
|
||||
ACTION_PREFERENCE_SHOW_FILTERPOOLS_TOOLTIP=Show filter pools when expanding subsystems
|
||||
|
||||
ACTION_SHOW_PREFERENCEPAGE_LABEL=Remote Systems...
|
||||
ACTION_SHOW_PREFERENCEPAGE_TOOLTIP=Go to the Remote Systems primary preferences page
|
||||
|
||||
ACTION_NEWCONN_LABEL=New Connection...
|
||||
ACTION_NEWCONN_TOOLTIP=Define a connection to remote system
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/********************************************************************************
|
||||
* Copyright (c) 2002, 2006 IBM Corporation. All rights reserved.
|
||||
* Copyright (c) 2002, 2007 IBM Corporation 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
|
||||
|
@ -11,7 +11,7 @@
|
|||
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||
*
|
||||
* Contributors:
|
||||
* {Name} (company) - description of contribution.
|
||||
* Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.actions;
|
||||
|
@ -36,9 +36,8 @@ import org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog;
|
|||
* preference page (it will include its children underneath), including the
|
||||
* child pages registered under that page ("category").
|
||||
* <p>
|
||||
* This is used by the org.eclipse.rse.core.remoteSystemsViewPreferencesActions
|
||||
* extension point.
|
||||
* @see org.eclipse.rse.ui.actions.SystemCascadingPreferencesAction
|
||||
* @deprecated this will be moved to use the command/handler extension point.
|
||||
* @see SystemCascadingPreferencesAction
|
||||
*/
|
||||
public class SystemShowPreferencesPageAction extends SystemBaseAction implements IViewActionDelegate
|
||||
{
|
||||
|
@ -48,8 +47,9 @@ public class SystemShowPreferencesPageAction extends SystemBaseAction implements
|
|||
private String preferencePageCategory;
|
||||
|
||||
/**
|
||||
* Constructor. We are instantiated inside {@link RSEUIPlugin#getShowPreferencePageActions()}
|
||||
* for each extension of our extension point <code>org.eclipse.rse.core.remoteSystemsViewPreferencesActions</code>
|
||||
* Constructor.
|
||||
* We are instantiated inside {@link RSEUIPlugin#getShowPreferencePageActions()}
|
||||
* for each menu shortcut to show a particular preference page.
|
||||
*/
|
||||
public SystemShowPreferencesPageAction()
|
||||
{
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
* Martin Oberhuber (Wind River) - Replace SystemRegistry by ISystemRegistry
|
||||
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
||||
* Martin Oberhuber (Wind River) - [177523] Unify singleton getter methods
|
||||
* Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view;
|
||||
|
@ -726,8 +727,8 @@ public class SystemViewPart
|
|||
menuMgr.add(showFilterPoolsAction);
|
||||
menuMgr.add(restoreStateAction); // d51541
|
||||
|
||||
// Now query our remoteSystemsViewPreferencesActions for extenders who wish to appear in the
|
||||
// preferences cascading menu...
|
||||
// Now display any contributed action shortcuts for bringing up
|
||||
// a particular preference page...
|
||||
SystemCascadingPreferencesAction preferencesAction = new SystemCascadingPreferencesAction(shell);
|
||||
menuMgr.add(preferencesAction.getSubMenu());
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
* Martin Oberhuber (Wind River) - [174945] Remove obsolete icons from rse.shells.ui
|
||||
* Martin Oberhuber (Wind River) - [186525] Move keystoreProviders to core
|
||||
* Martin Oberhuber (Wind River) - [186523] Move subsystemConfigurations from UI to core
|
||||
* Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.ui;
|
||||
|
@ -694,86 +695,28 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
return getDefault().isSystemRegistryActive();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Return all elements that extend the org.eclipse.rse.ui.remoteSystemsViewPreferencesActions extension point
|
||||
*/
|
||||
private IConfigurationElement[] getPreferencePageActionPlugins()
|
||||
{
|
||||
// Get reference to the plug-in registry
|
||||
IExtensionRegistry registry = Platform.getExtensionRegistry();
|
||||
// Get configured extenders
|
||||
IConfigurationElement[] prefPageExtensions =
|
||||
registry.getConfigurationElementsFor(PLUGIN_ID,"remoteSystemsViewPreferencesActions"); //$NON-NLS-1$
|
||||
|
||||
return prefPageExtensions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an array of action objects registered via our org.eclipse.rse.ui.remoteSystemsViewPreferencesActions
|
||||
* extension point. <br>
|
||||
* This may return null if there are no extenders.
|
||||
* Return an array of action objects to show for the "Preferences..."
|
||||
* submenu of the RSE System View.
|
||||
* For contributing a fastpath action to jump to your preferences page,
|
||||
* from the local pulldown menu of the Remote Systems view.
|
||||
* This may return null if no such actions are registered.
|
||||
* @deprecated will be moved to using command/hander extension point
|
||||
*/
|
||||
public SystemShowPreferencesPageAction[] getShowPreferencePageActions()
|
||||
{
|
||||
if (showPrefPageActions == null)
|
||||
{
|
||||
IConfigurationElement[] showPrefPagePlugins = getPreferencePageActionPlugins();
|
||||
if (showPrefPagePlugins != null)
|
||||
{
|
||||
Vector v = new Vector();
|
||||
for (int idx=0; idx<showPrefPagePlugins.length; idx++)
|
||||
{
|
||||
SystemShowPreferencesPageAction action = new SystemShowPreferencesPageAction();
|
||||
|
||||
String prefPageId = showPrefPagePlugins[idx].getAttribute("preferencePageId"); //$NON-NLS-1$
|
||||
if ((prefPageId!=null)&&(prefPageId.length()>0))
|
||||
{
|
||||
action.setPreferencePageID(prefPageId);
|
||||
}
|
||||
String prefPageCategory = showPrefPagePlugins[idx].getAttribute("preferencePageCategory"); //$NON-NLS-1$
|
||||
if ((prefPageCategory!=null)&&(prefPageCategory.length()>0))
|
||||
{
|
||||
action.setPreferencePageCategory(prefPageCategory);
|
||||
}
|
||||
String iconFile = showPrefPagePlugins[idx].getAttribute("icon"); //$NON-NLS-1$
|
||||
|
||||
if ((iconFile!=null)&&(iconFile.length()>0))
|
||||
{
|
||||
// get namespace of extension (i.e. the id of the declaring plugin)
|
||||
String nameSpace = showPrefPagePlugins[idx].getDeclaringExtension().getNamespaceIdentifier();
|
||||
|
||||
// now get the associated bundle
|
||||
Bundle bundle = Platform.getBundle(nameSpace);
|
||||
|
||||
ImageDescriptor id = getPluginImage(bundle, iconFile);
|
||||
|
||||
if (id != null) {
|
||||
action.setImageDescriptor(id);
|
||||
}
|
||||
}
|
||||
String label = showPrefPagePlugins[idx].getAttribute("label"); //$NON-NLS-1$
|
||||
if ((label!=null)&&(label.length()>0))
|
||||
{
|
||||
action.setText(label);
|
||||
}
|
||||
String tooltip = showPrefPagePlugins[idx].getAttribute("tooltip"); //$NON-NLS-1$
|
||||
if ((tooltip!=null)&&(tooltip.length()>0))
|
||||
{
|
||||
action.setToolTipText(tooltip);
|
||||
}
|
||||
String heldId = showPrefPagePlugins[idx].getAttribute("helpContextId"); //$NON-NLS-1$
|
||||
if ((heldId!=null)&&(heldId.length()>0))
|
||||
{
|
||||
action.setHelp(heldId);
|
||||
}
|
||||
v.addElement(action);
|
||||
} // end for all plugins loop
|
||||
showPrefPageActions = new SystemShowPreferencesPageAction[v.size()];
|
||||
for (int idx=0; idx<v.size(); idx++)
|
||||
showPrefPageActions[idx] = (SystemShowPreferencesPageAction)v.elementAt(idx);
|
||||
}
|
||||
//add our own preferences page action hardcoded
|
||||
SystemShowPreferencesPageAction action = new SystemShowPreferencesPageAction();
|
||||
action.setPreferencePageID("org.eclipse.rse.ui.preferences.RemoteSystemsPreferencePage"); //$NON-NLS-1$
|
||||
//action.setPreferencePageCategory(preferencePageCategory)
|
||||
//action.setImageDescriptor(id);
|
||||
action.setText(SystemResources.ACTION_SHOW_PREFERENCEPAGE_LABEL);
|
||||
action.setToolTipText(SystemResources.ACTION_SHOW_PREFERENCEPAGE_TOOLTIP);
|
||||
action.setHelp("org.eclipse.rse.ui.aprefrse"); //$NON-NLS-1$
|
||||
showPrefPageActions = new SystemShowPreferencesPageAction[1];
|
||||
showPrefPageActions[0] = action;
|
||||
}
|
||||
return showPrefPageActions;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
# method for translatable label.
|
||||
# Martin Oberhuber (Wind River) - [186525] Move keystoreProviders to core
|
||||
# Martin Oberhuber (Wind River) - [186523] Move subsystemConfigurations from UI to core
|
||||
# Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
################################################################################
|
||||
|
||||
# NLS_MESSAGEFORMAT_NONE
|
||||
|
@ -24,7 +25,6 @@ pluginName = RSE UI
|
|||
providerName = Eclipse.org
|
||||
|
||||
extPoint.newConnectionWizard = New Connection Wizard
|
||||
extPoint.remoteSystemsViewPreferencesActions = Remote Systems View Preferences Actions
|
||||
#extPoint.compile = Remote Compile Commands
|
||||
extPoint.mountPathMappers = Mount Path Mappers
|
||||
|
||||
|
@ -68,9 +68,6 @@ View.Scratchpad = Remote Scratchpad
|
|||
|
||||
View.Monitor = Remote Monitor
|
||||
|
||||
PreferencePageAction.rse.label = Remote Systems...
|
||||
PreferencePageAction.rse.tooltip = Go to the Remote Systems primary preferences page
|
||||
|
||||
# Decorators
|
||||
SubSystemErrorDecorator.label=SubSystem Error Decorator
|
||||
|
||||
|
|
|
@ -15,47 +15,10 @@ Contributors:
|
|||
Martin Oberhuber (Wind River) - [185554] Remove dynamicPopupMenuExtensions extension point
|
||||
Martin Oberhuber (Wind River) - [186525] Move keystoreProviders to core
|
||||
Martin Oberhuber (Wind River) - [186523] Move subsystemConfigurations from UI to core
|
||||
Martin Oberhuber (Wind River) - [185552] Remove remoteSystemsViewPreferencesActions extension point
|
||||
-->
|
||||
<?eclipse version="3.1"?>
|
||||
<plugin>
|
||||
<!-- ================================================================================== -->
|
||||
<!-- EXTENSION POINT: org.eclipse.rse.ui.remoteSystemsViewPreferencesActions -->
|
||||
<!-- ================================================================================== -->
|
||||
<!-- Extension point for defining actions that appear in the cascading Preferences menu -->
|
||||
<!-- in the local pulldown menu for the Remote Systems view. These actions should -->
|
||||
<!-- take the directly to a preference page root, as a shortcut to navigating the -->
|
||||
<!-- Windows->Preferences preferences dialog. The action's class should extend the -->
|
||||
<!-- class org.eclipse.rse.ui.actions.SystemBasePreferencesPageAction. -->
|
||||
<!-- -->
|
||||
<!-- Example of extension configuration: -->
|
||||
<!-- <extension point="org.eclipse.rse.ui.remoteSystemsViewPreferencesActions"> -->
|
||||
<!-- <action -->
|
||||
<!-- id="com.acme.showMyPreferencePage" -->
|
||||
<!-- label="My Preferences" -->
|
||||
<!-- preferencePageId="com.acme.myPreferencePage"> -->
|
||||
<!-- </action> -->
|
||||
<!-- </extension> -->
|
||||
<!-- -->
|
||||
<!-- <action> tag attributes: -->
|
||||
<!-- ================================================================================== -->
|
||||
<!-- id => unique id for this action. -->
|
||||
<!-- label => label for the action. This will be displayed in the -->
|
||||
<!-- preferences cascading menu. -->
|
||||
<!-- preferencePageId => the "id" value of your org.eclipse.ui.preferencePages -->
|
||||
<!-- extension, for the preference page to root the -->
|
||||
<!-- preferences dialog to when the action is selected -->
|
||||
<!-- preferencePageCategory => if this is not a root page, then specify the id of the -->
|
||||
<!-- root page this is part of. This should be the absolute -->
|
||||
<!-- root, not the immediate parent. It tells us what root tree -->
|
||||
<!-- to search in to find the child. -->
|
||||
<!-- icon => optional. Icon to display for this action. -->
|
||||
<!-- tooltip => optional. Tooltip text to show in hover help. -->
|
||||
<!-- helpContextId => optional. ID of contextual help to show when F1 is pressed -->
|
||||
<!-- -->
|
||||
<!-- See the extension point reference for more details. -->
|
||||
|
||||
<extension-point id="remoteSystemsViewPreferencesActions" name="%extPoint.remoteSystemsViewPreferencesActions" schema="schema/remoteSystemsViewPreferencesActions.exsd"/>
|
||||
|
||||
<!-- ============================================ -->
|
||||
<!-- Define a RemoteSystems project nature -->
|
||||
<!-- ============================================ -->
|
||||
|
@ -301,15 +264,19 @@ Martin Oberhuber (Wind River) - [186523] Move subsystemConfigurations from UI to
|
|||
<!-- ================================================================================= -->
|
||||
<!-- Define Remote System Explorer view pulldown menu submenu for preferences actions -->
|
||||
<!-- ================================================================================= -->
|
||||
<!-- TODO migrate to command/handler
|
||||
<extension point="org.eclipse.rse.ui.remoteSystemsViewPreferencesActions">
|
||||
<action
|
||||
id="org.eclipse.rse.ui.preferences.actions.rse"
|
||||
label="%PreferencePageAction.rse.label"
|
||||
preferencePageId="org.eclipse.rse.ui.preferences.RemoteSystemsPreferencePage"
|
||||
preferencePageCategory=""
|
||||
icon=""
|
||||
tooltip="%PreferencePageAction.rse.tooltip"
|
||||
helpContextId="org.eclipse.rse.ui.aprefrse"
|
||||
/>
|
||||
</extension>
|
||||
-->
|
||||
|
||||
<!-- ============================================ -->
|
||||
<!-- Define Remote Systems Perspective -->
|
||||
|
|
|
@ -1,193 +0,0 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- Schema file written by PDE -->
|
||||
<schema targetNamespace="org.eclipse.rse.ui">
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.schema plugin="org.eclipse.rse.ui" id="remoteSystemsViewPreferencesActions" name="Remote Systems View Preferences Page Action"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
This extension point is for contributing an action to the Remote Systems view pulldown menu, to the Preferences cascading menu. This action will launch the Preferences dialog, scoped to the particular page you specify. This will automatically show any child pages as well. This point is easy to extend, no coding required. Just name the preference page by its id from the preferencePages extension that defined the page. Also, if it is not a root page, then you must also name the root page (such as when using Windows-&gt;Preference) by its id from its preferencePages extension.
|
||||
|
||||
This would be used by anyone who extends the Remote System Explorer, and offers preference pages for their users, and wants a shortcut to those preference pages for convenience.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="action" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</sequence>
|
||||
<attribute name="point" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="id" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="name" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
</complexType>
|
||||
</element>
|
||||
|
||||
<element name="action">
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.element labelAttribute="label" icon="icon"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
A unique identifier for this extension.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="label" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
The display name for the action, shown in the menu. Include any mnenomnic if desired.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="preferencePageId" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
This matches the "id" attribute on the preferencePages extension, for the preference page you wish to show in the Preference Dialog for this action. If the preference page is a root (no "category" attribute in its preferencePages extension), this is all you need. Else, you also need to specify the preferencePageCategory attribute.
|
||||
|
||||
Note this page will be shown as the root in the Preferences dialog, but it can be expanded to see its child nodes.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="preferencePageCategory" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
This is required if the preference page you wish to show is not a root page, which means if it has a "category" attribute in its preferencePage extension definition. If so, here you give the "id" value of the preference page's root page... not its immediate parent! Be careful. We need to know the id of the root page so we know which root to recursively search the children of to find the page you specified in the preferencePageId attribute.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="icon" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
A relative path to an icon that will be displayed in the menu, with the label. Optional
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="resource"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="tooltip" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
A description of the action, for display on the status line, although it doesn't seem to work just yet. Optional
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="helpContextId" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
The id of help to be shown when F1 is pressed while this action is selected. Optional
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
</complexType>
|
||||
</element>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="examples"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
<extension point="org.eclipse.rse.ui.remoteSystemsViewPreferencesActions">
|
||||
<action
|
||||
id="org.eclipse.rse.ui.preferences.actions.rse"
|
||||
label="%PreferencePageAction.rse.label"
|
||||
preferencePageId="org.eclipse.rse.ui.ui.preferences.RemoteSystemsPreferencePage"
|
||||
tooltip="%PreferencePageAction.rse.tooltip"
|
||||
helpContextId="org.eclipse.rse.ui.aprefrse"
|
||||
/>
|
||||
</extension>
|
||||
|
||||
<extension point="org.eclipse.rse.ui.remoteSystemsViewPreferencesActions">
|
||||
<action
|
||||
id="com.acme.tools.core.preferences.rse"
|
||||
label="%PreferencePageAction.rse.label"
|
||||
preferencePageId="com.acme.tools.core.ui.preferences.PreferencePage"
|
||||
preferencePageCategory="org.eclipse.rse.ui.preferences.RemoteSystemsPreferencePage"
|
||||
tooltip="%PreferencePageAction.rse.tooltip"
|
||||
helpContextId="com.acme.tools.core.aprefrse"
|
||||
/>
|
||||
<action
|
||||
id="com.acme.tools.core.preferences.editor"
|
||||
label="%PreferencePageAction.editor.label"
|
||||
preferencePageId="com.acme.tools.editor.preferences.EditorGeneralPreferencePage"
|
||||
preferencePageCategory="org.eclipse.rse.ui.preferences.RemoteSystemsPreferencePage"
|
||||
tooltip="%PreferencePageAction.editor.tooltip"
|
||||
helpContextId="com.acme.tools.core.helpcontext01"
|
||||
/>
|
||||
<action
|
||||
id="com.acme.tools.core.preferences.cache"
|
||||
label="%PreferencePageAction.cache.label"
|
||||
preferencePageId="com.acme.tools.core.ui.preferences.CachingPreferencePage"
|
||||
preferencePageCategory="org.eclipse.rse.ui.preferences.RemoteSystemsPreferencePage"
|
||||
tooltip="%PreferencePageAction.caching.tooltip"
|
||||
helpContextId="com.acme.tools.core.helpcontext02"
|
||||
/>
|
||||
</extension>
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="apiInfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Since no coding is required, there is no API information.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
This extension point is used by the <code>org.eclipse.rse.ui.actions.SystemCascadingPreferencesAction</code> class, which in turn creates a <code>org.eclipse.rse.ui.actions.SystemShowPreferencesPageAction</code> object for each extension of this point. These are used to populate the Preferences cascading menu of the Remote Systems view pulldown, but could be used elsewhere too, if desired.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.section type="copyright"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Copyright (c) 2002, 2006 IBM Corporation. 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:
|
||||
IBM Corporation - initial API and implementation
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
</schema>
|
Loading…
Add table
Reference in a new issue