in idea-plugin/src/main/java/com/jetbrains/ide/streamdeck/keymap/ActionsTree.java [418:439]
private String getPath(DefaultMutableTreeNode node, boolean presentable) {
final Object userObject = node.getUserObject();
if (userObject instanceof String actionId) {
final TreeNode parent = node.getParent();
if (parent instanceof DefaultMutableTreeNode) {
final Object object = ((DefaultMutableTreeNode)parent).getUserObject();
if (object instanceof Group) {
return ((Group)object).getActionQualifiedPath(actionId, presentable);
}
}
return myMainGroup.getActionQualifiedPath(actionId, presentable);
}
if (userObject instanceof Group) {
return ((Group)userObject).getQualifiedPath(presentable);
}
if (userObject instanceof QuickList) {
return ((QuickList)userObject).getName();
}
return null;
}