public static Menupopup getDesignContextMenu(BaseComponent component) {
        return component == null ? null : (Menupopup) component.getAttribute(CONTEXT_MENU);
    }
public static Menupopup getDesignContextMenu ( BaseComponent component ) { return component == null ? null : ( Menupopup ) component . getAttribute ( CONTEXT_MENU ) ; }
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.