1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-07 17:15:25 +02:00

[cleanup] Review *.exsd schemas for incorrect references, fix some names along the way

This commit is contained in:
Martin Oberhuber 2006-08-24 14:34:20 +00:00
parent 934317da6c
commit 5d23fe954d
21 changed files with 187 additions and 111 deletions

View file

@ -90,7 +90,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
private IRSEPersistenceManager _persistenceManager = null; private IRSEPersistenceManager _persistenceManager = null;
private ISubSystemConfigurationProxy[] subsystemFactories = null; private ISubSystemConfigurationProxy[] subsystemConfigurations = null;
private Vector viewSuppliers = new Vector(); private Vector viewSuppliers = new Vector();
@ -1063,12 +1063,12 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
/** /**
* Return an array of SubSystemConfigurationProxy objects. * 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() public ISubSystemConfigurationProxy[] getSubSystemConfigurationProxies()
{ {
if (subsystemFactories != null) // added by PSC if (subsystemConfigurations != null) // added by PSC
return subsystemFactories; return subsystemConfigurations;
IConfigurationElement[] factoryPlugins = getSubSystemConfigurationPlugins(); IConfigurationElement[] factoryPlugins = getSubSystemConfigurationPlugins();
if (factoryPlugins != null) if (factoryPlugins != null)
@ -1083,19 +1083,19 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
} }
if (v.size() != 0) if (v.size() != 0)
{ {
subsystemFactories = new ISubSystemConfigurationProxy[v.size()]; subsystemConfigurations = new ISubSystemConfigurationProxy[v.size()];
for (int idx=0; idx<v.size(); idx++) 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() private IConfigurationElement[] getSubSystemConfigurationPlugins()
{ {
@ -1103,7 +1103,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
IExtensionRegistry registry = Platform.getExtensionRegistry(); IExtensionRegistry registry = Platform.getExtensionRegistry();
// Get configured extenders // Get configured extenders
IConfigurationElement[] subsystemFactoryExtensions = IConfigurationElement[] subsystemFactoryExtensions =
registry.getConfigurationElementsFor("org.eclipse.rse.ui","subsystemConfiguration"); registry.getConfigurationElementsFor("org.eclipse.rse.ui","subsystemConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
return subsystemFactoryExtensions; return subsystemFactoryExtensions;
} }
@ -1487,7 +1487,7 @@ public class RSEUIPlugin extends SystemBasePlugin implements ISystemMessageProvi
IExtensionRegistry registry = Platform.getExtensionRegistry(); IExtensionRegistry registry = Platform.getExtensionRegistry();
// Get configured extenders // 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++) 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 // get the name space of the declaring extension
String nameSpace = systemTypeExtensions[i].getDeclaringExtension().getNamespace(); 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 // use the name space to get the bundle
Bundle bundle = Platform.getBundle(nameSpace); Bundle bundle = Platform.getBundle(nameSpace);

View file

@ -21,7 +21,7 @@ import org.eclipse.swt.widgets.Shell;
/** /**
* Required interface for use in making contributions view the * 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 public interface ISystemDynamicPopupMenuExtension
{ {

View file

@ -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> * <p>
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(factory)</code> * SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(subsystemConfiguration)</code>
* @param factory A subsystem factory object. * @param subsystemConfiguration A subsystem configuration object.
* @see org.eclipse.rse.model.ISystemRegistry#getHostsBySubSystemConfiguration(ISubSystemConfiguration) * @see org.eclipse.rse.model.ISystemRegistry#getHostsBySubSystemConfiguration(ISubSystemConfiguration)
* @see #getConnectionsBySubSystemConfiguration(String) * @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> * <p>
* SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(getSubSystemConfiguration(factoryId))</code> * SAME AS: <code>getSystemRegistry().getConnectionsBySubSystemConfiguration(getSubSystemConfiguration(subsystemConfigurationId))</code>
* @param factoryId The id of the subsystem factory as given in its plugin.xml id attribute for the subsystemconfiguration extension point * @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 #getSubSystemConfiguration(String)
* @see #getConnectionsBySubSystemConfiguration(ISubSystemConfiguration) * @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> * <p>
* SAME AS: <code>getSystemRegistry().getSubSystems(factoryId)</code> * SAME AS: <code>getSystemRegistry().getSubSystems(subsystemConfigurationId)</code>
* @param factoryId The subsystem factory id as given in its plugin.xml id attribute for the subsystemconfiguration extension point * @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.model.ISystemRegistry#getSubSystems(String)
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId() * @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> * <p>
* SAME AS: <code>getSystemRegistry().getSubSystems(factoryId, connection)</code> * SAME AS: <code>getSystemRegistry().getSubSystems(subsystemConfigurationId, connection)</code>
* @param factoryId The subsystem factory id as given in its plugin.xml id attribute for the subsystemconfiguration extension point * @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. * @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.model.ISystemRegistry#getSubSystems(String, IHost)
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId() * @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 * STEP 3c. Same as {@link #getSubSystems(String,IHost)} by used when you know
* the subsystem factory only supports a single subsystem per connection. * the subsystem configuration 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 * @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. * @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 #getSubSystems(String, IHost)
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getId() * @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)) if ((subsystems == null) || (subsystems.length==0))
return null; return null;
else else
@ -141,14 +141,14 @@ public class SystemStartHere
// MISCELLANEOUS: // 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> * <p>
* SAME AS: <code>getSystemRegistry().getSubSystemConfiguration(factoryId)</code> * SAME AS: <code>getSystemRegistry().getSubSystemConfiguration(subsystemConfigurationId)</code>
* @param factoryId The id of the subsystem factory as given in its plugin.xml id attribute for the subsystemconfiguration extension point * @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);
} }
/** /**

View file

@ -22,7 +22,7 @@ extPoint.systemtype = Remote System Type
extPoint.subsystemConfiguration = Remote Subsystem Configuration extPoint.subsystemConfiguration = Remote Subsystem Configuration
extPoint.popupMenus = Remote Object Popup Menu Actions extPoint.popupMenus = Remote Object Popup Menu Actions
extPoint.propertyPages = RRemote Object Property Pages 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.compile = Remote Compile Commands
extPoint.archivehandlers = Remote Archive Handlers extPoint.archivehandlers = Remote Archive Handlers
extPoint.mountPathMappers = Mount Path Mappers extPoint.mountPathMappers = Mount Path Mappers

View file

@ -131,7 +131,7 @@ Contributors:
<!-- subsystemconfigurationid => the subsystem configuration id to whose objects you wish to show --> <!-- subsystemconfigurationid => the subsystem configuration id to whose objects you wish to show -->
<!-- a property page for. Can be a simple name or simple generic --> <!-- a property page for. Can be a simple name or simple generic -->
<!-- name to match on. --> <!-- name to match on. -->
<!-- This id matches the id attribute of a subsystemconfiguration --> <!-- This id matches the id attribute of a subsystemConfiguration -->
<!-- extension point. --> <!-- extension point. -->
<!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a --> <!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a -->
<!-- simple name or simple generic like "*files". Matches on --> <!-- 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 --> <!-- subsystemconfigurationid => the subsystem configuration id for whose objects you wish to show -->
<!-- a popup action for. Can be a simple name or simple generic --> <!-- a popup action for. Can be a simple name or simple generic -->
<!-- name to match on. --> <!-- name to match on. -->
<!-- This id matches the id attribute of a subsystemconfiguration --> <!-- This id matches the id attribute of a subsystemConfiguration -->
<!-- extension point. --> <!-- extension point. -->
<!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a --> <!-- subsystemconfigurationCategory => a subsystem configuration "category" to match on. Can be a -->
<!-- simple name or simple generic like "*files". Matches on --> <!-- simple name or simple generic like "*files". Matches on -->
@ -432,7 +432,7 @@ Contributors:
<!-- --> <!-- -->
<!-- See the extension point reference for more details. --> <!-- 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 --> <!-- EXTENSION POINT: org.eclipse.rse.ui.showNewConnectionPrompt -->

View file

@ -11,6 +11,11 @@
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="archivehandler" minOccurs="0" maxOccurs="unbounded"/> <element ref="archivehandler" minOccurs="0" maxOccurs="unbounded"/>
@ -40,6 +45,11 @@
</element> </element>
<element name="archivehandler"> <element name="archivehandler">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="id" type="string" use="required"> <attribute name="id" type="string" use="required">
<annotation> <annotation>
@ -58,10 +68,10 @@
<attribute name="class" type="string" use="required"> <attribute name="class" type="string" use="required">
<annotation> <annotation>
<documentation> <documentation>
a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.ui.archiveutils.ISystemArchiveHandler&lt;/samp&gt; interface. a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.services.clientserver.archiveutils.ISystemArchiveHandler&lt;/samp&gt; interface.
</documentation> </documentation>
<appInfo> <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> </appInfo>
</annotation> </annotation>
</attribute> </attribute>
@ -95,9 +105,9 @@
&lt;pre&gt; &lt;pre&gt;
&lt;extension point=&quot;org.eclipse.rse.ui.archivehandlers&quot;&gt; &lt;extension point=&quot;org.eclipse.rse.ui.archivehandlers&quot;&gt;
&lt;archivehandler &lt;archivehandler
id=&quot;org.eclipse.rse.ui.archiveutils.ziphandler&quot; id=&quot;org.eclipse.rse.services.clientserver.archiveutils.systemziphandler&quot;
name=&quot;Zip File Handler&quot; name=&quot;Zip File Handler&quot;
class=&quot;org.eclipse.rse.ui.archiveutils.SystemZipHandler&quot;&gt; class=&quot;org.eclipse.rse.services.clientserver.archiveutils.SystemZipHandler&quot;&gt;
&lt;/archivehandler&gt; &lt;/archivehandler&gt;
&lt;/extension&gt; &lt;/extension&gt;
&lt;/pre&gt; &lt;/pre&gt;
@ -110,7 +120,7 @@
<meta.section type="apiInfo"/> <meta.section type="apiInfo"/>
</appInfo> </appInfo>
<documentation> <documentation>
Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.ui.archiveutils.ISystemArchiveHandler&lt;/samp&gt; interface. Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.services.clientserver.archiveutils.ISystemArchiveHandler&lt;/samp&gt; interface.
</documentation> </documentation>
</annotation> </annotation>
@ -119,7 +129,7 @@
<meta.section type="implementation"/> <meta.section type="implementation"/>
</appInfo> </appInfo>
<documentation> <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> </documentation>
</annotation> </annotation>

View file

@ -11,6 +11,11 @@
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="dynamicPopupMenuExtension" minOccurs="0" maxOccurs="unbounded"/> <element ref="dynamicPopupMenuExtension" minOccurs="0" maxOccurs="unbounded"/>
@ -40,28 +45,33 @@
</element> </element>
<element name="dynamicPopupMenuExtension"> <element name="dynamicPopupMenuExtension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="id" type="string" use="required"> <attribute name="id" type="string" use="required">
<annotation> <annotation>
<documentation> <documentation>
a unique name that will be used to identify the . a unique name that will be used to identify this extension.
</documentation> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="name" type="string" use="required"> <attribute name="name" type="string" use="required">
<annotation> <annotation>
<documentation> <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> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="class" type="string" use="required"> <attribute name="class" type="string" use="required">
<annotation> <annotation>
<documentation> <documentation>
a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.ui.ui.actions.ISystemViewAdapterMenuExtension&lt;/samp&gt; interface. a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.ui.actions.ISystemDynamicPopupMenuExtension&lt;/samp&gt; interface.
</documentation> </documentation>
<appInfo> <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> </appInfo>
</annotation> </annotation>
</attribute> </attribute>
@ -103,7 +113,7 @@
<meta.section type="apiInfo"/> <meta.section type="apiInfo"/>
</appInfo> </appInfo>
<documentation> <documentation>
Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.ui.ui.actions.ISystemViewAdapterMenuExtension&lt;/samp&gt; interface. Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.ui.actions.ISystemDynamicPopupMenuExtension&lt;/samp&gt; interface.
</documentation> </documentation>
</annotation> </annotation>

View file

@ -11,6 +11,11 @@
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="keystoreProvider" minOccurs="0" maxOccurs="unbounded"/> <element ref="keystoreProvider" minOccurs="0" maxOccurs="unbounded"/>
@ -40,6 +45,11 @@
</element> </element>
<element name="keystoreProvider"> <element name="keystoreProvider">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="id" type="string" use="required"> <attribute name="id" type="string" use="required">
<annotation> <annotation>
@ -58,10 +68,10 @@
<attribute name="class" type="string" use="required"> <attribute name="class" type="string" use="required">
<annotation> <annotation>
<documentation> <documentation>
a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.ui.resources.ISystemMountPathMapper&lt;/samp&gt; interface. a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.core.comm.ISystemKeystoreProvider&lt;/samp&gt; interface.
</documentation> </documentation>
<appInfo> <appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.rse.ui.resources.ISystemMountPathMapper"/> <meta.attribute kind="java" basedOn="org.eclipse.rse.core.comm.ISystemKeystoreProvider"/>
</appInfo> </appInfo>
</annotation> </annotation>
</attribute> </attribute>
@ -103,7 +113,7 @@
<meta.section type="apiInfo"/> <meta.section type="apiInfo"/>
</appInfo> </appInfo>
<documentation> <documentation>
Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.ui.comm.ISystemKeystoreProvider&lt;/samp&gt; interface. Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.core.comm.ISystemKeystoreProvider&lt;/samp&gt; interface.
</documentation> </documentation>
</annotation> </annotation>
@ -112,7 +122,8 @@
<meta.section type="implementation"/> <meta.section type="implementation"/>
</appInfo> </appInfo>
<documentation> <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 &lt;samp&gt;org.eclipse.rse.dstore.security.UniversalKeystoreProvider&lt;/samp&gt;.
</documentation> </documentation>
</annotation> </annotation>

View file

@ -11,6 +11,11 @@
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="mountPathMapper" minOccurs="0" maxOccurs="unbounded"/> <element ref="mountPathMapper" minOccurs="0" maxOccurs="unbounded"/>
@ -40,6 +45,11 @@
</element> </element>
<element name="mountPathMapper"> <element name="mountPathMapper">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="id" type="string" use="required"> <attribute name="id" type="string" use="required">
<annotation> <annotation>
@ -58,10 +68,10 @@
<attribute name="class" type="string" use="required"> <attribute name="class" type="string" use="required">
<annotation> <annotation>
<documentation> <documentation>
a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.ui.resources.ISystemMountPathMapper&lt;/samp&gt; interface. a fully qualified name of the Java class that implements the &lt;samp&gt;org.eclipse.rse.files.ui.resources.ISystemMountPathMapper&lt;/samp&gt; interface.
</documentation> </documentation>
<appInfo> <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> </appInfo>
</annotation> </annotation>
</attribute> </attribute>
@ -88,9 +98,9 @@
&lt;pre&gt; &lt;pre&gt;
&lt;extension point=&quot;org.eclipse.rse.ui.mountPathMappers&quot;&gt; &lt;extension point=&quot;org.eclipse.rse.ui.mountPathMappers&quot;&gt;
&lt;mountPathMapper &lt;mountPathMapper
id=&quot;org.eclipse.rse.ui.resources.defaultMountPathMapper&quot; id=&quot;org.eclipse.rse.files.ui.resources.defaultMountPathMapper&quot;
name=&quot;Default Mount Path Mapper&quot; name=&quot;Default Mount Path Mapper&quot;
class=&quot;org.eclipse.rse.ui.resources.DefaultMountPathMapper&quot;&gt; class=&quot;org.eclipse.rse.files.ui.resources.DefaultMountPathMapper&quot;&gt;
&lt;/mountPathMapper&gt; &lt;/mountPathMapper&gt;
&lt;/extension&gt; &lt;/extension&gt;
&lt;/pre&gt; &lt;/pre&gt;
@ -103,7 +113,7 @@
<meta.section type="apiInfo"/> <meta.section type="apiInfo"/>
</appInfo> </appInfo>
<documentation> <documentation>
Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.ui.resources.ISystemMountPathMapper&lt;/samp&gt; interface. Plug-ins that want to extend this extension point must implement &lt;samp&gt;org.eclipse.rse.files.ui.resources.ISystemMountPathMapper&lt;/samp&gt; interface.
</documentation> </documentation>
</annotation> </annotation>
@ -112,7 +122,7 @@
<meta.section type="implementation"/> <meta.section type="implementation"/>
</appInfo> </appInfo>
<documentation> <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> </documentation>
</annotation> </annotation>

View file

@ -11,6 +11,11 @@
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="newConnectionWizardDelegate"/> <element ref="newConnectionWizardDelegate"/>
@ -43,6 +48,11 @@
</element> </element>
<element name="newConnectionWizardDelegate"> <element name="newConnectionWizardDelegate">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="systemType" type="string" use="required"> <attribute name="systemType" type="string" use="required">
<annotation> <annotation>
@ -69,7 +79,7 @@
<meta.section type="since"/> <meta.section type="since"/>
</appInfo> </appInfo>
<documentation> <documentation>
1.0.0
</documentation> </documentation>
</annotation> </annotation>
@ -78,7 +88,17 @@
<meta.section type="examples"/> <meta.section type="examples"/>
</appInfo> </appInfo>
<documentation> <documentation>
The following is an example of this extension point&apos;s usage:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.rse.ui.newConnectionWizardDelegate&quot;&gt;
&lt;newConnectionWizardDelegate
class=&quot;com.abc.SerialConnectionWizardDelegate&quot;
systemType=&quot;Embedded-Linux-Serial&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation> </documentation>
</annotation> </annotation>
@ -96,7 +116,7 @@
<meta.section type="implementation"/> <meta.section type="implementation"/>
</appInfo> </appInfo>
<documentation> <documentation>
By default there are not contributions to this.
</documentation> </documentation>
</annotation> </annotation>

View file

@ -205,7 +205,7 @@ system resources, such as in the iSeries QSYS file system.
</documentation> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="systemtypes" type="string"> <attribute name="systemTypes" type="string">
<annotation> <annotation>
<documentation> <documentation>
One of the optional filters to scope the remote resources for One of the optional filters to scope the remote resources for

View file

@ -78,6 +78,11 @@ You can specify multiple values if you comma-separate them.
</annotation> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="page" minOccurs="1" maxOccurs="unbounded"/> <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> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="subsystemfactoryid" type="string"> <attribute name="subsystemconfigurationid" type="string">
<annotation> <annotation>
<documentation> <documentation>
One of the optional filters to scope the remote resources for One of the optional filters to scope the remote resources for
which the property page is to appear. 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. Specify as many of these optional filters like this as needed to explicitly scope this property page element.
&lt;p&gt; &lt;p&gt;
This filter specifies a subsystem factory id, such that this 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 factory. 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 factory IDs. This ID can be scalar, or it can be generic to match on multiple subsystem configuration IDs.
</documentation> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="subsystemfactoryCategory" type="string"> <attribute name="subsystemconfigurationCategory" type="string">
<annotation> <annotation>
<documentation> <documentation>
One of the optional filters to scope the remote resources for 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. this property page element.
&lt;p&gt; &lt;p&gt;
This filter specifies a subsystem factory category, such that This filter specifies a subsystem configuration category, such that
this this
property page will only appear for remote resources returned from subsystems property page will only appear for remote resources returned from subsystems
owned by factories owned by subsystem configurations
declared defined with the specified category. declared defined with the specified category.
&lt;p&gt; &lt;p&gt;
This category can be scalar, or it can be generic to match on This category can be scalar, or it can be generic to match on
multiple subsystem factory categories. The multiple subsystem configuration categories. The
categories of the IBM-supplied subsystem factories that display categories of the Predefined subsystem configurations that display
remote resources in the Remote remote resources in the Remote
Systems view are: Systems view are:
&lt;/p&gt; &lt;/p&gt;
@ -192,7 +197,7 @@ system resources, such as in the iSeries QSYS file system.
</documentation> </documentation>
</annotation> </annotation>
</attribute> </attribute>
<attribute name="systemtypes" type="string"> <attribute name="systemTypes" type="string">
<annotation> <annotation>
<documentation> <documentation>
One of the optional filters to scope the remote resources for 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. 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. Specify as many of these optional filters like this as needed to explicitly scope this property page element.
&lt;p&gt; &lt;p&gt;
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 is sufficient, but some subsystems display multiple types of
resources, and these are categorized by a type name that can 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- 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=&quot;Remote File Info&quot; name=&quot;Remote File Info&quot;
typecategoryfilter=&quot;files&quot; typecategoryfilter=&quot;files&quot;
typefilter=&quot;file&quot; typefilter=&quot;file&quot;
subsystemfactoryid=&quot;local.files&quot;&gt; subsystemconfigurationid=&quot;local.files&quot;&gt;
&lt;/page&gt; &lt;/page&gt;
&lt;/extension&gt; &lt;/extension&gt;
&lt;/pre&gt; &lt;/pre&gt;
@ -378,7 +383,7 @@ to local Java files:
name=&quot;Remote Java File Info&quot; name=&quot;Remote Java File Info&quot;
typecategoryfilter=&quot;files&quot; typecategoryfilter=&quot;files&quot;
typefilter=&quot;file&quot; typefilter=&quot;file&quot;
subsystemfactoryid=&quot;local.files&quot; subsystemconfigurationid=&quot;local.files&quot;
namefilter=&quot;*.java&quot;&gt; namefilter=&quot;*.java&quot;&gt;
&lt;/page&gt; &lt;/page&gt;
&lt;/extension&gt; &lt;/extension&gt;
@ -402,11 +407,11 @@ multiple property pages within the same extension configuration.
Typically, you will subclass one of the supplied base classes Typically, you will subclass one of the supplied base classes
for this extension point: for this extension point:
&lt;ul&gt; &lt;ul&gt;
&lt;li&gt;&lt;b&gt;org.eclipse.rse.ui.ui.propertypages.SystemAbstractPropertyPageExtensionAction&lt;/b&gt;, &lt;li&gt;&lt;b&gt;org.eclipse.rse.ui.propertypages.SystemAbstractPropertyPageExtensionAction&lt;/b&gt;,
in plugin org.eclipse.rse.ui. in plugin org.eclipse.rse.ui.
Base class offering generic support for any remote resource property page, for any system type. Base class offering generic support for any remote resource property page, for any system type.
&lt;li&gt;&lt;b&gt;org.eclipse.rse.ui.ui.propertypages.SystemAbstractRemoteFilePropertyPageExtensionAction&lt;/b&gt;, &lt;li&gt;&lt;b&gt;org.eclipse.rse.files.ui.propertypages.SystemAbstractRemoteFilePropertyPageExtensionAction&lt;/b&gt;,
in plugin org.eclipse.rse.ui. 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. Specialized base class offering specific support for any remote file or folder property page, for any system type.
&lt;/ul&gt; &lt;/ul&gt;
&lt;br&gt; &lt;br&gt;

View file

@ -3,7 +3,7 @@
<schema targetNamespace="org.eclipse.rse.ui"> <schema targetNamespace="org.eclipse.rse.ui">
<annotation> <annotation>
<appInfo> <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> </appInfo>
<documentation> <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-&amp;gt;Preference) by its id from its preferencePages extension. 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-&amp;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> </annotation>
<element name="extension"> <element name="extension">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<sequence> <sequence>
<element ref="action" minOccurs="1" maxOccurs="unbounded"/> <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>
<element name="action"> <element name="action">
<annotation>
<documentation>
(no description available)
</documentation>
</annotation>
<complexType> <complexType>
<attribute name="id" type="string" use="required"> <attribute name="id" type="string" use="required">
<annotation> <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"/> <meta.section type="since"/>
</appInfo> </appInfo>
<documentation> <documentation>
RSE 1.0 1.0.0
</documentation> </documentation>
</annotation> </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"/> <meta.section type="implementation"/>
</appInfo> </appInfo>
<documentation> <documentation>
This extension point is used by the &lt;code&gt;org.eclipse.rse.ui.actions.SystemCascadingPreferencesAction&lt;/code&gt; class, which in turn creates a &lt;code&gt;org.eclipse.rse.ui.ui.actions.SystemShowPreferencesPageAction&lt;/code&gt; 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 &lt;code&gt;org.eclipse.rse.ui.actions.SystemCascadingPreferencesAction&lt;/code&gt; class, which in turn creates a &lt;code&gt;org.eclipse.rse.ui.actions.SystemShowPreferencesPageAction&lt;/code&gt; 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> </documentation>
</annotation> </annotation>

View file

@ -194,9 +194,9 @@ Note that ServiceSubSystems that share the same service should always use the sa
&lt;p&gt; &lt;p&gt;
&lt;pre&gt; &lt;pre&gt;
&lt;extension &lt;extension
point=&quot;org.eclipse.rse.ui.subsystemconfiguration&quot;&gt; point=&quot;org.eclipse.rse.ui.subsystemConfiguration&quot;&gt;
&lt;configuration &lt;configuration
systemtypes=&quot;Unix;Linux;Local&quot; systemTypes=&quot;Unix;Linux;Local&quot;
name=&quot;Databases&quot; name=&quot;Databases&quot;
icon=&quot;icons/dbsubsys.gif&quot; icon=&quot;icons/dbsubsys.gif&quot;
iconlive=&quot;icons/dbsubsyslive.gif&quot; iconlive=&quot;icons/dbsubsyslive.gif&quot;

View file

@ -1011,7 +1011,7 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
* {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}. * {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}.
* However, this method is needed by ISVs that re-use IBM-supplied subsystem factories, * 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 * 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 * @see org.eclipse.rse.core.subsystems.ServerLaunchType
*/ */

