/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsElementComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_CONTENT_0), LIST_COLUMN_LOCALE, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsAttributeComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_ATTRIBUTES_0), LIST_COLUMN_PROPERTY_NAME, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsElementComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_CONTENT_0), LIST_COLUMN_LOCALE, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsAttributeComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_ATTRIBUTES_0), LIST_COLUMN_PROPERTY_NAME, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsPropertyComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_PROPERTIES_0), LIST_COLUMN_PROPERTY_NAME, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * Protected constructor.<p> * * @param listId the id of the specialized list * @param jsp an initialized JSP action element */ protected CmsPropertyComparisonList(String listId, CmsJspActionElement jsp) { super( jsp, listId, Messages.get().container(Messages.GUI_COMPARE_PROPERTIES_0), LIST_COLUMN_PROPERTY_NAME, CmsListOrderEnum.ORDER_ASCENDING, null); }
/** * * @see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata) */ @Override protected void setIndependentActions(CmsListMetadata metadata) { // add event details CmsListItemDetails eventDetails = new CmsListItemDetails(LIST_IACTION_SHOW); eventDetails.setVisible(false); eventDetails.setShowActionName(Messages.get().container(Messages.GUI_COMPARE_SHOW_ALL_PROPERTIES_0)); eventDetails.setHideActionName(Messages.get().container(Messages.GUI_COMPARE_HIDE_IDENTICAL_PROPERTIES_0)); metadata.addItemDetails(eventDetails); }
/** * * @see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata) */ @Override protected void setIndependentActions(CmsListMetadata metadata) { // add event details CmsListItemDetails eventDetails = new CmsListItemDetails(LIST_IACTION_SHOW); eventDetails.setVisible(false); eventDetails.setShowActionName(Messages.get().container(Messages.GUI_COMPARE_SHOW_ALL_PROPERTIES_0)); eventDetails.setHideActionName(Messages.get().container(Messages.GUI_COMPARE_HIDE_IDENTICAL_PROPERTIES_0)); metadata.addItemDetails(eventDetails); }
/** * Creates a new configuration object.<p> * * @param lines the lines to show before skipping * @param locale the locale to use */ public CmsHtmlDifferenceConfiguration(int lines, Locale locale) { super(new DiffConfiguration(lines, Messages.get().getBundleName(), Messages.GUI_DIFF_SKIP_LINES_1, locale)); setDivStyleNames("df-unc", "df-add", "df-rem", "df-skp"); setSpanStyleNames("df-unc", "df-add", "df-rem"); } }
/** * Creates a new configuration object.<p> * * @param lines the lines to show before skipping * @param locale the locale to use */ public CmsHtmlDifferenceConfiguration(int lines, Locale locale) { super(new DiffConfiguration(lines, Messages.get().getBundleName(), Messages.GUI_DIFF_SKIP_LINES_1, locale)); setDivStyleNames("df-unc", "df-add", "df-rem", "df-skp"); setSpanStyleNames("df-unc", "df-add", "df-rem"); } }
/** * @see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata) */ @Override protected void setIndependentActions(CmsListMetadata metadata) { CmsListIndependentAction compare = new CmsListIndependentAction(LIST_IACTION_COMPARE_ALL); compare.setName(Messages.get().container(Messages.GUI_COMPARE_COMPARE_ALL_0)); compare.setIconPath("tools/ex_history/buttons/compare.png"); compare.setEnabled(true); metadata.addIndependentAction(compare); // add event details CmsListItemDetails eventDetails = new CmsListItemDetails(LIST_IACTION_SHOW); eventDetails.setVisible(false); eventDetails.setShowActionName(Messages.get().container(Messages.GUI_COMPARE_SHOW_ALL_ELEMENTS_0)); eventDetails.setHideActionName(Messages.get().container(Messages.GUI_COMPARE_HIDE_IDENTICAL_ELEMENTS_0)); metadata.addItemDetails(eventDetails); }
/** * @see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata) */ @Override protected void setIndependentActions(CmsListMetadata metadata) { CmsListIndependentAction compare = new CmsListIndependentAction(LIST_IACTION_COMPARE_ALL); compare.setName(Messages.get().container(Messages.GUI_COMPARE_COMPARE_ALL_0)); compare.setIconPath("tools/ex_history/buttons/compare.png"); compare.setEnabled(true); metadata.addIndependentAction(compare); // add event details CmsListItemDetails eventDetails = new CmsListItemDetails(LIST_IACTION_SHOW); eventDetails.setVisible(false); eventDetails.setShowActionName(Messages.get().container(Messages.GUI_COMPARE_SHOW_ALL_ELEMENTS_0)); eventDetails.setHideActionName(Messages.get().container(Messages.GUI_COMPARE_HIDE_IDENTICAL_ELEMENTS_0)); metadata.addItemDetails(eventDetails); }
String label = Messages.get().container( Messages.GUI_COMPARE_VIEW_VERSION_1, CmsHistoryList.getDisplayVersion(version, getLocale())).key(getLocale());
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryList.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName( Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryList.getDisplayVersion(getParamVersion2(), getLocale())));
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale())));
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryList.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName( Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryList.getDisplayVersion(getParamVersion2(), getLocale())));
Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion1(), getLocale()))); getList().getMetadata().getColumnDefinition(LIST_COLUMN_VERSION_2).setName(Messages.get().container( Messages.GUI_COMPARE_VERSION_1, CmsHistoryListUtil.getDisplayVersion(getParamVersion2(), getLocale())));
org.opencms.workplace.Messages.get(), org.opencms.workplace.commons.Messages.get(), org.opencms.workplace.comparison.Messages.get(), org.opencms.workplace.editors.Messages.get(), org.opencms.workplace.explorer.Messages.get(),