class Vizkit::LogTaskItem
Public Class Methods
new(task,options = Hash.new)
click to toggle source
Calls superclass method
Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1102 def initialize(task,options = Hash.new) super() @task = task @options = Kernel.validate_options options,:item_type => :label if @options[:item_type] == :label setText task.name @props = PropertiesItem.new(task,:editable => false) @props2 = PropertiesItem.new(task,:item_type => :value,:editable => false) @ports = LogOutputPortsItem.new(task) @ports2 = LogOutputPortsItem.new(task,:item_type => :value) appendRow [@props,@props2] appendRow [@ports,@ports2] else setText task.file_path end end