indexing description: "Objects that represent an EV_DIALOG.% %The original version of this class was generated by EiffelBuild." date: "$Date$" revision: "$Revision$" class TOC_NEW_DIALOG inherit TOC_NEW_DIALOG_IMP redefine show_modal_to_window end SHARED_OBJECTS undefine copy, default_create end feature {NONE} -- Initialization user_initialization is -- called by `initialize'. -- Any custom user initialization that -- could not be performed in `initialize', -- (due to regeneration of implementation class) -- can be added here. do okay_button.select_actions.extend (agent okay) cancel_button.select_actions.extend (agent hide) end feature -- Display show_modal_to_window (a_window: EV_WINDOW) is -- Show do if shared_project.is_valid then project_radio.enable_sensitive else project_radio.disable_sensitive end precursor (a_window) end feature {NONE} -- Implementation okay is -- Okay pressed local l_dir: DIRECTORY do if not toc_name_text.text.is_empty then if project_radio.is_selected then create l_dir.make (Shared_project.root_directory) Shared_toc_manager.build_toc (toc_name_text.text, l_dir) else Shared_toc_manager.new_toc (toc_name_text.text) end hide end end end -- class TOC_NEW_DIALOG