note description: "Message box with a specific working symbol to inform % %the user that there is a time-consuming operation in progress and % %to allow him to cancel the operation. % %A dialog shell is automatically created as its parent" legal: "See notice at end of class."; status: "See notice at end of class."; date: "$Date$"; revision: "$Revision$" class WORKING_D inherit MESSAGE_D rename make as message_d_make redefine implementation end create make feature {NONE} -- Initialization make (a_name: STRING; a_parent: COMPOSITE) -- Create a working dialog with `a_name' as identifier, -- `a_parent' as parent and call `set_default'. require name_not_void: a_name /= Void; parent_not_void: a_parent /= Void do depth := a_parent.depth + 1; widget_manager.new (Current, a_parent); identifier:= a_name.twin create {WORKING_D_IMP} implementation.make (Current, a_parent); set_default ensure parent = a_parent; identifier.is_equal (a_name) end; feature {G_ANY, G_ANY_I, WIDGET_I, TOOLKIT} -- Implementation implementation: WORKING_D_I; -- Implementation of working dialog note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class WORKING_D