Class: Watobo::Gui::RequestFilterTable

Inherits:
FilterTable
  • Object
show all
Defined in:
lib/watobo/gui/rewrite_filters_dialog.rb

Instance Attribute Summary

Attributes inherited from FilterTable

#filters

Instance Method Summary collapse

Methods inherited from FilterTable

#add_filter, #delete_current_row, #delete_row_by_index, #get_current_filter

Constructor Details

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

Returns a new instance of RequestFilterTable.


317
318
319
320
321
322
323
324
325
326
327
328
# File 'lib/watobo/gui/rewrite_filters_dialog.rb', line 317

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