/** * Returns if the dialog is called in direct edit mode before the editor is opened.<p> * * @return true if the dialog is called in direct edit mode before the editor is opened */ public boolean isPreEditor() { return CmsPreEditorAction.isPreEditorMode(this); }
/** * Returns if the dialog is called in direct edit mode before the editor is opened.<p> * * @return true if the dialog is called in direct edit mode before the editor is opened */ public boolean isPreEditor() { return CmsPreEditorAction.isPreEditorMode(this); }
/** * The buttons in the new resource dialog depend on various preconditions.<p> * * Variations: * <ul> * <li>dialog is opened in direct edit mode</li> * <li>"edit properties" has been selected or not</li> * </ul> * * @see org.opencms.workplace.list.A_CmsSelectResourceList#dialogButtons() */ @Override public String dialogButtons() { if (Boolean.valueOf(getParamNewResourceEditProps()).booleanValue() || CmsPreEditorAction.isPreEditorMode(this)) { // show next button, after that the properties are edited return dialogButtons(new int[] {BUTTON_NEXT, BUTTON_CANCEL}, new String[] {"", ""}); } return dialogButtons(new int[] {BUTTON_FINISH, BUTTON_CANCEL}, new String[] {"", ""}); }
/** * The buttons in the new resource dialog depend on various preconditions.<p> * * Variations: * <ul> * <li>dialog is opened in direct edit mode</li> * <li>"edit properties" has been selected or not</li> * </ul> * * @see org.opencms.workplace.list.A_CmsSelectResourceList#dialogButtons() */ @Override public String dialogButtons() { if (Boolean.valueOf(getParamNewResourceEditProps()).booleanValue() || CmsPreEditorAction.isPreEditorMode(this)) { // show next button, after that the properties are edited return dialogButtons(new int[] {BUTTON_NEXT, BUTTON_CANCEL}, new String[] {"", ""}); } return dialogButtons(new int[] {BUTTON_FINISH, BUTTON_CANCEL}, new String[] {"", ""}); }
if (CmsPreEditorAction.isPreEditorMode(this)) {
if (CmsPreEditorAction.isPreEditorMode(this)) {