mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +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,7 +146,14 @@ public class SystemViewFilterAdapter extends AbstractSystemViewAdapter
|
|||
public String getAbsoluteName(Object element)
|
||||
{
|
||||
ISystemFilter filter = getFilter(element);
|
||||
return filter.getSystemFilterPoolManager().getName() + "." + filter.getParentFilterPool().getName() + "." + filter.getName(); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (filter instanceof SystemFilterSimple)
|
||||
{
|
||||
return filter.getName();
|
||||
}
|
||||
else
|
||||
{
|
||||
return filter.getSystemFilterPoolManager().getName() + "." + filter.getParentFilterPool().getName() + "." + filter.getName(); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Return the type label for this object
|
||||
|
|
Loading…
Add table
Reference in a new issue