note description: "[ An editor output pane specifically for the C compiler output, for use with the Outputs Tool ({ES_OUTPUTS_TOOL}). ]" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class ES_C_COMPILER_OUTPUT_PANE inherit ES_EIFFEL_COMPILER_OUTPUT_PANE redefine make, new_widget end ES_HELP_CONTEXT EIFFEL_LAYOUT export {NONE} all end create make feature {NONE} -- Initialization make (a_name: READABLE_STRING_GENERAL) -- do make_with_icon (a_name, stock_pixmaps.tool_c_output_icon_buffer) -- Create the analzyer for error output if not {PLATFORM}.is_windows or else ( attached eiffel_layout.get_environment_32 (once "ISE_C_COMPILER") as l_var and then l_var.is_case_insensitive_equal (once {STRING_32} "gcc")) then -- Use GCC. create {ES_GCC_OUTPUT_ANALYZER} analyzer.make (notifier_formatter) auto_recycle (analyzer) elseif {PLATFORM}.is_windows then -- Use MSC. create {ES_MSC_OUTPUT_ANALYZER} analyzer.make (notifier_formatter) auto_recycle (analyzer) end end feature -- Access help_context_id: STRING_32 -- once Result := {STRING_32} "26525412-e8e5-8b1c-1074-58e00aed4c76" end feature {NONE} -- Access analyzer: detachable ES_C_COMPILER_OUTPUT_ANALYZER -- C compiler output analyzer used to produce C compiler error messages. note option: stable attribute end feature {NONE} -- Factory new_widget (a_window: attached SHELL_WINDOW_I): attached ES_C_COMPILER_EDITOR_WIDGET -- do if attached {EB_DEVELOPMENT_WINDOW} a_window as l_window then create {ES_C_COMPILER_EDITOR_WIDGET} Result.make (l_window) else check False end end end ;note copyright: "Copyright (c) 1984-2012, 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 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end