Module Core::Interfaces::View
In: core/interfaces.rb

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

Methods

run   setup   teardown  

Included Modules

Patterns::Observer

Public Instance methods

transfer control of the execution flow to the View

[Source]

# File core/interfaces.rb, line 81
      def run() 
        raise NotImplementedError
      end
 TODO: fix the constructor implementation issue Qt vs. WxWidgets

def initialize(argv) raise ‘unimplemented!’ end

[Source]

# File core/interfaces.rb, line 70
      def setup(new_controller) 
        raise NotImplementedError
      end

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

[Source]

# File core/interfaces.rb, line 76
      def teardown() 
        raise NotImplementedError
      end

[Validate]