mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
[171603] adding filters for remotesystems projects
This commit is contained in:
parent
3d1a78f8e4
commit
1f537cc4d1
2 changed files with 26 additions and 0 deletions
|
@ -119,6 +119,8 @@ RemoteCommandsBackground.label = Background color
|
||||||
RemoteCommandsBackground.description = The background color is used by the Remote Shell view.
|
RemoteCommandsBackground.description = The background color is used by the Remote Shell view.
|
||||||
RemoteCommandsPrompt.label = Prompt color
|
RemoteCommandsPrompt.label = Prompt color
|
||||||
RemoteCommandsPrompt.description = The text color used for displaying prompts.
|
RemoteCommandsPrompt.description = The text color used for displaying prompts.
|
||||||
|
ProjectFilter.label=RSE Internal Projects
|
||||||
|
ProjectFilter.description=Hides RSE internal projects
|
||||||
|
|
||||||
# Creation wizard
|
# Creation wizard
|
||||||
Creation.category.name = Remote System Explorer
|
Creation.category.name = Remote System Explorer
|
||||||
|
|
|
@ -883,4 +883,28 @@ Contributors:
|
||||||
</description>
|
</description>
|
||||||
</wizard>
|
</wizard>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
|
<extension point="org.eclipse.ui.navigator.navigatorContent">
|
||||||
|
<commonFilter
|
||||||
|
id="org.eclipse.rse.project.filters.RemoteSystemsProjects"
|
||||||
|
name="%ProjectFilter.label"
|
||||||
|
description="%ProjectFilter.description"
|
||||||
|
activeByDefault="true">
|
||||||
|
<filterExpression>
|
||||||
|
<and>
|
||||||
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
||||||
|
<test property="org.eclipse.core.resources.name" value="RemoteSystems*"/>
|
||||||
|
</and>
|
||||||
|
</filterExpression>
|
||||||
|
</commonFilter>
|
||||||
|
</extension>
|
||||||
|
|
||||||
|
<extension point="org.eclipse.ui.navigator.viewer">
|
||||||
|
<viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
|
||||||
|
<includes>
|
||||||
|
<contentExtension pattern="org.eclipse.rse.project.filters.*"/>
|
||||||
|
</includes>
|
||||||
|
</viewerContentBinding>
|
||||||
|
</extension>
|
||||||
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
Loading…
Add table
Reference in a new issue