Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories API
Created by Guest
Created on Jun 7, 2021

Enhancement to create custom tool API

Custom tool API allows us to specify the tool name/license/menu category/icon ...

These custom menus automatically show up in the 'customize toolbar ...' area. We have a large number of such custom tools that we would like to hide from 'Customize toolbar' area (for multiple reasons)!

So our request is to add an extra argument to the Custom Tool API to specify if such a tool is allowed to be displayed in custom toolbar area or not.

This way we can control what shows up and what user can add to the toolbar.

  • Attach files
  • Guest
    Reply
    |
    Jun 24, 2021

    Attached is an example of the tool area that lists all tools in Spotfire.

    We have lots of custom tools that we would like to hide ... also notice that some custom tools appear twice because they are registered twice as:

    CustomTool<Document>

    CustomTool<VisualContent>


    So we would ilke to be able to hide one of them.

  • Guest
    Reply
    |
    Jun 17, 2021

    Another use case where we need this API to hide custom toolbars is when the same functionality is implemented twice at different context levels.

    For example, I have a function that rename columns that I would like to access either using:

    CusotmTool<Document> and CustomTool<VisualContent>

    So that it shows up under "Tools" or in the right-mouse click context menu of table plot.

    In this scenario, these 2 cusotm tools (that do the same work) will show up twice in the 'customize toolbar ...' area! which is very confusing ...


    I t would be much better to pass a flag to CustomTool API constructor to specify if this custom tool should be shown/hidden from 'customize toolbar ...' area.