public List<Command> getInheritedCommands()
	{
		List<Command> list = new ArrayList<>();
		if(parent != null)
		{
			list.addAll(parent.ungroupedCommands.getAllItems());
			list.addAll(parent.getInheritedCommands());
		}
		return list;
	}