Interface IOpenEventListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IOpenEventListener
    Listener for open events which are generated on selection of default selection depending on the user preferences.

    Usage:

            OpenStrategy handler = new OpenStrategy(control);
            handler.addOpenListener(new IOpenEventListener() {
                    public void handleOpen(SelectionEvent e) {
                            ... // code to handle the open event.
                    }
            });
     
    See Also:
    OpenStrategy
    • Method Detail

      • handleOpen

        void handleOpen​(SelectionEvent e)
        Called when a selection or default selection occurs depending on the user preference.
        Parameters:
        e - the selection event