code: public static void openPropertyDialog(
          CmsPropertiesBean result,
          final I_CmsContextMenuHandler contextMenuHandler,
          final boolean editName,
          final Runnable cancelHandler,
          final boolean enableAdeTemplateSelect,
          final PropertyEditingContext editContext) {
  
          final PropertyEditorHandler handler = new PropertyEditorHandler(contextMenuHandler);
          handler.setPropertySaver(editContext.getPropertySaver());
          handler.setEnableAdeTemplateSelect(enableAdeTemplateSelect);
          editContext.setCancelHandler(cancelHandler);
  
          handler.setPropertiesBean(result);
          handler.setEditableName(editName);
          final CmsVfsModePropertyEditor editor = new CmsVfsModePropertyEditor(result.getPropertyDefinitions(), handler);
  
          editor.setShowResourceProperties(!handler.isFolder());
          editor.setReadOnly(result.isReadOnly());
  
          final CmsFormDialog dialog = new PropertiesFormDialog(handler.getDialogTitle(), editor.getForm());
          editContext.setDialog(dialog);
  
          if (editContext.allowCreateProperties()) {
              CmsPropertyDefinitionButton defButton = editContext.createPropertyDefinitionButton();
              defButton.installOnDialog(dialog);
              defButton.getElement().getStyle().setFloat(Float.LEFT);
          }
          final CmsDialogFormHandler formHandler = new CmsDialogFormHandler();
          editContext.setFormHandler(formHandler);
          editContext.initCloseHandler();
          formHandler.setDialog(dialog);
          I_CmsFormSubmitHandler submitHandler = new CmsPropertySubmitHandler(handler);
          formHandler.setSubmitHandler(submitHandler);
          editor.getForm().setFormHandler(formHandler);
          editor.initializeWidgets(dialog);
  
          dialog.centerHorizontally(50);
          if (editContext.isFocusNameField()) {
              editor.focusNameField();
          }
  
          dialog.catchNotifications();
      }
docs: Opens the property dialog and populates it with the data from a given CmsPropertiesBean.<p>
  
  @param result the property data
  @param contextMenuHandler the context menu handler
  @param editName true if the name should be editable
  @param cancelHandler the cancel handler
  @param enableAdeTemplateSelect true if template selection should be enabled
  @param editContext the edit context