Sha256: bf60e39fbe95636a0003a022f7c479829f361dda48008cae856bd7958f3152ca
Contents?: true
Size: 706 Bytes
Versions: 14
Compression:
Stored size: 706 Bytes
Contents
require 'omf-web/widget/abstract_widget' # Implements a widget to configure the state of the system # class ConfigureWidget < AbstractWidget attr_reader :name, :opts #:base_id # opts # def initialize(opts = {}) end # This is the DOM id which should be used by the renderer for this widget. # We need to keep this here as various renderes at various levels may need # to get a reference to it to allow for such functionalities as # hiding, stacking, ... # def dom_id # "w#{object_id.abs}" # end def content() OMF::Web::Theme.require 'data_renderer' OMF::Web::Theme::DataRenderer.new(self, @opts) end end # class
Version data entries
14 entries across 14 versions & 1 rubygems