Class: Engine2::StarToManyLinkListAction
- Inherits:
-
StarToManyListAction
- Object
- Action
- ListAction
- StarToManyListAction
- Engine2::StarToManyLinkListAction
- Defined in:
- lib/engine2/action/list.rb
Instance Attribute Summary
Attributes included from ActionListSupport
#default_order_field, #filters, #orders
Attributes inherited from Action
#assets, #invokable, #meta, #node, #static
Instance Method Summary collapse
Methods inherited from StarToManyListAction
Methods inherited from ListAction
#invoke, #list_context, #list_order, #list_search, #page_frame, #post_run
Methods included from ActionListSupport
#default_order, #field_tabs, #filter, #filter_case_insensitive, #order, #post_process, #post_run, #search_live, #search_template, #searchable, #searchable_tabs, #select_toggle_menu, #sortable, #template
Methods included from ActionModelSupport
#hide_pk, #node_defined, #show_pk, #unsupported_association
Methods included from ActionAPISupport
#config, #decorate, #field_filter, #fields, #fields!, #hide_fields, #loc!, #render, #show_fields
Methods included from ActionTabSupport
#field_tabs, #select_tabs, #tab
Methods included from ActionPanelSupport
#modal_action, #panel, #panel_class, #panel_footer, #panel_header, #panel_panel_template, #panel_template, #panel_title, #post_run
Methods included from ActionMenuSupport
Methods included from ActionOnChangeSupport
Methods included from ActionDraggableSupport
Methods included from ActionQuerySupport
#find_record, #get_query, #post_run, #query, #select
Methods inherited from Action
action_type, #action_type, #arguments, #check_anonymous_action_class, #check_static_action, #define_invoke, #define_method, #dynamic?, #execute, #freeze_action, #http_method, http_method, inherit, inherited, #initialize, #invoke!, #join_keys, #lookup, #merge, #node_defined, #post_process, #post_run, #repeat, #request, #request_action_proc_params, #split_keys
Constructor Details
This class inherits a constructor from Engine2::Action
Instance Method Details
#pre_run ⇒ Object
270 271 272 273 274 275 |
# File 'lib/engine2/action/list.rb', line 270 def pre_run super panel_title LOCS[:link_title] (:panel_menu).option_at 0, :link, icon: "ok", enabled: "action.selected_size() > 0" node.parent.*.(:menu).option_at 0, :link_list, icon: "paperclip", button_loc: false end |