pCon.basket - Plugin Development
    Preparing search index...
    interface ActionProvider {
        eventBasketActionsChanged?: ListenableEvent<void, ActionProvider>;
        dispose(): Promise<void>;
        getBasketActions(): readonly MenuAction[] | null;
        getItemActions(): readonly MenuAction[] | null;
        getMainMenuActions(): readonly MenuAction[] | null;
    }

    Hierarchy (View Summary)

    Index
    eventBasketActionsChanged?: ListenableEvent<void, ActionProvider>

    Optional event which should be triggered if the basket actions have changed e.g. the disabled state

    • Called if this instance is no longer in use. Should be used to clean-up resources.

      Returns Promise<void>

    • List of basket actions which will be available in the project editor. (e.g. in the toolbar) All primary actions will be shown in front of all other actions.

      Returns readonly MenuAction[] | null

    • Will be called everytime the item context menu gets opened.

      Returns readonly MenuAction[] | null

    • Will be called everytime the main menu gets opened.

      Returns readonly MenuAction[] | null