note
	description: "Summary description for {WIZARD_DATA_TEMPLATE_INSPECTOR}."
	author: ""
	date: "$Date$"
	revision: "$Revision$"

class
	WIZARD_DATA_TEMPLATE_INSPECTOR

inherit
	TEMPLATE_INSPECTOR

create
	register

feature {TEMPLATE_ROUTINES}

	internal_data (field_name: STRING; obj: detachable ANY): detachable CELL [detachable ANY]
			-- Return object in a cell
			-- If not handled by this inspector, return Void
		local
			l_fn: STRING
		do
			if attached {WIZARD_DATA} obj as wiz then
				l_fn := field_name.as_lower
				if attached wiz.page_data (l_fn) as v then
					Result := cell_of (v)
				end
			end
		end

note
	copyright: "2011-2014, Jocelyn Fiat, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	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