note description: "Objects that represent an EV_TITLED_WINDOW.% %The original version of this class was generated by EiffelBuild." generator: "EiffelBuild" date: "$Date$" revision: "$Revision$" class ER_NODE_WIDGET inherit ER_NODE_WIDGET_IMP feature -- Access description_text: STRING_32 -- Describe type of node. do Result := "Unknown" end feature {NONE} -- Initialization user_initialization -- 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 node_type.set_text (description_text) end user_create_interface_objects -- do -- Initialize before calling Precursor all the attached attributes -- from the current class. -- Proceed with vision2 objects creation. create checker end feature -- Command set_tree_node_data (a_data: detachable ER_TREE_NODE_DATA) -- Update GUI with tree node data do tree_node_data := a_data if attached a_data as l_data then if attached a_data.command_name as l_command_name then command_name.set_text (l_command_name) else command_name.remove_text end if attached a_data.label_title as l_label_title then label.set_text (l_label_title) else label.remove_text end if attached a_data.keytip as l_keytip then keytip.set_text (l_keytip) else keytip.remove_text end end end feature {NONE} -- Implementation checker: ER_IDENTIFIER_UNIQUENESS_CHECKER -- Identifier uniqueness checker tree_node_data: detachable ER_TREE_NODE_DATA -- Checkbox tree node data on_command_name_focus_out -- do checker.on_focus_out (command_name, tree_node_data) end on_command_name_text_change -- do checker.on_identifier_name_change (command_name, tree_node_data) end on_label_text_change -- Called by `change_actions' of `label'. do if attached tree_node_data as l_data then l_data.set_label_title (label.text) end end on_keytip_text_change -- Called by `change_actions' of `label'. do if attached tree_node_data as l_data then l_data.set_keytip (keytip.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