class Vizkit::GlobalMetaItem

Attributes

log_replay[R]

Public Class Methods

new(log_replay,options = Hash.new) click to toggle source
Calls superclass method Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1029
def initialize(log_replay,options = Hash.new)
    super()
    @options = Kernel.validate_options options,:item_type => :label
    @log_replay = log_replay
    if @options[:item_type] == :label
        setText "- Global Meta Data -"
        log_replay.annotations.each do |annotation|
            field = LogAnnotationItem.new annotation
            value = LogAnnotationItem.new annotation,:item_type => :value
            appendRow [field,value]
        end
    end
end