note description: "Wizard to create features and insert them in a specific%N% %feature clause." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class EB_PROCEDURE_EDITOR inherit EB_ROUTINE_EDITOR redefine initialize, is_procedure end feature {NONE} -- Initialization initialize do Precursor feature_clause_selector.set_clause_name (fc_Element_change) end routine_is_part: EV_HORIZONTAL_BOX -- Box with `add_argument_button' and "): is". local c: EV_CELL do create Result Result.extend (add_argument_button) Result.disable_item_expand (Result.last) Result.extend (new_label (") is")) Result.disable_item_expand (Result.last) create c extend (c) disable_item_expand (c) end feature -- Access code: STRING -- Current text of the feature in the wizard. do create Result.make (100) Result.append ("%T" + feature_name_field.text + arguments_code + " is%N") Result.append (comments_code) Result.append (routine_code) end feature -- Status report is_procedure: BOOLEAN = True; -- Is `Current' a procedure editor? note copyright: "Copyright (c) 1984-2006, Eiffel Software" license: "GPL version 2 (see http://www.eiffel.com/licensing/gpl.txt)" licensing_options: "http://www.eiffel.com/licensing" copying: "[ This file is part of Eiffel Software's Eiffel Development Environment. Eiffel Software's Eiffel Development Environment is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License (available at the URL listed under "license" above). Eiffel Software's Eiffel Development Environment is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Eiffel Software's Eiffel Development Environment; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ]" 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 EB_PROCEDURE_EDITOR