class Vizkit::PortMetaDataItem
Attributes
port[R]
Public Class Methods
new(port,options = Hash.new)
click to toggle source
Calls superclass method
Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1046 def initialize(port,options = Hash.new) super() @options = Kernel.validate_options options,:item_type => :label @port = port if @options[:item_type] == :label setText "Meta Data" port.metadata.each_pair do |key,value| appendRow([VizkitItem.new(key.to_s),VizkitItem.new(value.to_s)]) end end end