code: public static Menupopup getDesignContextMenu(BaseComponent component) {
          return component == null ? null : (Menupopup) component.getAttribute(CONTEXT_MENU);
      }
docs: Returns the design context menu currently bound to the component.
  
  @param component The CWF component of interest.
  @return The associated design context menu, or null if none.