mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
[cleanup] Review *.exsd schemas for incorrect references, fix some names along the way
This commit is contained in:
parent
934317da6c
commit
5d23fe954d
21 changed files with 187 additions and 111 deletions
|
@ -90,7 +90,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
|
||||
private IRSEPersistenceManager _persistenceManager = null;
|
||||
|
||||
private ISubSystemConfigurationProxy[] subsystemFactories = null;
|
||||
private ISubSystemConfigurationProxy[] subsystemConfigurations = null;
|
||||
|
||||
|
||||
private Vector viewSuppliers = new Vector();
|
||||
|
@ -1063,12 +1063,12 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
|
||||
/**
|
||||
* Return an array of SubSystemConfigurationProxy objects.
|
||||
* These represent all extensions to our subsystemconfiguration extension point.
|
||||
* These represent all extensions to our subsystemConfiguration extension point.
|
||||
*/
|
||||
public ISubSystemConfigurationProxy[] getSubSystemConfigurationProxies()
|
||||
{
|
||||
if (subsystemFactories != null) // added by PSC
|
||||
return subsystemFactories;
|
||||
if (subsystemConfigurations != null) // added by PSC
|
||||
return subsystemConfigurations;
|
||||
|
||||
IConfigurationElement[] factoryPlugins = getSubSystemConfigurationPlugins();
|
||||
if (factoryPlugins != null)
|
||||
|
@ -1083,19 +1083,19 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
}
|
||||
if (v.size() != 0)
|
||||
{
|
||||
subsystemFactories = new ISubSystemConfigurationProxy[v.size()];
|
||||
subsystemConfigurations = new ISubSystemConfigurationProxy[v.size()];
|
||||
for (int idx=0; idx<v.size(); idx++)
|
||||
subsystemFactories[idx] = (ISubSystemConfigurationProxy)v.elementAt(idx);
|
||||
subsystemConfigurations[idx] = (ISubSystemConfigurationProxy)v.elementAt(idx);
|
||||
}
|
||||
}
|
||||
|
||||
Arrays.sort(subsystemFactories, new SubSystemConfigurationProxyComparator());
|
||||
Arrays.sort(subsystemConfigurations, new SubSystemConfigurationProxyComparator());
|
||||
|
||||
return subsystemFactories;
|
||||
return subsystemConfigurations;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all elements that extend the org.eclipse.rse.ui.subsystemconfiguration extension point
|
||||
* Return all elements that extend the org.eclipse.rse.ui.subsystemConfiguration extension point
|
||||
*/
|
||||
private IConfigurationElement[] getSubSystemConfigurationPlugins()
|
||||
{
|
||||
|
@ -1103,7 +1103,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
IExtensionRegistry registry = Platform.getExtensionRegistry();
|
||||
// Get configured extenders
|
||||
IConfigurationElement[] subsystemFactoryExtensions =
|
||||
registry.getConfigurationElementsFor("org.eclipse.rse.ui","subsystemConfiguration");
|
||||
registry.getConfigurationElementsFor("org.eclipse.rse.ui","subsystemConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
return subsystemFactoryExtensions;
|
||||
}
|
||||
|
@ -1487,7 +1487,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
IExtensionRegistry registry = Platform.getExtensionRegistry();
|
||||
|
||||
// Get configured extenders
|
||||
IConfigurationElement[] systemTypeExtensions = registry.getConfigurationElementsFor("org.eclipse.rse.ui", "dynamicPopupMenuExtensions");
|
||||
IConfigurationElement[] systemTypeExtensions = registry.getConfigurationElementsFor("org.eclipse.rse.ui", "dynamicPopupMenuExtensions"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
||||
for (int i = 0; i < systemTypeExtensions.length; i++)
|
||||
{
|
||||
|
@ -1496,7 +1496,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
|
|||
// get the name space of the declaring extension
|
||||
String nameSpace = systemTypeExtensions[i].getDeclaringExtension().getNamespace();
|
||||
|
||||
String menuExtensionType = systemTypeExtensions[i].getAttribute("class");
|
||||
String menuExtensionType = systemTypeExtensions[i].getAttribute("class"); //$NON-NLS-1$
|
||||
|
||||
// use the name space to get the bundle
|
||||
Bundle bundle = Platform.getBundle(nameSpace);
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.swt.widgets.Shell;
|
|||
|
||||
/**
|
||||
* Required interface for use in making contributions view the
|
||||
* adapter menu extension extension point (org.eclipse.rse.core.dynamicPopupMenuActions).
|
||||
* adapter menu extension extension point (org.eclipse.rse.ui.dynamicPopupMenuExtensions).
|
||||
*/
|
||||
public interface ISystemDynamicPopupMenuExtension
|
||||
{
|
||||
|
|
|
@ -530,7 +530,7 @@ public class SystemRegistry implements ISystemRegistry, ISystemModelChangeEvents
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the parent subsystemconfiguration given a subsystem object.
|
||||
* Return the parent subsystem configuration given a subsystem object.
|
||||
*/
|
||||
public ISubSystemConfiguration getSubSystemConfiguration(ISubSystem subsystem)
|
||||
{
|
||||
|
@ -538,7 +538,7 @@ public class SystemRegistry implements ISystemRegistry, ISystemModelChangeEvents
|
|||
}
|
||||
|
||||
/**
|
||||
* Return the subsystemconfiguration, given its plugin.xml-declared id.
|
||||
* Return the subsystem configuration, given its plugin.xml-declared id.
|
||||
*/
|
||||
public ISubSystemConfiguration getSubSystemConfiguration(String id)
|
||||
{
|
||||
|
|
|
@ -69,66 +69,66 @@ public class SystemStartHere
|
|||
}
|
||||
|
||||
/**
|
||||
* STEP 2c. Get all connections for your subsystem factory
|
||||
* STEP 2c. Get all connections for your subsystem configuration
|
||||
* <p>
|
||||
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(factory)</code>
|
||||
* @param factory A subsystem factory object.
|
||||
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(subsystemConfiguration)</code>
|
||||
* @param subsystemConfiguration A subsystem configuration object.
|
||||
* @see org.eclipse.rse.model.ISystemRegistry#getHostsBySubSystemConfiguration(ISubSystemConfiguration)
|
||||
* @see #getConnectionsBySubSystemConfiguration(String)
|
||||
*/
|
||||
public static IHost[] getConnectionsBySubSystemConfiguration(ISubSystemConfiguration factory)
|
||||
public static IHost[] getConnectionsBySubSystemConfiguration(ISubSystemConfiguration subsystemConfiguration)
|
||||
{
|
||||
return getSystemRegistry().getHostsBySubSystemConfiguration(factory);
|
||||
return getSystemRegistry().getHostsBySubSystemConfiguration(subsystemConfiguration);
|
||||
}
|
||||
/**
|
||||
* STEP 2d. Get all connections for your subsystem factory, identified by factory Id.
|
||||
* STEP 2d. Get all connections for your subsystem configuration, identified by subsystemConfigurationId.
|
||||
* <p>
|
||||
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(getSubSystemConfiguration(factoryId))</code>
|
||||
* @param factoryId The id of the subsystem factory as given in its plugin.xml id attribute for the subsystemconfiguration extension point
|
||||
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(getSubSystemConfiguration(subsystemConfigurationId))</code>
|
||||
* @param subsystemConfigurationId The id of the subsystem configuration as given in its plugin.xml id attribute for the subsystemConfiguration extension point
|
||||
* @see #getSubSystemConfiguration(String)
|
||||
* @see #getConnectionsBySubSystemConfiguration(ISubSystemConfiguration)
|
||||
*/
|
||||
public static IHost[] getConnectionsBySubSystemConfiguration(String factoryId)
|
||||
public static IHost[] getConnectionsBySubSystemConfiguration(String subsystemConfigurationId)
|
||||
{
|
||||
return getSystemRegistry().getHostsBySubSystemConfiguration(getSubSystemConfiguration(factoryId));
|
||||
return getSystemRegistry().getHostsBySubSystemConfiguration(getSubSystemConfiguration(subsystemConfigurationId));
|
||||
}
|
||||
|
||||
/**
|
||||
* STEP 3a. Get all subsystems for all connections for your subsystem factory, identified by factory Id.
|
||||
* STEP 3a. Get all subsystems for all connections for your subsystem configuration, identified by subsystemConfigurationId.
|
||||
* <p>
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystems(factoryId)</code>
|
||||
* @param factoryId The subsystem factory id as given in its plugin.xml id attribute for the subsystemconfiguration extension point
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystems(subsystemConfigurationId)</code>
|
||||
* @param subsystemConfigurationId The subsystem configuration id as given in its plugin.xml id attribute for the subsystemConfiguration extension point
|
||||
* @see org.eclipse.rse.model.ISystemRegistry#getSubSystems(String)
|
||||
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId()
|
||||
*/
|
||||
public static ISubSystem[] getSubSystems(String factoryId)
|
||||
public static ISubSystem[] getSubSystems(String subsystemConfigurationId)
|
||||
{
|
||||
return getSystemRegistry().getSubSystems(factoryId);
|
||||
return getSystemRegistry().getSubSystems(subsystemConfigurationId);
|
||||
}
|
||||
/**
|
||||
* STEP 3b. Get all subsystems for the given connection for your subsystem factory, identified by factory Id.
|
||||
* STEP 3b. Get all subsystems for the given connection for your subsystem configuration, identified by subsystemConfigurationId.
|
||||
* <p>
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystems(factoryId, connection)</code>
|
||||
* @param factoryId The subsystem factory id as given in its plugin.xml id attribute for the subsystemconfiguration extension point
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystems(subsystemConfigurationId, connection)</code>
|
||||
* @param subsystemConfigurationId The subsystem configuration id as given in its plugin.xml id attribute for the subsystemConfiguration extension point
|
||||
* @param connection The connection object you wish to get the subsystems for. Typically there is only one subsystem per object.
|
||||
* @see org.eclipse.rse.model.ISystemRegistry#getSubSystems(String, IHost)
|
||||
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId()
|
||||
*/
|
||||
public static ISubSystem[] getSubSystems(String factoryId, IHost connection)
|
||||
public static ISubSystem[] getSubSystems(String subsystemConfigurationId, IHost connection)
|
||||
{
|
||||
return getSystemRegistry().getSubSystems(factoryId, connection);
|
||||
return getSystemRegistry().getSubSystems(subsystemConfigurationId, connection);
|
||||
}
|
||||
/**
|
||||
* STEP 3c. Same as {@link #getSubSystems(String,IHost)} by used when you know
|
||||
* the subsystem factory only supports a single subsystem per connection.
|
||||
* @param factoryId The subsystem factory id as given in its plugin.xml id attribute for the subsystemconfiguration extension point
|
||||
* the subsystem configuration only supports a single subsystem per connection.
|
||||
* @param subsystemConfigurationId The subsystem configuration id as given in its plugin.xml id attribute for the subsystemConfiguration extension point
|
||||
* @param connection The connection object you wish to get the subsystems for. Typically there is only one subsystem per object.
|
||||
* @see #getSubSystems(String, IHost)
|
||||
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId()
|
||||
*/
|
||||
public static ISubSystem getSubSystem(String factoryId, IHost connection)
|
||||
public static ISubSystem getSubSystem(String subsystemConfigurationId, IHost connection)
|
||||
{
|
||||
ISubSystem[] subsystems = getSystemRegistry().getSubSystems(factoryId, connection);
|
||||
ISubSystem[] subsystems = getSystemRegistry().getSubSystems(subsystemConfigurationId, connection);
|
||||
if ((subsystems == null) || (subsystems.length==0))
|
||||
return null;
|
||||
else
|
||||
|
@ -141,14 +141,14 @@ public class SystemStartHere
|
|||
// MISCELLANEOUS:
|
||||
// ----------------------------
|
||||
/**
|
||||
* Miscallenous Helper. Return the subsystem factory object for the given subsystem factory Id
|
||||
* Miscallenous Helper. Return the subsystem configuration object for the given subsystemConfigurationId.
|
||||
* <p>
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystemConfiguration(factoryId)</code>
|
||||
* @param factoryId The id of the subsystem factory as given in its plugin.xml id attribute for the subsystemconfiguration extension point
|
||||
* SAME AS: <code>getSystemRegistry().getSubSystemConfiguration(subsystemConfigurationId)</code>
|
||||
* @param subsystemConfigurationId The id of the subsystem configuration as given in its plugin.xml id attribute for the subsystemConfiguration extension point
|
||||
*/
|
||||
public static ISubSystemConfiguration getSubSystemConfiguration(String factoryId)
|
||||
public static ISubSystemConfiguration getSubSystemConfiguration(String subsystemConfigurationId)
|
||||
{
|
||||
return getSystemRegistry().getSubSystemConfiguration(factoryId);
|
||||
return getSystemRegistry().getSubSystemConfiguration(subsystemConfigurationId);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -22,7 +22,7 @@ extPoint.systemtype = Remote System Type
|
|||
extPoint.subsystemConfiguration = Remote Subsystem Configuration
|
||||
extPoint.popupMenus = Remote Object Popup Menu Actions
|
||||
extPoint.propertyPages = RRemote Object Property Pages
|
||||
extPoint.remoteSystemsViewPreferencesAction = Remote Systems View Preferences Actions
|
||||
extPoint.remoteSystemsViewPreferencesActions = Remote Systems View Preferences Actions
|
||||
extPoint.compile = Remote Compile Commands
|
||||
extPoint.archivehandlers = Remote Archive Handlers
|
||||
extPoint.mountPathMappers = Mount Path Mappers
|
||||
|
|
|
@ -131,7 +131,7 @@ Contributors:
|
|||
<!-- subsystemconfigurationid => the subsystem configuration id to whose objects you wish to show -->
|
||||
<!-- a property page for. Can be a simple name or simple generic -->
|
||||
<!-- name to match on. -->
|
||||
<!-- This id matches the id attribute of a subsystemconfiguration -->
|
||||
<!-- This id matches the id attribute of a subsystemConfiguration -->
|
||||
<!-- extension point. -->
|
||||
<!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a -->
|
||||
<!-- simple name or simple generic like "*files". Matches on -->
|
||||
|
@ -210,7 +210,7 @@ Contributors:
|
|||
<!-- subsystemconfigurationid => the subsystem configuration id for whose objects you wish to show -->
|
||||
<!-- a popup action for. Can be a simple name or simple generic -->
|
||||
<!-- name to match on. -->
|
||||
<!-- This id matches the id attribute of a subsystemconfiguration -->
|
||||
<!-- This id matches the id attribute of a subsystemConfiguration -->
|
||||
<!-- extension point. -->
|
||||
<!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a -->
|
||||
<!-- simple name or simple generic like "*files". Matches on -->
|
||||
|
@ -432,7 +432,7 @@ Contributors:
|
|||
<!-- -->
|
||||
<!-- See the extension point reference for more details. -->
|
||||
|
||||
<extension-point id="remoteSystemsViewPreferencesActions" name="%extPoint.remoteSystemsViewPreferencesAction" schema="schema/remoteSystemsViewPreferencesAction.exsd"/>
|
||||
<extension-point id="remoteSystemsViewPreferencesActions" name="%extPoint.remoteSystemsViewPreferencesActions" schema="schema/remoteSystemsViewPreferencesAction.exsd"/>
|
||||
|
||||
<!-- ================================================================================== -->
|
||||
<!-- EXTENSION POINT: org.eclipse.rse.ui.showNewConnectionPrompt -->
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="archivehandler" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
@ -40,6 +45,11 @@
|
|||
</element>
|
||||
|
||||
<element name="archivehandler">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
|
@ -58,10 +68,10 @@
|
|||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.ui.archiveutils.ISystemArchiveHandler</samp> interface.
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.services.clientserver.archiveutils.ISystemArchiveHandler</samp> interface.
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.archiveutils.ISystemArchiveHandler"/>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.services.clientserver.archiveutils.ISystemArchiveHandler"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -95,9 +105,9 @@
|
|||
<pre>
|
||||
<extension point="org.eclipse.rse.ui.archivehandlers">
|
||||
<archivehandler
|
||||
id="org.eclipse.rse.ui.archiveutils.ziphandler"
|
||||
id="org.eclipse.rse.services.clientserver.archiveutils.systemziphandler"
|
||||
name="Zip File Handler"
|
||||
class="org.eclipse.rse.ui.archiveutils.SystemZipHandler">
|
||||
class="org.eclipse.rse.services.clientserver.archiveutils.SystemZipHandler">
|
||||
</archivehandler>
|
||||
</extension>
|
||||
</pre>
|
||||
|
@ -110,7 +120,7 @@
|
|||
<meta.section type="apiInfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.ui.archiveutils.ISystemArchiveHandler</samp> interface.
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.services.clientserver.archiveutils.ISystemArchiveHandler</samp> interface.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -119,7 +129,7 @@
|
|||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
The Remote Systems Explorer in org.eclipse.rse.ui provides three default implementations of this extension point, for ZIP, JAR, and TAR Archives.
|
||||
The Remote Systems Explorer in org.eclipse.rse.files.ui provides three default implementations of this extension point, for ZIP, JAR, and TAR Archives.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="dynamicPopupMenuExtension" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
@ -40,28 +45,33 @@
|
|||
</element>
|
||||
|
||||
<element name="dynamicPopupMenuExtension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a unique name that will be used to identify the .
|
||||
a unique name that will be used to identify this extension.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="name" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a translatable name that will be used to identify this Oopup Menu Extension in the UI.
|
||||
a translatable name that will be used to identify this Popup Menu Extension in the UI.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.ui.ui.actions.ISystemViewAdapterMenuExtension</samp> interface.
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.ui.actions.ISystemDynamicPopupMenuExtension</samp> interface.
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.ui.actions.ISystemViewAdapterMenuExtension"/>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.actions.ISystemDynamicPopupMenuExtension"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -103,7 +113,7 @@
|
|||
<meta.section type="apiInfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.ui.ui.actions.ISystemViewAdapterMenuExtension</samp> interface.
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.ui.actions.ISystemDynamicPopupMenuExtension</samp> interface.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="keystoreProvider" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
@ -40,6 +45,11 @@
|
|||
</element>
|
||||
|
||||
<element name="keystoreProvider">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
|
@ -58,10 +68,10 @@
|
|||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.ui.resources.ISystemMountPathMapper</samp> interface.
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.core.comm.ISystemKeystoreProvider</samp> interface.
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.resources.ISystemMountPathMapper"/>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.core.comm.ISystemKeystoreProvider"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -103,7 +113,7 @@
|
|||
<meta.section type="apiInfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.ui.comm.ISystemKeystoreProvider</samp> interface.
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.core.comm.ISystemKeystoreProvider</samp> interface.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -112,7 +122,8 @@
|
|||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
The Remote Systems Explorer in org.eclipse.rse.ui provides a default implementation of this extension point.
|
||||
The Remote Systems Explorer provides a default implementation of this extension point
|
||||
in <samp>org.eclipse.rse.dstore.security.UniversalKeystoreProvider</samp>.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="mountPathMapper" minOccurs="0" maxOccurs="unbounded"/>
|
||||
|
@ -40,6 +45,11 @@
|
|||
</element>
|
||||
|
||||
<element name="mountPathMapper">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
|
@ -58,10 +68,10 @@
|
|||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.ui.resources.ISystemMountPathMapper</samp> interface.
|
||||
a fully qualified name of the Java class that implements the <samp>org.eclipse.rse.files.ui.resources.ISystemMountPathMapper</samp> interface.
|
||||
</documentation>
|
||||
<appInfo>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.resources.ISystemMountPathMapper"/>
|
||||
<meta.attribute kind="java" basedOn="org.eclipse.rse.files.ui.resources.ISystemMountPathMapper"/>
|
||||
</appInfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -88,9 +98,9 @@
|
|||
<pre>
|
||||
<extension point="org.eclipse.rse.ui.mountPathMappers">
|
||||
<mountPathMapper
|
||||
id="org.eclipse.rse.ui.resources.defaultMountPathMapper"
|
||||
id="org.eclipse.rse.files.ui.resources.defaultMountPathMapper"
|
||||
name="Default Mount Path Mapper"
|
||||
class="org.eclipse.rse.ui.resources.DefaultMountPathMapper">
|
||||
class="org.eclipse.rse.files.ui.resources.DefaultMountPathMapper">
|
||||
</mountPathMapper>
|
||||
</extension>
|
||||
</pre>
|
||||
|
@ -103,7 +113,7 @@
|
|||
<meta.section type="apiInfo"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.ui.resources.ISystemMountPathMapper</samp> interface.
|
||||
Plug-ins that want to extend this extension point must implement <samp>org.eclipse.rse.files.ui.resources.ISystemMountPathMapper</samp> interface.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -112,7 +122,7 @@
|
|||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
The Remote Systems Explorer in org.eclipse.rse.ui provides a default implementation of this extension point.
|
||||
The Remote Systems Explorer in org.eclipse.rse.files.ui provides a default implementation of this extension point.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="newConnectionWizardDelegate"/>
|
||||
|
@ -43,6 +48,11 @@
|
|||
</element>
|
||||
|
||||
<element name="newConnectionWizardDelegate">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="systemType" type="string" use="required">
|
||||
<annotation>
|
||||
|
@ -69,7 +79,7 @@
|
|||
<meta.section type="since"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
|
||||
1.0.0
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -78,7 +88,17 @@
|
|||
<meta.section type="examples"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
|
||||
The following is an example of this extension point's usage:
|
||||
|
||||
<p>
|
||||
<pre>
|
||||
<extension point="org.eclipse.rse.ui.newConnectionWizardDelegate">
|
||||
<newConnectionWizardDelegate
|
||||
class="com.abc.SerialConnectionWizardDelegate"
|
||||
systemType="Embedded-Linux-Serial"/>
|
||||
</extension>
|
||||
</pre>
|
||||
</p>
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -96,7 +116,7 @@
|
|||
<meta.section type="implementation"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
|
||||
By default there are not contributions to this.
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ system resources, such as in the iSeries QSYS file system.
|
|||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="systemtypes" type="string">
|
||||
<attribute name="systemTypes" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
One of the optional filters to scope the remote resources for
|
||||
|
|
|
@ -78,6 +78,11 @@ You can specify multiple values if you comma-separate them.
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="page" minOccurs="1" maxOccurs="unbounded"/>
|
||||
|
@ -145,20 +150,20 @@ Or better yet, extends one of the IBM-supplied base classes, described in the AP
|
|||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="subsystemfactoryid" type="string">
|
||||
<attribute name="subsystemconfigurationid" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
One of the optional filters to scope the remote resources for
|
||||
which the property page is to appear.
|
||||
Specify as many of these optional filters like this as needed to explicitly scope this property page element.
|
||||
<p>
|
||||
This filter specifies a subsystem factory id, such that this
|
||||
property page will only appear for remote resources returned from subsystems of the given subsystem factory.
|
||||
This ID can be scalar, or it can be generic to match on multiple subsystem factory IDs.
|
||||
This filter specifies a subsystem configuration id, such that this
|
||||
property page will only appear for remote resources returned from subsystems of the given subsystem configuration.
|
||||
This ID can be scalar, or it can be generic to match on multiple subsystem configuration IDs.
|
||||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="subsystemfactoryCategory" type="string">
|
||||
<attribute name="subsystemconfigurationCategory" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
One of the optional filters to scope the remote resources for
|
||||
|
@ -167,16 +172,16 @@ Specify as many of these optional filters like this as needed to explicitly scop
|
|||
this property page element.
|
||||
|
||||
<p>
|
||||
This filter specifies a subsystem factory category, such that
|
||||
This filter specifies a subsystem configuration category, such that
|
||||
this
|
||||
property page will only appear for remote resources returned from subsystems
|
||||
owned by factories
|
||||
owned by subsystem configurations
|
||||
declared defined with the specified category.
|
||||
|
||||
<p>
|
||||
This category can be scalar, or it can be generic to match on
|
||||
multiple subsystem factory categories. The
|
||||
categories of the IBM-supplied subsystem factories that display
|
||||
multiple subsystem configuration categories. The
|
||||
categories of the Predefined subsystem configurations that display
|
||||
remote resources in the Remote
|
||||
Systems view are:
|
||||
</p>
|
||||
|
@ -192,7 +197,7 @@ system resources, such as in the iSeries QSYS file system.
|
|||
</documentation>
|
||||
</annotation>
|
||||
</attribute>
|
||||
<attribute name="systemtypes" type="string">
|
||||
<attribute name="systemTypes" type="string">
|
||||
<annotation>
|
||||
<documentation>
|
||||
One of the optional filters to scope the remote resources for
|
||||
|
@ -228,7 +233,7 @@ defined within this page element.
|
|||
which the property page is to appear.
|
||||
Specify as many of these optional filters like this as needed to explicitly scope this property page element.
|
||||
<p>
|
||||
This filter specifies a type category. Normally the subsystemfactoryid
|
||||
This filter specifies a type category. Normally the subsystemconfigurationid
|
||||
is sufficient, but some subsystems display multiple types of
|
||||
resources, and these are categorized by a type name that can
|
||||
be used to scope property pages. Here are the type categories supported by IBM-
|
||||
|
@ -360,7 +365,7 @@ to files, versus folders, and only for local files:
|
|||
name="Remote File Info"
|
||||
typecategoryfilter="files"
|
||||
typefilter="file"
|
||||
subsystemfactoryid="local.files">
|
||||
subsystemconfigurationid="local.files">
|
||||
</page>
|
||||
</extension>
|
||||
</pre>
|
||||
|
@ -378,7 +383,7 @@ to local Java files:
|
|||
name="Remote Java File Info"
|
||||
typecategoryfilter="files"
|
||||
typefilter="file"
|
||||
subsystemfactoryid="local.files"
|
||||
subsystemconfigurationid="local.files"
|
||||
namefilter="*.java">
|
||||
</page>
|
||||
</extension>
|
||||
|
@ -402,11 +407,11 @@ multiple property pages within the same extension configuration.
|
|||
Typically, you will subclass one of the supplied base classes
|
||||
for this extension point:
|
||||
<ul>
|
||||
<li><b>org.eclipse.rse.ui.ui.propertypages.SystemAbstractPropertyPageExtensionAction</b>,
|
||||
<li><b>org.eclipse.rse.ui.propertypages.SystemAbstractPropertyPageExtensionAction</b>,
|
||||
in plugin org.eclipse.rse.ui.
|
||||
Base class offering generic support for any remote resource property page, for any system type.
|
||||
<li><b>org.eclipse.rse.ui.ui.propertypages.SystemAbstractRemoteFilePropertyPageExtensionAction</b>,
|
||||
in plugin org.eclipse.rse.ui.
|
||||
<li><b>org.eclipse.rse.files.ui.propertypages.SystemAbstractRemoteFilePropertyPageExtensionAction</b>,
|
||||
in plugin org.eclipse.rse.files.ui.
|
||||
Specialized base class offering specific support for any remote file or folder property page, for any system type.
|
||||
</ul>
|
||||
<br>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<schema targetNamespace="org.eclipse.rse.ui">
|
||||
<annotation>
|
||||
<appInfo>
|
||||
<meta.schema plugin="org.eclipse.rse.ui" id="remoteSystemsViewPreferencesAction" name="Remote Systems View Preferences Page Action"/>
|
||||
<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.
|
||||
|
@ -13,6 +13,11 @@ This would be used by anyone who extends the Remote System Explorer, and offers
|
|||
</annotation>
|
||||
|
||||
<element name="extension">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<sequence>
|
||||
<element ref="action" minOccurs="1" maxOccurs="unbounded"/>
|
||||
|
@ -42,6 +47,11 @@ This would be used by anyone who extends the Remote System Explorer, and offers
|
|||
</element>
|
||||
|
||||
<element name="action">
|
||||
<annotation>
|
||||
<documentation>
|
||||
(no description available)
|
||||
</documentation>
|
||||
</annotation>
|
||||
<complexType>
|
||||
<attribute name="id" type="string" use="required">
|
||||
<annotation>
|
||||
|
@ -102,7 +112,7 @@ Note this page will be shown as the root in the Preferences dialog, but it can b
|
|||
<meta.section type="since"/>
|
||||
</appInfo>
|
||||
<documentation>
|
||||
RSE 1.0
|
||||
1.0.0
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -164,7 +174,7 @@ Note this page will be shown as the root in the Preferences dialog, but it can b
|
|||
<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.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.
|
||||
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>
|
||||
|
||||
|
|
|
@ -194,9 +194,9 @@ Note that ServiceSubSystems that share the same service should always use the sa
|
|||
<p>
|
||||
<pre>
|
||||
<extension
|
||||
point="org.eclipse.rse.ui.subsystemconfiguration">
|
||||
point="org.eclipse.rse.ui.subsystemConfiguration">
|
||||
<configuration
|
||||
systemtypes="Unix;Linux;Local"
|
||||
systemTypes="Unix;Linux;Local"
|
||||
name="Databases"
|
||||
icon="icons/dbsubsys.gif"
|
||||
iconlive="icons/dbsubsyslive.gif"
|
||||
|
|
|
@ -1011,7 +1011,7 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
|
|||
* {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}.
|
||||
* However, this method is needed by ISVs that re-use IBM-supplied subsystem factories,
|
||||
* and merely supply their own ISystem object via the "systemClass" attribute of the
|
||||
* subsystemconfiguration extension point.
|
||||
* subsystemConfiguration extension point.
|
||||
*
|
||||
* @see org.eclipse.rse.core.subsystems.ServerLaunchType
|
||||
*/
|
||||
|
|
|
@ -175,7 +175,7 @@ public interface IRemoteServerLauncher extends IServerLauncherProperties{
|
|||
* {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}.
|
||||
* However, this method is needed by ISVs that re-use IBM-supplied subsystem factories,
|
||||
* and merely supply their own ISystem object via the "systemClass" attribute of the
|
||||
* subsystemconfiguration extension point. They don't call this method directly actually, but
|
||||
* subsystemConfiguration extension point. They don't call this method directly actually, but
|
||||
* rather {@link AbstractConnectorService#enableServerLaunchType(SubSystem, ServerLaunchType, boolean)},
|
||||
* which in turn calls this.
|
||||
*
|
||||
|
|
|
@ -301,14 +301,14 @@ public interface ISubSystem extends ISystemFilterPoolReferenceManagerProvider, I
|
|||
public String getUserId();
|
||||
|
||||
/**
|
||||
* @return The value of the FactoryId attribute
|
||||
* Ties this subsystem to its owning subsystemconfiguration, via the
|
||||
* id key string of the factory
|
||||
* @return The value of the ConfigurationId attribute
|
||||
* Ties this subsystem to its owning subsystem configuration, via the
|
||||
* id key string of the configuration.
|
||||
*/
|
||||
public String getConfigurationId();
|
||||
|
||||
/**
|
||||
* @param value The new value of the FactoryId attribute
|
||||
* @param value The new value of the ConfigurationId attribute
|
||||
*/
|
||||
public void setConfigurationId(String value);
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
|
|||
|
||||
|
||||
protected String _name = null;
|
||||
protected String _factoryId = null;
|
||||
protected String _subsystemConfigurationId = null;
|
||||
protected boolean _hidden = false;
|
||||
|
||||
|
||||
|
@ -3172,23 +3172,23 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
|
|||
* <i><b>Private</b>. Do not override.</i>
|
||||
* @generated This field/method will be replaced during code generation
|
||||
* Ties this subsystem to its owning subsystemconfiguration, via the
|
||||
* id key string of the factory
|
||||
* id key string of the configuration.
|
||||
*/
|
||||
public String getConfigurationId()
|
||||
{
|
||||
return _factoryId;
|
||||
return _subsystemConfigurationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* <i><b>Private</b>. Do not override.</i>
|
||||
* @generated This field/method will be replaced during code generation.
|
||||
*/
|
||||
public void setConfigurationId(String newFactoryId)
|
||||
public void setConfigurationId(String newConfigurationId)
|
||||
{
|
||||
String oldFactoryId = _factoryId;
|
||||
if (oldFactoryId == null || !oldFactoryId.equals(newFactoryId))
|
||||
String oldFactoryId = _subsystemConfigurationId;
|
||||
if (oldFactoryId == null || !oldFactoryId.equals(newConfigurationId))
|
||||
{
|
||||
_factoryId = newFactoryId;
|
||||
_subsystemConfigurationId = newConfigurationId;
|
||||
setDirty(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,8 +42,8 @@ import org.osgi.framework.Bundle;
|
|||
* <li>id. Unique identifier
|
||||
* <li>name. Displayable property page name
|
||||
* <li>class. The class which implements IWorkbenchPropertyPage
|
||||
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem factory
|
||||
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem factory category
|
||||
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem configuration
|
||||
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem configuration category
|
||||
* <li>systemTypes. For scoping to remote objects from systems of a given type, or semicolon-separated types.
|
||||
* <li>namefilter. For scoping to remote objects of a given name
|
||||
* <li>typecategoryfilter. For scoping to remote objects for a given remote object type category
|
||||
|
|
|
@ -27,8 +27,8 @@ import org.eclipse.rse.ui.view.ISystemRemoteElementAdapter;
|
|||
* This class encapsulates all the criteria required to identify a match on a remote
|
||||
* system object, and the methods to determine if a given input meets that criteria.
|
||||
* <ol>
|
||||
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem factory
|
||||
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem factory category.
|
||||
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem configuration
|
||||
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem configuration category.
|
||||
* <li>systemTypes. For scoping to remote objects from systems of a given type, or semicolon-separated types.
|
||||
* <li>category. For scoping to remote objects of a given type category
|
||||
* <li>namefilter. For scoping to remote objects of a given name
|
||||
|
|
Loading…
Add table
Reference in a new issue