Class: Watobo::Gui::RequestRulesTable

Inherits:
RulesTable
  • Object
show all
Defined in:
lib/watobo/gui/rewrite_rules_dialog.rb

Instance Attribute Summary

Attributes inherited from RulesTable

#rules

Instance Method Summary collapse

Methods inherited from RulesTable

#add_rule, #current_rule, #delete_current_row, #delete_row_by_index, #reset_table

Constructor Details

#initialize(owner, opts = {}) ⇒ RequestRulesTable

Returns a new instance of RequestRulesTable.



321
322
323
324
325
326
327
328
329
330
331
332
# File 'lib/watobo/gui/rewrite_rules_dialog.rb', line 321

def initialize(owner, opts={})
  super owner, opts
  add_column "Action", 50
  add_column "Location", 80
  add_column "Pattern", 80
  add_column "Content", 80
  add_column "Filter", 80

  init_columns
  adjust_cell_width

end