Class: Engine2::StarToManyLinkListMeta
- Inherits:
-
StarToManyListMeta
- Object
- Meta
- ListMeta
- StarToManyListMeta
- Engine2::StarToManyLinkListMeta
- Defined in:
- lib/engine2/meta/list_meta.rb
Instance Attribute Summary
Attributes included from MetaListSupport
Attributes inherited from Meta
#action, #assets, #invokable, #static
Instance Method Summary collapse
Methods inherited from StarToManyListMeta
Methods inherited from ListMeta
#invoke, #list_context, #list_search, #post_run
Methods included from MetaListSupport
#filter, #order, #post_process, #post_run, #search_live, #search_template, #searchable, #searchable_tabs, #select_toggle_menu, #sortable, #template
Methods included from MetaModelSupport
#action_defined, #get_type_info, #hide_pk, #show_pk, #unsupported_association
Methods included from MetaAPISupport
#config, #decorate, #field_filter, #hide_fields, #info, #info!, #loc!, #reload_routes!, #render, #show_fields
Methods included from MetaTabSupport
#field_tabs, #lazy_tab, #select_tabs
Methods included from MetaPanelSupport
#modal_action, #panel, #panel_class, #panel_footer, #panel_panel_template, #panel_template, #panel_title, #post_run
Methods included from MetaMenuSupport
Methods included from MetaOnChangeSupport
Methods included from MetaQuerySupport
#find_record, #get_query, #post_run, #query, #select
Methods inherited from Meta
#action_defined, #check_static_meta, #dynamic?, #freeze_meta, #get, http_method, #http_method, inherited, #initialize, #invoke!, #lookup, #merge, #meta_type, meta_type, #post_process, #post_run, #request, #request_meta_proc_params, #split_keys
Constructor Details
This class inherits a constructor from Engine2::Meta
Instance Method Details
#pre_run ⇒ Object
213 214 215 216 217 218 |
# File 'lib/engine2/meta/list_meta.rb', line 213 def pre_run super panel_title LOCS[:link_title] (:panel_menu).option_at 0, :link, icon: "ok", enabled: "action.selected_size() > 0" action.parent.*.(:menu).option_at 0, :link_list, icon: "paperclip", button_loc: false end |