mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 07:25:23 +02:00
[181486] handle the absolute name specialy for SystemFilterSimple
This commit is contained in:
parent
402956f86f
commit
b929b9ccc6
1 changed files with 8 additions and 1 deletions
|
@ -146,8 +146,15 @@ public class SystemViewFilterAdapter extends AbstractSystemViewAdapter
|
||||||
public String getAbsoluteName(Object element)
|
public String getAbsoluteName(Object element)
|
||||||
{
|
{
|
||||||
ISystemFilter filter = getFilter(element);
|
ISystemFilter filter = getFilter(element);
|
||||||
|
if (filter instanceof SystemFilterSimple)
|
||||||
|
{
|
||||||
|
return filter.getName();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
return filter.getSystemFilterPoolManager().getName() + "." + filter.getParentFilterPool().getName() + "." + filter.getName(); //$NON-NLS-1$ //$NON-NLS-2$
|
return filter.getSystemFilterPoolManager().getName() + "." + filter.getParentFilterPool().getName() + "." + filter.getName(); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Return the type label for this object
|
* Return the type label for this object
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue