DefaultActionGroup (MoreActionGroup contentGroup, RunContentDescriptor descriptor) { if (descriptor == null) return contentGroup; Content content = descriptor.getAttachedContent(); if (content == null) return contentGroup; DefaultActionGroup moreGroup = content.getUserData(MORE_ACTION_GROUP_KEY); if (moreGroup == null) { moreGroup = new MoreActionGroup(false); content.putUserData(MORE_ACTION_GROUP_KEY, moreGroup); } moreGroup.removeAll(); moreGroup.addAll(contentGroup.getChildren(null)); return moreGroup; }