Updated the ewf estudio wizard to have a console and a graphical wizard.
Usage: wizard -callback file.cb path-to-rootdir folder.
This commit is contained in:
46
tools/ise_wizard/src/gui/ewf_graphical_wizard.e
Normal file
46
tools/ise_wizard/src/gui/ewf_graphical_wizard.e
Normal file
@@ -0,0 +1,46 @@
|
||||
note
|
||||
description: "[
|
||||
Objects that ...
|
||||
]"
|
||||
author: "$Author$"
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
EWF_GRAPHICAL_WIZARD
|
||||
|
||||
inherit
|
||||
EV_APPLICATION
|
||||
|
||||
SHARED_EXECUTION_ENVIRONMENT
|
||||
undefine
|
||||
default_create, copy
|
||||
end
|
||||
|
||||
create
|
||||
make_and_launch
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make_and_launch
|
||||
local
|
||||
w: like main_window
|
||||
cons: EWF_CONSOLE_WIZARD_APPLICATION
|
||||
do
|
||||
default_create
|
||||
if execution_environment.arguments.index_of_word_option ("-console") > 0 then
|
||||
create cons.make
|
||||
else
|
||||
create w
|
||||
main_window := w
|
||||
|
||||
w.show
|
||||
launch
|
||||
end
|
||||
end
|
||||
|
||||
feature {NONE} -- Implementation
|
||||
|
||||
main_window: detachable EWF_WIZARD_WINDOW
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user