mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +02:00
[189163][api] Update IActionFilter constants from subsystemFactory to subsystemConfiguration
This commit is contained in:
parent
2e817deecd
commit
3ae44379d8
3 changed files with 10 additions and 9 deletions
|
@ -73,7 +73,7 @@ the information needed to enable them to in Remote System Explorer.
|
||||||
class="samples.ui.propertypages.TeamFilterPropertyPage"
|
class="samples.ui.propertypages.TeamFilterPropertyPage"
|
||||||
id="samples.ui.pp.filter.team"
|
id="samples.ui.pp.filter.team"
|
||||||
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference" >
|
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference" >
|
||||||
<b><filter name="subsystemFactoryId" value="samples.subsystems.factory"/></b>
|
<b><filter name="subsystemConfigurationId" value="samples.subsystems.factory"/></b>
|
||||||
</page>
|
</page>
|
||||||
</extension>
|
</extension>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
@ -116,7 +116,7 @@ the information needed to enable them to in Remote System Explorer.
|
||||||
<objectContribution
|
<objectContribution
|
||||||
id ="samples.ui.actions.TeamFilterActions"
|
id ="samples.ui.actions.TeamFilterActions"
|
||||||
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference">
|
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference">
|
||||||
<b><filter name="subsystemFactoryId" value="samples.subsystems.factory"/></b>
|
<b><filter name="subsystemConfigurationId" value="samples.subsystems.factory"/></b>
|
||||||
<action id="samples.ui.actions.TeamFilterAction1"
|
<action id="samples.ui.actions.TeamFilterAction1"
|
||||||
label="Sample Team Filter Action"
|
label="Sample Team Filter Action"
|
||||||
class="samples.ui.actions.ShowJarContents">
|
class="samples.ui.actions.ShowJarContents">
|
||||||
|
@ -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
|
<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.
|
this object's parent SystemConnection object.
|
||||||
You can specify multiple values if you comma-separate them.
|
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.
|
<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.
|
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.
|
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.
|
You can specify multiple values if you comma-separate them.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -51,7 +51,7 @@ which scopes the remote objects to which the child elements apply:
|
||||||
<objectContribution
|
<objectContribution
|
||||||
id ="samples.ui.actions.TeamFilterActions"
|
id ="samples.ui.actions.TeamFilterActions"
|
||||||
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference">
|
objectClass="org.eclipse.rse.core.filters.ISystemFilterReference">
|
||||||
<b><filter name="subsystemFactoryId" value="samples.subsystems.factory"/></b>
|
<b><filter name="subsystemConfigurationId" value="samples.subsystems.factory"/></b>
|
||||||
<action id="samples.ui.actions.TeamFilterAction1"
|
<action id="samples.ui.actions.TeamFilterAction1"
|
||||||
label="Sample Team Filter Action"
|
label="Sample Team Filter Action"
|
||||||
class="samples.ui.actions.ShowJarContents">
|
class="samples.ui.actions.ShowJarContents">
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [186128] Move IProgressMonitor last in all API
|
* Martin Oberhuber (Wind River) - [186128] Move IProgressMonitor last in all API
|
||||||
* Martin Oberhuber (Wind River) - [186640] Add IRSESystemType.testProperty()
|
* 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) - [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;
|
package org.eclipse.rse.ui.view;
|
||||||
|
@ -1382,10 +1383,10 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
|
||||||
* returns true if the subsystem is offline.
|
* 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
|
* <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.
|
* 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.
|
* 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.
|
* 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.
|
* 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.
|
* You can specify multiple values by comma-separating them, and this returns if there is a match on any them.
|
||||||
* </ol>
|
* </ol>
|
||||||
|
@ -1476,7 +1477,7 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (name.equalsIgnoreCase("subsystemFactoryId")) //$NON-NLS-1$
|
else if (name.equalsIgnoreCase("subsystemConfigurationId")) //$NON-NLS-1$
|
||||||
{
|
{
|
||||||
ISubSystem ss = getSubSystem(target);
|
ISubSystem ss = getSubSystem(target);
|
||||||
//System.out.println("ss null? " + (ss == null));
|
//System.out.println("ss null? " + (ss == null));
|
||||||
|
@ -1494,7 +1495,7 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
|
||||||
//System.out.println("Returning: " + ok);
|
//System.out.println("Returning: " + ok);
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
else if (name.equalsIgnoreCase("subsystemFactoryCategory")) //$NON-NLS-1$
|
else if (name.equalsIgnoreCase("subsystemConfigurationCategory")) //$NON-NLS-1$
|
||||||
{
|
{
|
||||||
ISubSystem ss = getSubSystem(target);
|
ISubSystem ss = getSubSystem(target);
|
||||||
if (ss == null)
|
if (ss == null)
|
||||||
|
|
Loading…
Add table
Reference in a new issue