indexing description: "Objects that represent an EV_DIALOG.% %The original version of this class was generated by EiffelBuild." date: "$Date$" revision: "$Revision$" deferred class TOC_DIALOG_IMP inherit EV_DIALOG redefine initialize, is_in_default_state end CONSTANTS undefine is_equal, default_create, copy end -- This class is the implementation of an EV_DIALOG generated by EiffelBuild. -- You should not modify this code by hand, as it will be re-generated every time -- modifications are made to the project. feature {NONE}-- Initialization initialize is -- Initialize `Current'. do Precursor {EV_DIALOG} initialize_constants -- Create all widgets. create button_frame create l_ev_vertical_box_1 create l_ev_vertical_box_2 create l_ev_vertical_box_3 create l_ev_label_1 create l_ev_horizontal_box_1 create l_ev_label_2 create l_ev_horizontal_separator_1 create l_ev_horizontal_box_2 create l_ev_label_3 create index_filename_text create l_ev_horizontal_box_3 create l_ev_label_4 create l_ev_horizontal_separator_2 create l_ev_horizontal_box_4 create index_root_check create l_ev_horizontal_box_5 create include_empty_dirs_check create l_ev_horizontal_box_6 create include_no_index_check create l_ev_horizontal_box_7 create include_skipped_sub_dirs_check create l_ev_horizontal_box_8 create order_alphabetical_check create l_ev_horizontal_box_9 create l_ev_label_5 create filter_combo create combo_no_filter create combo_studio_filter create combo_envision_filter create l_ev_horizontal_box_10 create l_ev_cell_1 create l_ev_horizontal_box_11 create l_ev_cell_2 create okay_button create cancel_button -- Build_widget_structure. extend (button_frame) button_frame.extend (l_ev_vertical_box_1) l_ev_vertical_box_1.extend (l_ev_vertical_box_2) l_ev_vertical_box_2.extend (l_ev_vertical_box_3) l_ev_vertical_box_3.extend (l_ev_label_1) l_ev_vertical_box_2.extend (l_ev_horizontal_box_1) l_ev_horizontal_box_1.extend (l_ev_label_2) l_ev_horizontal_box_1.extend (l_ev_horizontal_separator_1) l_ev_vertical_box_2.extend (l_ev_horizontal_box_2) l_ev_horizontal_box_2.extend (l_ev_label_3) l_ev_horizontal_box_2.extend (index_filename_text) l_ev_vertical_box_2.extend (l_ev_horizontal_box_3) l_ev_horizontal_box_3.extend (l_ev_label_4) l_ev_horizontal_box_3.extend (l_ev_horizontal_separator_2) l_ev_vertical_box_2.extend (l_ev_horizontal_box_4) l_ev_horizontal_box_4.extend (index_root_check) l_ev_vertical_box_2.extend (l_ev_horizontal_box_5) l_ev_horizontal_box_5.extend (include_empty_dirs_check) l_ev_vertical_box_2.extend (l_ev_horizontal_box_6) l_ev_horizontal_box_6.extend (include_no_index_check) l_ev_vertical_box_2.extend (l_ev_horizontal_box_7) l_ev_horizontal_box_7.extend (include_skipped_sub_dirs_check) l_ev_vertical_box_2.extend (l_ev_horizontal_box_8) l_ev_horizontal_box_8.extend (order_alphabetical_check) l_ev_vertical_box_2.extend (l_ev_horizontal_box_9) l_ev_horizontal_box_9.extend (l_ev_label_5) l_ev_horizontal_box_9.extend (filter_combo) filter_combo.extend (combo_no_filter) filter_combo.extend (combo_studio_filter) filter_combo.extend (combo_envision_filter) l_ev_vertical_box_2.extend (l_ev_horizontal_box_10) l_ev_vertical_box_1.extend (l_ev_cell_1) l_ev_vertical_box_1.extend (l_ev_horizontal_box_11) l_ev_horizontal_box_11.extend (l_ev_cell_2) l_ev_horizontal_box_11.extend (okay_button) l_ev_horizontal_box_11.extend (cancel_button) set_maximum_width (dialog_wide_width) set_maximum_height (dialog_tall_height) set_title ("Table of Contents Sorter") l_ev_vertical_box_1.disable_item_expand (l_ev_vertical_box_2) l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_11) l_ev_vertical_box_2.set_padding_width (5) l_ev_vertical_box_2.set_border_width (2) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_2) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_4) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_5) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_6) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_7) l_ev_vertical_box_2.disable_item_expand (l_ev_horizontal_box_8) l_ev_vertical_box_3.set_padding_width (padding_width) l_ev_vertical_box_3.set_border_width (inner_border_width) l_ev_vertical_box_3.disable_item_expand (l_ev_label_1) l_ev_label_1.set_text ("To sort the currently loaded Table of Contents simply choose from the%Noptions listed below and click 'Sort'") l_ev_label_1.align_text_left l_ev_horizontal_box_1.set_padding_width (padding_width) l_ev_horizontal_box_1.set_border_width (border_width) l_ev_horizontal_box_1.disable_item_expand (l_ev_label_2) l_ev_label_2.set_text ("General") l_ev_label_2.align_text_left l_ev_horizontal_box_2.set_padding_width (5) l_ev_horizontal_box_2.set_border_width (inner_border_width) l_ev_horizontal_box_2.disable_item_expand (l_ev_label_3) l_ev_label_3.set_text ("Index filename") l_ev_label_3.align_text_left index_filename_text.set_text ("index.xml") l_ev_horizontal_box_3.set_padding_width (5) l_ev_horizontal_box_3.set_border_width (2) l_ev_horizontal_box_3.disable_item_expand (l_ev_label_4) l_ev_label_4.set_text ("Sorting") l_ev_label_4.align_text_left l_ev_horizontal_box_4.set_padding_width (5) l_ev_horizontal_box_4.set_border_width (inner_border_width) index_root_check.enable_select index_root_check.set_text ("Automatically make root nodes from index files") l_ev_horizontal_box_5.set_padding_width (5) l_ev_horizontal_box_5.set_border_width (inner_border_width) include_empty_dirs_check.set_text ("Include empty directories") l_ev_horizontal_box_6.set_padding_width (5) l_ev_horizontal_box_6.set_border_width (inner_border_width) include_no_index_check.set_text ("Include directories without index file") l_ev_horizontal_box_7.set_padding_width (5) l_ev_horizontal_box_7.set_border_width (inner_border_width) include_skipped_sub_dirs_check.enable_select include_skipped_sub_dirs_check.set_text ("Include sub directories of skipped directories") l_ev_horizontal_box_8.set_padding_width (5) l_ev_horizontal_box_8.set_border_width (inner_border_width) order_alphabetical_check.enable_select order_alphabetical_check.set_text ("Order alphabetically") l_ev_horizontal_box_9.set_padding_width (padding_width) l_ev_horizontal_box_9.set_border_width (inner_border_width) l_ev_horizontal_box_9.disable_item_expand (l_ev_label_5) l_ev_label_5.set_text ("Document Filter") l_ev_label_5.align_text_left filter_combo.set_text ("Unfiltered") filter_combo.disable_edit combo_no_filter.enable_select combo_no_filter.set_text ("Unfiltered") combo_studio_filter.set_text ("EiffelStudio Filtered") combo_envision_filter.set_text ("ENViSioN! Filtered") l_ev_horizontal_box_11.set_padding_width (5) l_ev_horizontal_box_11.set_border_width (2) l_ev_horizontal_box_11.disable_item_expand (okay_button) l_ev_horizontal_box_11.disable_item_expand (cancel_button) okay_button.set_text ("Sort") okay_button.set_minimum_width (80) cancel_button.set_text ("Cancel") cancel_button.set_minimum_width (80) --Connect events. -- Close the application when an interface close -- request is recieved on `Current'. i.e. the cross is clicked. -- Call `user_initialization'. user_initialization end feature -- Access button_frame: EV_FRAME l_ev_vertical_box_1, l_ev_vertical_box_2, l_ev_vertical_box_3: EV_VERTICAL_BOX l_ev_label_1, l_ev_label_2, l_ev_label_3, l_ev_label_4, l_ev_label_5: EV_LABEL l_ev_horizontal_box_1, l_ev_horizontal_box_2, l_ev_horizontal_box_3, l_ev_horizontal_box_4, l_ev_horizontal_box_5, l_ev_horizontal_box_6, l_ev_horizontal_box_7, l_ev_horizontal_box_8, l_ev_horizontal_box_9, l_ev_horizontal_box_10, l_ev_horizontal_box_11: EV_HORIZONTAL_BOX l_ev_horizontal_separator_1, l_ev_horizontal_separator_2: EV_HORIZONTAL_SEPARATOR index_filename_text: EV_TEXT_FIELD index_root_check, include_empty_dirs_check, include_no_index_check, include_skipped_sub_dirs_check, order_alphabetical_check: EV_CHECK_BUTTON filter_combo: EV_COMBO_BOX combo_no_filter, combo_studio_filter, combo_envision_filter: EV_LIST_ITEM l_ev_cell_1, l_ev_cell_2: EV_CELL okay_button, cancel_button: EV_BUTTON feature {NONE} -- Implementation is_in_default_state: BOOLEAN is -- Is `Current' in its default state? do -- Re-implement if you wish to enable checking -- for `Current'. Result := True end user_initialization is -- Feature for custom initialization, called at end of `initialize'. deferred end end -- class TOC_DIALOG_IMP