code: protected static List<CmsProperty> createResourceProperties(
          CmsObject cms,
          String resourceName,
          String resTypeName,
          String title) {
  
          // create property values
          List<CmsProperty> properties = new ArrayList<CmsProperty>(3);
  
          // get explorer type settings for the resource type
          CmsExplorerTypeSettings settings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(resTypeName);
          if (settings.isAutoSetTitle()) {
  
              // add the Title property
              properties.add(createPropertyObject(CmsPropertyDefinition.PROPERTY_TITLE, title));
          }
          if (settings.isAutoSetNavigation()) {
  
              // add the NavText property
              properties.add(createPropertyObject(CmsPropertyDefinition.PROPERTY_NAVTEXT, title));
  
              // calculate the new navigation position for the resource
              List<CmsJspNavElement> navList = new CmsJspNavBuilder(cms).getNavigationForFolder(resourceName);
              float navPos = 1;
              if (navList.size() > 0) {
                  CmsJspNavElement nav = navList.get(navList.size() - 1);
                  navPos = nav.getNavPosition() + 1;
              }
              // add the NavPos property
              properties.add(createPropertyObject(CmsPropertyDefinition.PROPERTY_NAVPOS, String.valueOf(navPos)));
          }
          return properties;
      }
docs: Returns the properties to create automatically with the new VFS resource.<p>
  
  If configured, the Title and Navigation properties are set on resource creation.<p>
  
  @param cms the initialized CmsObject
  @param resourceName the full resource name
  @param resTypeName the name of the resource type
  @param title the Title String to use for the property values
  @return the List of initialized property objects