code: void handleEdit(CmsClientSitemapEntry editEntry, final String newTitle) {
  
          if (CmsStringUtil.isEmpty(newTitle)) {
              String dialogTitle = Messages.get().key(Messages.GUI_EDIT_TITLE_ERROR_DIALOG_TITLE_0);
              String dialogText = Messages.get().key(Messages.GUI_TITLE_CANT_BE_EMPTY_0);
              CmsAlertDialog alert = new CmsAlertDialog(dialogTitle, dialogText);
              alert.center();
              return;
          }
          String oldTitle = editEntry.getPropertyValue(CmsClientProperty.PROPERTY_TITLE);
          if (!oldTitle.equals(newTitle)) {
              CmsPropertyModification propMod = new CmsPropertyModification(
                  getEntryId(),
                  CmsClientProperty.PROPERTY_TITLE,
                  newTitle,
                  true);
              final List<CmsPropertyModification> propChanges = new ArrayList<CmsPropertyModification>();
              propChanges.add(propMod);
              CmsSitemapController controller = CmsSitemapView.getInstance().getController();
              controller.edit(editEntry, propChanges, CmsReloadMode.reloadEntry);
          }
      }
docs: Handles direct editing of the gallery title.<p>
  
  @param editEntry the edit entry
  @param newTitle the new title