parameters: (self, process, context, count)
return_statement: return div
docstring: this is drawn per process/context group of notes
docstring_summary: this is drawn per process/context group of notes
docstring_tokens: this is drawn per process / context group of notes
function: def get_context_wdg(self, process, context, count):
          ''' this is drawn per process/context group of notes'''
          div = DivWdg()
          div.add_class("hand")
  
  
          icon_div = SpanWdg()
          # NOTE: removing this from now ....
          #div.add(icon_div)
          icon_div.add_border()
          icon_div.add_style("width: 16px")
          icon_div.add_style("height: 16px")
          icon_div.add_style("overflow: hidden")
          icon_div.add_style("margin-right: 5px")
          icon_div.add_style("float: left")
  
          icon = IconWdg( "View", IconWdg.ARROWHEAD_DARK_DOWN)
          icon_div.add(icon)
  
  
  
          div.add_color("color", "color")
          div.add_style("padding", "0px 0px 5px 5px")
          div.add_style("height", "15px")
          div.add_style("font-weight", "bold")
          div.add_style("border-width: 0px 0px 0px 0px")
          div.add_style("border-style: solid")
          div.add_color("border-color", "table_border")
          if not context:
              display_context = '<i>(no context)</i>'
          elif context == "publish":
              display_context = "Notes"
          else:
              display_context = context
          div.add(display_context)
  
          count_div = SpanWdg(css="spt_note_count")
          div.add(count_div)
          count_div.add("(%s)" % count)
          count_div.add_style("font-weight: normal")
          count_div.add_style("font-size: 1.0em")
          count_div.add_style("font-style: italic")
          count_div.add_style("margin-left: 3px")
          count_div.add_style("opacity: 0.7")
  
  
          return div
function_tokens: def get_context_wdg ( self , process , context , count ) : div = DivWdg ( ) div . add_class ( "hand" ) icon_div = SpanWdg ( ) # NOTE: removing this from now .... #div.add(icon_div) icon_div . add_border ( ) icon_div . add_style ( "width: 16px" ) icon_div . add_style ( "height: 16px" ) icon_div . add_style ( "overflow: hidden" ) icon_div . add_style ( "margin-right: 5px" ) icon_div . add_style ( "float: left" ) icon = IconWdg ( "View" , IconWdg . ARROWHEAD_DARK_DOWN ) icon_div . add ( icon ) div . add_color ( "color" , "color" ) div . add_style ( "padding" , "0px 0px 5px 5px" ) div . add_style ( "height" , "15px" ) div . add_style ( "font-weight" , "bold" ) div . add_style ( "border-width: 0px 0px 0px 0px" ) div . add_style ( "border-style: solid" ) div . add_color ( "border-color" , "table_border" ) if not context : display_context = '<i>(no context)</i>' elif context == "publish" : display_context = "Notes" else : display_context = context div . add ( display_context ) count_div = SpanWdg ( css = "spt_note_count" ) div . add ( count_div ) count_div . add ( "(%s)" % count ) count_div . add_style ( "font-weight: normal" ) count_div . add_style ( "font-size: 1.0em" ) count_div . add_style ( "font-style: italic" ) count_div . add_style ( "margin-left: 3px" ) count_div . add_style ( "opacity: 0.7" ) return div