indexing description: "Objects that represent EV_KEY_ACTION_SEQUENCE" author: "" date: "$Date$" revision: "$Revision$" class GB_EV_KEY_ACTION_SEQUENCE inherit GB_EV_ACTION_SEQUENCE feature -- Access argument_types: ARRAYED_LIST [STRING] is -- All argument types of action sequence represented by `Current'. once create Result.make (0) Result.extend ("EV_KEY") end argument_names: ARRAYED_LIST [STRING] is -- All argument names of action sequence represented by `Current'. once create Result.make (0) Result.extend ("a_key") end display_agent (name: STRING; string_handler: ORDERED_STRING_HANDLER): PROCEDURE [ANY, TUPLE [EV_KEY]] is -- `Result' is agent which will display all arguments passed to an -- action sequence represented by `Current', using name `name' and -- outputs to `string_handler'. require string_handler_not_void: string_handler /= Void name_not_void_or_empty: name /= Void and not name.is_empty do Result := agent internal_display_agent (?, name, string_handler) ensure Result_not_void: Result /= Void end feature {NONE} -- Implementation internal_display_agent (a_key: EV_KEY; name: STRING; string_handler: ORDERED_STRING_HANDLER) is -- Display all other arguments of `Current' on `string_handler', prepended -- with `name' fired. do string_handler.record_string (name + " fired.%Nkey : " + a_key.out) end end -- class GB_EV_KEY_ACTION_SEQUENCE