Module Core::ViewInterface
In: core/context.rb

In order to create a new View, this simple interface must be followed.

Methods

run   setup   teardown  

Public Instance methods

[Source]

    # File core/context.rb, line 88
88:     def run() raise 'unimplemented!' end
 TODO: fix the constructor implementation issue Qt vs. WxWidgets

def initialize(argv) raise ‘unimplemented!’ end

[Source]

    # File core/context.rb, line 83
83:     def setup(new_controller) raise 'unimplemented!' end

When the service layer raises a Core::DradisQuitApp exception, the controller will it and notify the view by invoking this method.

[Source]

    # File core/context.rb, line 87
87:     def teardown() raise 'unimplemented!' end

[Validate]