Sha256: 7aa6e20378fcf7efa8aa0addffb1659421172aeffb649731e56597e9e11bf309
Contents?: true
Size: 838 Bytes
Versions: 1
Compression:
Stored size: 838 Bytes
Contents
require 'Context/Context' require 'Context/Bridge' require 'Context/View' require 'jldrill/model/AboutInfo' module JLDrill class ShowAboutContext < Context::Context def initialize(viewBridge) super(viewBridge) end class AboutView < Context::View def initialize(context, about) super(context) @about = about end # Open the window and display the about information def run # Please define in the concrete class end end def createViews @mainView = @viewBridge.AboutView.new(self, AboutInfo.new) end def destroyViews @mainView = nil end def enter(parent) super(parent) @mainView.run self.exit end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | lib/jldrill/contexts/ShowAboutContext.rb |