docs: private void handleDropNewEntry(CmsCreatableListItem createItem, final CmsClientSitemapEntry parent) {
  
          final CmsNewResourceInfo typeInfo = createItem.getResourceTypeInfo();
          final CmsClientSitemapEntry entry = new CmsClientSitemapEntry();
          entry.setNew(true);
          entry.setVfsPath(null);
          entry.setPosition(m_insertIndex);
          entry.setInNavigation(true);
          Map<String, CmsClientProperty> defaultFileProps = Maps.newHashMap();
          entry.setDefaultFileProperties(defaultFileProps);
          String name;
          final boolean appendSlash;
          switch (createItem.getNewEntryType()) {
              case detailpage:
                  name = CmsDetailPageInfo.removeFunctionPrefix(typeInfo.getResourceType());
                  appendSlash = true;
                  entry.setDetailpageTypeName(typeInfo.getResourceType());
                  entry.setVfsModeIcon(typeInfo.getBigIconClasses());
                  if (typeInfo.isFunction()) {
  
                      CmsClientProperty titleProp = new CmsClientProperty(
                          CmsClientProperty.PROPERTY_TITLE,
                          typeInfo.getTitle(),
                          null);
                      CmsClientProperty navtextProp = new CmsClientProperty(
                          CmsClientProperty.PROPERTY_NAVTEXT,
                          typeInfo.getTitle(),
                          null);
                      entry.getOwnProperties().put(titleProp.getName(), titleProp);
                      entry.getDefaultFileProperties().put(titleProp.getName(), titleProp);
                      entry.getOwnProperties().put(navtextProp.getName(), navtextProp);
                  }
                  entry.setResourceTypeName("folder");
                  break;
              case redirect:
                  name = typeInfo.getResourceType();
                  entry.setEntryType(EntryType.redirect);
                  entry.setVfsModeIcon(typeInfo.getBigIconClasses());
                  entry.setResourceTypeName(typeInfo.getResourceType());
                  appendSlash = false;
                  break;
              default:
                  name = CmsSitemapController.NEW_ENTRY_NAME;
                  appendSlash = true;
                  entry.setResourceTypeName("folder");
                  entry.setVfsModeIcon(typeInfo.getBigIconClasses());
          }
  
          m_controller.ensureUniqueName(parent, name, new I_CmsSimpleCallback<String>() {
  
              public void execute(String uniqueName) {
  
                  entry.setName(uniqueName);
                  String sitepath = m_insertPath + uniqueName;
                  if (appendSlash) {
                      sitepath += "/";
                  }
                  entry.setSitePath(sitepath);
                  m_controller.create(
                      entry,
                      parent.getId(),
                      typeInfo.getId(),
                      typeInfo.getCopyResourceId(),
                      typeInfo.getCreateParameter(),
                      false);
              }
          });
  
      }