class Vizkit::EnumEditor
editor for enum values
Public Class Methods
new(parent,data)
click to toggle source
Calls superclass method
# File lib/vizkit/tree_view.rb, line 93 def initialize(parent,data) super(parent) data.to_a.each do |val| addItem(val.to_s) end end
Public Instance Methods
getData()
click to toggle source
we cannot use user properties here there is no way to define some on the ruby side
# File lib/vizkit/tree_view.rb, line 101 def getData currentText end