parameters: (self)
docstring: layout = self.get_value("layout")
  
          if layout == "tile":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "tile"
              }
  
          elif layout == "card":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "card"
              }
  
          elif layout == "browser":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "browser"
              }
  
  
  
          else:
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "view": "table",
                  "layout": "default"
              }
docstring_summary: layout = self.get_value("layout")
docstring_tokens: layout = self . get_value ( layout )
function: def add_sidebar_views(self):
  
          search_type = self.search_type_obj.get_value("search_type")
          namespace, table = search_type.split("/")
          title = self.search_type_obj.get_title()
  
          # _list view
          class_name = "tactic.ui.panel.ViewPanelWdg"
          display_options = {
              "class_name": class_name,
              "search_type": search_type,
              "layout": "default"
          }
  
          # this is now handled by the "default" setting
          """
          layout = self.get_value("layout")
  
          if layout == "tile":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "tile"
              }
  
          elif layout == "card":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "card"
              }
  
          elif layout == "browser":
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "layout": "browser"
              }
  
  
  
          else:
              class_name = "tactic.ui.panel.ViewPanelWdg"
              display_options = {
                  "class_name": class_name,
                  "search_type": search_type,
                  "view": "table",
                  "layout": "default"
              }
          """
  
          action_options = {}
          action_class_name = {}
  
          element_attrs = {
              'title': title
          }
  
          view = "definition"
          element_name = "%s_list" % table
  
          config = WidgetDbConfig.append( "SideBarWdg", view, element_name, class_name="LinkWdg", display_options=display_options, element_attrs=element_attrs)
  
          view = "project_view"
          element_name = "%s_list" % table
          config = WidgetDbConfig.append( "SideBarWdg", view, element_name)
function_tokens: def add_sidebar_views ( self ) : search_type = self . search_type_obj . get_value ( "search_type" ) namespace , table = search_type . split ( "/" ) title = self . search_type_obj . get_title ( ) # _list view class_name = "tactic.ui.panel.ViewPanelWdg" display_options = { "class_name" : class_name , "search_type" : search_type , "layout" : "default" } # this is now handled by the "default" setting action_options = { } action_class_name = { } element_attrs = { 'title' : title } view = "definition" element_name = "%s_list" % table config = WidgetDbConfig . append ( "SideBarWdg" , view , element_name , class_name = "LinkWdg" , display_options = display_options , element_attrs = element_attrs ) view = "project_view" element_name = "%s_list" % table config = WidgetDbConfig . append ( "SideBarWdg" , view , element_name )