Customizing Library Manager

Discussion in 'Cadence' started by Guenther Sohler, Sep 3, 2007.

  1. We have customized the cdsLibManager.il file to make custom functions
    in the Library Manager. When we right-Click on a cell, view or library,
    we can now access new functionality.

    But it also creates a banner menu entry. We do not want this. We just want
    the right-click functionality.

    We use the function:

    eg. lmgrAddMenuItems( "*NICE Tools" "L" '("niceLibDelete_Item") )


    rds
     
    Guenther Sohler, Sep 3, 2007
    #1
  2. Guenther,

    have you tired

    lmgrInsertMenuItems(
    t_menuItem
    t_popupSet
    l_names
    )
    => t | nil

    Inserts the named objects into the menu directly before the indicated
    menu item. An object can be an entire menu. Each menu item or menu can
    be inserted or added to only one menu. Likewise, any menu item can
    appear at most once in each pop-up menu. Menus can not be inserted
    (added) to a pop-up. Pop-ups must remain a flat structure only. You
    cannot insert or add pop-ups to menus. This function is similar to
    lmgrAddMenuItems, except in the meaning of the first argument.

    There is a App. Note on SourceLink about this topic:
    http://sourcelink.cadence.com/docs/...ry_Manager_Customization_4.4.3_and_4.4.2.html

    Bernd
     
    bernd.fischerkrellenberg, Sep 5, 2007
    #2
  3. Guenther,

    That's not allowed. The popup menus are a subset of what is in the banner menus.
    So you can elect to have banner menus which aren't popup menus, but not vice
    versa.

    This is good UI design, and the library manager enforces it.

    That said, you could probably sort of hide the banner menu by giving it a name
    which is just whitespace, but that's pretty horrible...

    Regards,

    Andrew.
     
    Andrew Beckett, Sep 16, 2007
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.