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

[189163][api] Update IActionFilter constants from subsystemFactory to subsystemConfiguration

This commit is contained in:
Martin Oberhuber 2007-05-25 15:40:48 +00:00
parent 2e817deecd
commit 3ae44379d8
3 changed files with 10 additions and 9 deletions

View file

@ -73,7 +73,7 @@ the information needed to enable them to in Remote System Explorer.
class="samples.ui.propertypages.TeamFilterPropertyPage"
id="samples.ui.pp.filter.team"
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference" >
<b>&lt;filter name=&quot;subsystemFactoryId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
<b>&lt;filter name=&quot;subsystemConfigurationId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
&lt;/page&gt;
&lt;/extension&gt;
</code></pre>
@ -116,7 +116,7 @@ the information needed to enable them to in Remote System Explorer.
&lt;objectContribution
id =&quot;samples.ui.actions.TeamFilterActions&quot;
objectClass=&quot;org.eclipse.rse.core.filters.ISystemFilterReference&quot;&gt;
<b>&lt;filter name=&quot;subsystemFactoryId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
<b>&lt;filter name=&quot;subsystemConfigurationId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
&lt;action id=&quot;samples.ui.actions.TeamFilterAction1&quot;
label=&quot;Sample Team Filter Action&quot;
class=&quot;samples.ui.actions.ShowJarContents&quot;&gt;
@ -156,10 +156,10 @@ adapter reports that it has children or "false" if it doesn't have children.
<li><b><samp>"systemType"</samp></b>. Will test the <i>value</i> for an exact match on the system type of
this object's parent SystemConnection object.
You can specify multiple values if you comma-separate them.
<li><b><samp>"subsystemFactoryId"</samp></b>. Will test the <i>value</i> for an exact match on the
<li><b><samp>"subsystemConfigurationId"</samp></b>. Will test the <i>value</i> for an exact match on the
<samp>ID</samp> of the subsystem factory that created this object's subsystem. Returns false for SystemConnection objects.
You can specify multiple values if you comma-separate them.
<li><b><samp>"subsystemFactoryCategory"</samp></b>. Will test the <i>value</i> for an exact match
<li><b><samp>"subsystemConfigurationCategory"</samp></b>. Will test the <i>value</i> for an exact match
on the <samp>category</samp> of the subsystem factory that created this object's subsystem.
You can specify multiple values if you comma-separate them.
</ul>

View file

@ -51,7 +51,7 @@ which scopes the remote objects to which the child elements apply:
&lt;objectContribution
id =&quot;samples.ui.actions.TeamFilterActions&quot;
objectClass=&quot;org.eclipse.rse.core.filters.ISystemFilterReference&quot;&gt;
<b>&lt;filter name=&quot;subsystemFactoryId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
<b>&lt;filter name=&quot;subsystemConfigurationId&quot; value=&quot;samples.subsystems.factory&quot;/&gt;</b>
&lt;action id=&quot;samples.ui.actions.TeamFilterAction1&quot;
label=&quot;Sample Team Filter Action&quot;
class=&quot;samples.ui.actions.ShowJarContents&quot;&gt;

View file

@ -18,6 +18,7 @@
* Martin Oberhuber (Wind River) - [186128] Move IProgressMonitor last in all API
* Martin Oberhuber (Wind River) - [186640] Add IRSESystemType.testProperty()
* Martin Oberhuber (Wind River) - [186748] Move ISubSystemConfigurationAdapter from UI/rse.core.subsystems.util
* Martin Oberhuber (Wind River) - [189163] Update IActionFilter constants from subsystemFactory to subsystemConfiguration
********************************************************************************/
package org.eclipse.rse.ui.view;
@ -1382,10 +1383,10 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
* returns true if the subsystem is offline.
* <li>name="systemType". The given value is a system type, and this returns true if this object's connection is of that
* type. You can specify multiple values by comma-separating them, and this returns if there is a match on any them.
* <li>name="subsystemFactoryId". The given value is a subsystem factory Id, and this returns true if this object's
* <li>name="subsystemConfigurationId". The given value is a subsystem factory Id, and this returns true if this object's
* subsystem is from that subsystem factory. For connections, returns false.
* You can specify multiple values by comma-separating them, and this returns if there is a match on any them.
* <li>name="subsystemFactoryCategory". The given value is a subsystem category, and this returns true if this object's
* <li>name="subsystemConfigurationCategory". The given value is a subsystem category, and this returns true if this object's
* subsystem is from a subsystem factory of that category. For connections, returns false.
* You can specify multiple values by comma-separating them, and this returns if there is a match on any them.
* </ol>
@ -1476,7 +1477,7 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
}
return false;
}
else if (name.equalsIgnoreCase("subsystemFactoryId")) //$NON-NLS-1$
else if (name.equalsIgnoreCase("subsystemConfigurationId")) //$NON-NLS-1$
{
ISubSystem ss = getSubSystem(target);
//System.out.println("ss null? " + (ss == null));
@ -1494,7 +1495,7 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
//System.out.println("Returning: " + ok);
return ok;
}
else if (name.equalsIgnoreCase("subsystemFactoryCategory")) //$NON-NLS-1$
else if (name.equalsIgnoreCase("subsystemConfigurationCategory")) //$NON-NLS-1$
{
ISubSystem ss = getSubSystem(target);
if (ss == null)