com.spss.psapi.extensions.ui.spi

Interface ExtensionObjectUIDelegate



  • public interface ExtensionObjectUIDelegate
    Defines the methods supported by an extension object UI delegate. A UI delegate instance is created for each extension node dialog or output window instance. The implementing class must declare a no-argument constructor. The path of the implementing class is specified in the "uiDelegate" attribute of the relevant UserInterface element in the extension.xml file.
    Since:
    PSAPI 17.0
    • Method Detail

      • initUIDelegate

        void initUIDelegate(ExtensionObjectWindowHandle windowHandle)
        Called when the UI for an extension object is being created.
        Parameters:
        windowHandle - the window handle
      • disposeUIDelegate

        void disposeUIDelegate(ExtensionObjectWindowHandle windowHandle)
        Called when the UI for an extension object is being disposed of.
        Parameters:
        windowHandle - the window handle
      • handleAction

        void handleAction(java.lang.String actionId,
                        ExtensionObjectWindowHandle windowHandle)
        Invoked when an extension-defined menu option or tool bar tool is invoked. The handler is passed the action ID and the window handle which may be used to access the underlying extension object.
        Parameters:
        actionId - the action identifier defined by the extension
        windowHandle - the handle of the window through which the action was invoked

(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.