Class BeforeClosePlaceEvent

  • All Implemented Interfaces:
    org.uberfire.workbench.events.UberFireEvent

    public class BeforeClosePlaceEvent
    extends AbstractPlaceEvent
    Fired by the PlaceManager before the process of closing a place begins.
    • Constructor Detail

      • BeforeClosePlaceEvent

        @Deprecated
        public BeforeClosePlaceEvent​(org.uberfire.mvp.PlaceRequest place)
        Deprecated.
        Prior to UberFire 0.5, it was possible for an application to close a place by firing this event. This no longer works. Instead, use one of the PlaceManager.closeXXX methods.
        Applications should not fire this event, so there is no reason to create instances of this class!

        This constructor will be removed in UberFire 0.6.

      • BeforeClosePlaceEvent

        @Deprecated
        public BeforeClosePlaceEvent​(org.uberfire.mvp.PlaceRequest place,
                                     boolean force)
        Deprecated.
        Prior to UberFire 0.5, it was possible for an application to close a place by firing this event. This no longer works. Instead, use one of the PlaceManager.closeXXX methods.
        Applications should not fire this event, so there is no reason to create instances of this class!

        This constructor will be removed in UberFire 0.6.

      • BeforeClosePlaceEvent

        public BeforeClosePlaceEvent​(org.uberfire.mvp.PlaceRequest place,
                                     boolean force,
                                     boolean frameworkInternal)
        Internal workbench API. Don't use! If you want to close a place, use PlaceManager.closePlace(PlaceRequest).
        Parameters:
        place - The place that's about to be closed. Not null.
        force - Whether this will be a forced close operation.
        frameworkInternal - flag to differentiate from the deprecated/disabled constructors.