Merge remote-tracking branch

'origin/GP-3812-dragonmacher-symbol-tree-collapse-all' (Closes #5731)
This commit is contained in:
Ryan Kurtz 2023-09-26 13:01:01 -04:00
commit 1b4368d0fa
5 changed files with 227 additions and 24 deletions

View file

@ -63,6 +63,13 @@ public class DataTree extends GTree {
KeyStroke.getKeyStroke(KeyEvent.VK_X, DockingUtils.CONTROL_KEY_MODIFIER_MASK));
}
@Override
protected boolean supportsPopupActions() {
// The base tree adds collapse/ expand actions, which we already provide, so signal that we
// do not want those actions.
return false;
}
void setProjectActive(boolean isActive) {
if (dragNDropHandler != null) {
dragNDropHandler.setProjectActive(isActive);