Interface IPerspectiveListener4

    • Method Detail

      • perspectivePreDeactivate

        void perspectivePreDeactivate​(IWorkbenchPage page,
                                      IPerspectiveDescriptor perspective)

        Notifies this listener that a perspective in the given page is about to be deactivated.

        Note: This does not have the ability to veto a perspective deactivation.

        Parameters:
        page - the page containing the deactivated perspective
        perspective - the perspective descriptor that was deactivated
        See Also:
        IWorkbenchPage.setPerspective(IPerspectiveDescriptor)