note description: "EiffelVision Widget ER_FONT_CONTROL_NODE_WIDGET.% %The original version of this class was generated by EiffelBuild." generator: "EiffelBuild" date: "$Date$" revision: "$Revision$" class ER_FONT_CONTROL_NODE_WIDGET inherit ER_FONT_CONTROL_NODE_WIDGET_IMP feature {NONE} -- Initialization user_create_interface_objects -- Create any auxilliary objects needed for ER_DROP_DOWN_COLOR_PICKER_NODE_WIDGET. -- Initialization for these objects must be performed in `user_initialization'. do end user_initialization -- Perform any initialization on objects created by `user_create_interface_objects' -- and from within current class itself. local l_item: EV_LIST_ITEM do -- Initialize types defined in current class create l_item.make_with_text ({ER_TREE_NODE_FONT_CONTROL_DATA}.rich_font) font_type.extend (l_item) create l_item.make_with_text ({ER_TREE_NODE_FONT_CONTROL_DATA}.font_with_color) font_type.extend (l_item) create l_item.make_with_text ({ER_TREE_NODE_FONT_CONTROL_DATA}.font_only) font_type.extend (l_item) font_type.set_text ("") common_node.node_type.set_text ("Font control") end feature -- Command set_tree_node_data (a_data: detachable ER_TREE_NODE_FONT_CONTROL_DATA) -- Update GUI with tree node data do tree_node_data := a_data if attached a_data as l_data then common_node.set_tree_node_data (a_data) if attached l_data.font_type as l_font_type then font_type.set_text (l_font_type) end end end feature {NONE} -- Implementation tree_node_data: detachable ER_TREE_NODE_FONT_CONTROL_DATA -- Font control tree node data on_font_type_select -- <Precursor> do if attached tree_node_data as l_data then l_data.set_font_type (font_type.text) end end note copyright: "Copyright (c) 1984-2014, 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