View file

@ -175,7 +175,7 @@ public interface IRemoteServerLauncher extends IServerLauncherProperties{
* {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}. * {@link org.eclipse.rse.core.subsystems.SubSystemConfiguration#supportsServerLaunchType(ServerLaunchType)}.
* However, this method is needed by ISVs that re-use IBM-supplied subsystem factories, * 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 * 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)}, * rather {@link AbstractConnectorService#enableServerLaunchType(SubSystem, ServerLaunchType, boolean)},
* which in turn calls this. * which in turn calls this.
* *

View file

@ -301,14 +301,14 @@ public interface ISubSystem extends ISystemFilterPoolReferenceManagerProvider, I
public String getUserId(); public String getUserId();
/** /**
* @return The value of the FactoryId attribute * @return The value of the ConfigurationId attribute
* Ties this subsystem to its owning subsystem configuration, via the * Ties this subsystem to its owning subsystem configuration, via the
* id key string of the factory * id key string of the configuration.
*/ */
public String getConfigurationId(); 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); public void setConfigurationId(String value);

View file

@ -146,7 +146,7 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
protected String _name = null; protected String _name = null;
protected String _factoryId = null; protected String _subsystemConfigurationId = null;
protected boolean _hidden = false; 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> * <i><b>Private</b>. Do not override.</i>
* @generated This field/method will be replaced during code generation * @generated This field/method will be replaced during code generation
* Ties this subsystem to its owning subsystemconfiguration, via the * Ties this subsystem to its owning subsystemconfiguration, via the
* id key string of the factory * id key string of the configuration.
*/ */
public String getConfigurationId() public String getConfigurationId()
{ {
return _factoryId; return _subsystemConfigurationId;
} }
/** /**
* <i><b>Private</b>. Do not override.</i> * <i><b>Private</b>. Do not override.</i>
* @generated This field/method will be replaced during code generation. * @generated This field/method will be replaced during code generation.
*/ */
public void setConfigurationId(String newFactoryId) public void setConfigurationId(String newConfigurationId)
{ {
String oldFactoryId = _factoryId; String oldFactoryId = _subsystemConfigurationId;
if (oldFactoryId == null || !oldFactoryId.equals(newFactoryId)) if (oldFactoryId == null || !oldFactoryId.equals(newConfigurationId))
{ {
_factoryId = newFactoryId; _subsystemConfigurationId = newConfigurationId;
setDirty(true); setDirty(true);
} }
} }

View file

@ -42,8 +42,8 @@ import org.osgi.framework.Bundle;
* <li>id. Unique identifier * <li>id. Unique identifier
* <li>name. Displayable property page name * <li>name. Displayable property page name
* <li>class. The class which implements IWorkbenchPropertyPage * <li>class. The class which implements IWorkbenchPropertyPage
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem factory * <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem configuration
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem factory category * <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>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>namefilter. For scoping to remote objects of a given name
* <li>typecategoryfilter. For scoping to remote objects for a given remote object type category * <li>typecategoryfilter. For scoping to remote objects for a given remote object type category

View file

@ -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 * 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. * system object, and the methods to determine if a given input meets that criteria.
* <ol> * <ol>
* <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem factory * <li>subsystemconfigurationid. For scoping to remote objects for a given subsystem configuration
* <li>subsystemconfigurationCategory. For scoping to remote objects for a given subsystem factory category. * <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>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>category. For scoping to remote objects of a given type category
* <li>namefilter. For scoping to remote objects of a given name * <li>namefilter. For scoping to remote objects of a given name