class EV_RADIO_BUTTON_IMP_CLASS
Create edited version of class EV_RADIO_BUTTON_IMP
note
description: "Create edited version of class ${EV_RADIO_BUTTON_IMP}"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2016 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2015-12-18 12:55:12 GMT (Friday 18th December 2015)"
revision: "1"
class
EV_RADIO_BUTTON_IMP_CLASS
inherit
OVERRIDE_FEATURE_EDITOR
redefine
do_edit
end
create
make
feature {NONE} -- Implementation
dir_path: DIR_PATH
-- original ISE location
do
Result := "vision2/implementation/mswin/widgets/primitives"
end
do_edit
do
class_header.find_first_true (agent {ZSTRING}.has_substring (Class_EV_RADIO_PEER_IMP))
class_header.put_right ("%T%Trename")
class_header.forth
class_header.insert_line_right ("enable_select as set_checked", 3)
class_header.find_first_true (agent {ZSTRING}.has_substring (Class_WEL_RADIO_BUTTON))
class_header.find_next_true (agent {ZSTRING}.ends_with (Indented_keyword_end))
class_header.back
class_header.put_right ("%T%Tselect")
class_header.forth
class_header.insert_line_right ("set_checked", 3)
end
new_feature_edit_actions: like feature_edit_actions
do
create Result.make (0)
end
feature {NONE} -- Constants
Checksum: NATURAL = 1685938123
Class_WEL_RADIO_BUTTON: ZSTRING
once
Result := "WEL_RADIO_BUTTON"
end
Class_EV_RADIO_PEER_IMP: ZSTRING
once
Result := "EV_RADIO_PEER_IMP"
end
end