mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[186848] related - only show open view actions for containers
This commit is contained in:
parent
b1bdd157f4
commit
e972c253f0
1 changed files with 3 additions and 1 deletions
|
@ -1088,7 +1088,9 @@ public abstract class AbstractSystemViewAdapter implements ISystemViewElementAda
|
|||
*/
|
||||
public boolean showOpenViewActions(Object element)
|
||||
{
|
||||
return true;
|
||||
if (element instanceof IAdaptable)
|
||||
return hasChildren((IAdaptable)element);
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue