mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 20:45:22 +02:00
[232130] TVT34:TCT188: RU: trash string on the Select folder panel
https://bugs.eclipse.org/bugs/show_bug.cgi?id=232130
This commit is contained in:
parent
863e221157
commit
378da2bb59
1 changed files with 7 additions and 2 deletions
|
@ -17,6 +17,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [190442] made SystemActionViewerFilter API
|
* Martin Oberhuber (Wind River) - [190442] made SystemActionViewerFilter API
|
||||||
* Martin Oberhuber (Wind River) - [202866] Fix exceptions in RSE browse dialog when SystemRegistry is not yet fully initialized
|
* Martin Oberhuber (Wind River) - [202866] Fix exceptions in RSE browse dialog when SystemRegistry is not yet fully initialized
|
||||||
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
||||||
|
* David Dykstal (IBM) - [232130] meaningless label provided for filter references
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -421,9 +422,13 @@ public class SystemResourceSelectionForm implements ISelectionChangedListener
|
||||||
|
|
||||||
private void setPathTextFromSelection(Object selection)
|
private void setPathTextFromSelection(Object selection)
|
||||||
{
|
{
|
||||||
|
String text = ""; //$NON-NLS-1$
|
||||||
ISystemViewElementAdapter adapter = getViewAdapter(selection);
|
ISystemViewElementAdapter adapter = getViewAdapter(selection);
|
||||||
String text = adapter.getAbsoluteName(selection);
|
if (selection instanceof ISystemFilterReference) {
|
||||||
|
text = adapter.getText(selection);
|
||||||
|
} else {
|
||||||
|
text = adapter.getAbsoluteName(selection);
|
||||||
|
}
|
||||||
setPathText(text);
|
setPathText(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue