note description: "Objects that may be extended into an EVENT_LIST." legal: "See notice at end of class." status: "See notice at end of class." author: "" date: "$Date$" revision: "$Revision$" class EVENT_LIST_ITEM inherit EV_LIST_ITEM create make_with_text feature -- access check_event: PROCEDURE -- Agent to be executed when `Current' is becomes checked. uncheck_event: PROCEDURE -- Agent to be executed when `Current' becomes unchecked. feature -- Status setting set_accept (an_agent: PROCEDURE) -- Assign `an_agent' to `check_event'. do check_event := an_agent ensure event_set: check_event = an_agent end set_deny (an_agent: PROCEDURE) -- Assign `an_agent' to `uncheck_event'. do uncheck_event := an_agent ensure event_set: uncheck_event = an_agent end note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" 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 EVENT_LIST_ITEM