class ActivityView

Constants

DATE
ICON
KIND
MODEL
TITLE
URI

Public Class Methods

new(plugin) click to toggle source
Calls superclass method Gtk::TreeViewPrettyScroll.new
# File core/plugin/activity/activity.rb, line 37
def initialize(plugin)
  type_strict plugin => Plugin
  @plugin = plugin
  super()
  @creatable = @updatable = @deletable = false
end

Public Instance Methods

column_schemer() click to toggle source
# File core/plugin/activity/activity.rb, line 44
def column_schemer
  [{:kind => :pixbuf, :type => GdkPixbuf::Pixbuf, :label => 'icon'}, # ICON
   {:kind => :text, :type => String, :label => _('種類')},      # KIND
   {:kind => :text, :type => String, :label => _('説明')},      # TITLE
   {:kind => :text, :type => String, :label => _('時刻')},      # DATE
   {type: Plugin::Activity::Activity},                         # Activity Model
   {type: String}                                              # URI
  ].freeze
end
method_missing(*args, &block) click to toggle source
# File core/plugin/activity/activity.rb, line 54
def method_missing(*args, &block)
  @plugin.__send__(*args, &block)
end