indexing description: "Objects that represent an EV_DIALOG.% %The original version of this class was generated by EiffelBuild." date: "$Date$" revision: "$Revision$" deferred class PROJECT_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 l_ev_vertical_box_1 create l_ev_label_1 create l_ev_horizontal_box_1 create l_ev_label_2 create name_field create l_ev_horizontal_box_2 create l_ev_label_3 create path_field create browse_button create l_ev_cell_1 create l_ev_horizontal_box_3 create l_ev_cell_2 create create_button create cancel_btn -- Build_widget_structure. extend (l_ev_vertical_box_1) l_ev_vertical_box_1.extend (l_ev_label_1) l_ev_vertical_box_1.extend (l_ev_horizontal_box_1) l_ev_horizontal_box_1.extend (l_ev_label_2) l_ev_horizontal_box_1.extend (name_field) l_ev_vertical_box_1.extend (l_ev_horizontal_box_2) l_ev_horizontal_box_2.extend (l_ev_label_3) l_ev_horizontal_box_2.extend (path_field) l_ev_horizontal_box_2.extend (browse_button) l_ev_vertical_box_1.extend (l_ev_cell_1) l_ev_vertical_box_1.extend (l_ev_horizontal_box_3) l_ev_horizontal_box_3.extend (l_ev_cell_2) l_ev_horizontal_box_3.extend (create_button) l_ev_horizontal_box_3.extend (cancel_btn) set_minimum_width (dialog_width) set_minimum_height (dialog_short_height) set_title ("New Project") l_ev_vertical_box_1.set_padding_width (padding_width) l_ev_vertical_box_1.set_border_width (border_width) l_ev_vertical_box_1.disable_item_expand (l_ev_label_1) l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_1) l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_2) l_ev_vertical_box_1.disable_item_expand (l_ev_cell_1) l_ev_vertical_box_1.disable_item_expand (l_ev_horizontal_box_3) l_ev_label_1.set_text ("Please enter details for your new project:") l_ev_label_1.set_minimum_height (25) 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 ("Project Name:") l_ev_label_2.set_minimum_width (120) l_ev_label_2.align_text_left l_ev_horizontal_box_2.set_padding_width (padding_width) l_ev_horizontal_box_2.set_border_width (border_width) l_ev_horizontal_box_2.disable_item_expand (l_ev_label_3) l_ev_horizontal_box_2.disable_item_expand (browse_button) l_ev_label_3.set_text ("Project root directory:") l_ev_label_3.set_minimum_width (120) l_ev_label_3.align_text_left browse_button.set_text (button_browse_text) browse_button.set_minimum_width (button_width) l_ev_cell_1.set_minimum_height (5) l_ev_horizontal_box_3.set_padding_width (padding_width) l_ev_horizontal_box_3.set_border_width (border_width) l_ev_horizontal_box_3.disable_item_expand (create_button) l_ev_horizontal_box_3.disable_item_expand (cancel_btn) create_button.set_text (button_create_text) create_button.set_minimum_width (button_width) cancel_btn.set_text (button_cancel_text) cancel_btn.set_minimum_width (button_width) --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 l_ev_vertical_box_1: EV_VERTICAL_BOX l_ev_label_1, l_ev_label_2, l_ev_label_3: EV_LABEL l_ev_horizontal_box_1, l_ev_horizontal_box_2, l_ev_horizontal_box_3: EV_HORIZONTAL_BOX name_field, path_field: EV_TEXT_FIELD browse_button, create_button, cancel_btn: EV_BUTTON l_ev_cell_1, l_ev_cell_2: EV_CELL 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 PROJECT_DIALOG_IMP