/** * Sets the sorter for this viewer. * <p> * The default sorter sorts categories and entries alphabetically. * A viewer update needs to be triggered after the sorter has changed. * </p> * @param sorter the sorter to set (<code>null</code> will reset to the * default sorter) * @since 3.1 */ public void setSorter(PropertySheetSorter sorter) { if (null == sorter) { sorter = new PropertySheetSorter(); } this.sorter = sorter; }
/** * Sets the sorter for this viewer. * <p> * The default sorter sorts categories and entries alphabetically. * A viewer update needs to be triggered after the sorter has changed. * </p> * @param sorter the sorter to set (<code>null</code> will reset to the * default sorter) * @since 3.1 */ public void setSorter(PropertySheetSorter sorter) { if (null == sorter) { sorter = new PropertySheetSorter(); } this.sorter = sorter; }
/** * Sets the sorter for this viewer. * <p> * The default sorter sorts categories and entries alphabetically. * A viewer update needs to be triggered after the sorter has changed. * </p> * @param sorter the sorter to set (<code>null</code> will reset to the * default sorter) * @since 3.1 */ public void setSorter(PropertySheetSorter sorter) { if (null == sorter) { sorter = new PropertySheetSorter(); } this.sorter = sorter; }