indexing description: "Objects that represent an EV_TITLED_WINDOW.% %The original version of this class was generated by EiffelBuild." date: "$Date$" revision: "$Revision$" deferred class INVALID_ENVIRONMENT_DIALOG_IMP inherit EV_TITLED_WINDOW redefine initialize, is_in_default_state end CONSTANTS undefine is_equal, default_create, copy 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'. local l_ev_vertical_box_1: EV_VERTICAL_BOX l_ev_horizontal_box_1, l_ev_horizontal_box_2, l_ev_horizontal_box_3: EV_HORIZONTAL_BOX l_ev_frame_1: EV_FRAME l_ev_cell_1, l_ev_cell_2, l_ev_cell_3: EV_CELL do Precursor {EV_TITLED_WINDOW} initialize_constants -- Create all widgets. create l_ev_vertical_box_1 create l_ev_horizontal_box_1 create l_ev_frame_1 create l_ev_horizontal_box_2 create warning_label create l_ev_horizontal_box_3 create l_ev_cell_1 create ok_button create l_ev_cell_2 create l_ev_cell_3 -- Build_widget_structure. extend (l_ev_vertical_box_1) l_ev_vertical_box_1.extend (l_ev_horizontal_box_1) l_ev_horizontal_box_1.extend (l_ev_frame_1) l_ev_frame_1.extend (l_ev_horizontal_box_2) l_ev_horizontal_box_2.extend (warning_label) l_ev_vertical_box_1.extend (l_ev_horizontal_box_3) l_ev_horizontal_box_3.extend (l_ev_cell_1) l_ev_horizontal_box_3.extend (ok_button) l_ev_horizontal_box_3.extend (l_ev_cell_2) l_ev_vertical_box_1.extend (l_ev_cell_3) disable_user_resize set_title ("EiffelBuild - Environment Fatal Error") l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_3) l_ev_vertical_box_1.disable_item_expand (l_ev_cell_3) l_ev_horizontal_box_1.set_padding_width (small_padding) l_ev_horizontal_box_1.set_border_width (small_padding) l_ev_horizontal_box_2.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) l_ev_horizontal_box_2.set_border_width (medium_padding) warning_label.set_background_color (create {EV_COLOR}.make_with_8_bit_rgb (255, 255, 255)) warning_label.align_text_left l_ev_horizontal_box_3.disable_item_expand (ok_button) ok_button.set_text ("OK") ok_button.set_minimum_width (default_button_width) l_ev_cell_3.set_minimum_height (small_padding) --Connect events. ok_button.select_actions.extend (agent button_selected) -- 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 warning_label: EV_LABEL ok_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 button_selected is -- Called by `select_actions' of `ok_button'. deferred end end -- class INVALID_ENVIRONMENT_DIALOG_IMP