indexing description: "Objects that represent an EV_TITLED_WINDOW.% %The original version of this class was generated by EiffelBuild." author: "" date: "$Date$" revision: "$Revision$" deferred class GENERATION_DIALOG_IMP inherit EV_DIALOG redefine initialize, is_in_default_state end -- This class is the implementation of an EV_TITLED_WINDOW 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} -- Create all widgets. create l_vertical_box_1 create l_horizontal_box_1 create message_label create l_horizontal_box_2 create select_directory_button create directory_display create l_cell_1 create l_horizontal_box_3 create ok_button create cancel_button -- Build_widget_structure. extend (l_vertical_box_1) l_vertical_box_1.extend (l_horizontal_box_1) l_horizontal_box_1.extend (message_label) l_vertical_box_1.extend (l_horizontal_box_2) l_horizontal_box_2.extend (select_directory_button) l_horizontal_box_2.extend (directory_display) l_vertical_box_1.extend (l_cell_1) l_vertical_box_1.extend (l_horizontal_box_3) l_horizontal_box_3.extend (ok_button) l_horizontal_box_3.extend (cancel_button) -- Initialize properties of all widgets. set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) disable_user_resize set_title ("Test Generation") l_vertical_box_1.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_vertical_box_1.disable_item_expand (l_cell_1) l_vertical_box_1.disable_item_expand (l_horizontal_box_3) l_horizontal_box_1.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_horizontal_box_1.set_border_width (10) message_label.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_horizontal_box_2.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_horizontal_box_2.set_padding_width (10) l_horizontal_box_2.set_border_width (10) l_horizontal_box_2.disable_item_expand (select_directory_button) select_directory_button.set_text ("Select Directory") directory_display.disable_edit l_cell_1.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_cell_1.set_minimum_height (25) l_horizontal_box_3.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_horizontal_box_3.set_minimum_width (87) l_horizontal_box_3.set_padding_width (10) l_horizontal_box_3.set_border_width (10) l_horizontal_box_3.disable_item_expand (ok_button) l_horizontal_box_3.disable_item_expand (cancel_button) ok_button.disable_sensitive ok_button.set_text ("Ok") ok_button.set_minimum_width (60) cancel_button.set_text ("Cancel") cancel_button.set_minimum_width (60) --Connect events. select_directory_button.select_actions.extend (agent display_directory_dialog) ok_button.select_actions.extend (agent ok_pressed) cancel_button.select_actions.extend (agent cancel_pressed) -- Call `user_initialization'. user_initialization end 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 l_vertical_box_1: EV_VERTICAL_BOX l_horizontal_box_1, l_horizontal_box_2, l_horizontal_box_3: EV_HORIZONTAL_BOX message_label: EV_LABEL select_directory_button, ok_button, cancel_button: EV_BUTTON directory_display: EV_TEXT_FIELD l_cell_1: EV_CELL display_directory_dialog is -- Called by `select_actions' of `select_directory_button'. deferred end ok_pressed is -- Called by `select_actions' of `ok_button'. deferred end cancel_pressed is -- Called by `select_actions' of `cancel_button'. deferred end end -- class GENERATION_DIALOG_IMP