public class BeforeClosePlaceEvent extends AbstractPlaceEvent
Constructor and Description |
---|
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.
|
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.
|
BeforeClosePlaceEvent(org.uberfire.mvp.PlaceRequest place,
boolean force,
boolean frameworkInternal)
Internal workbench API.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isForce()
Indicates whether or not the place is being closed forcibly.
|
String |
toString() |
getPlace
@Deprecated public BeforeClosePlaceEvent(org.uberfire.mvp.PlaceRequest place)
This constructor will be removed in UberFire 0.6.
@Deprecated public BeforeClosePlaceEvent(org.uberfire.mvp.PlaceRequest place, boolean force)
This constructor will be removed in UberFire 0.6.
public BeforeClosePlaceEvent(org.uberfire.mvp.PlaceRequest place, boolean force, boolean frameworkInternal)
PlaceManager.closePlace(PlaceRequest)
.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.public boolean isForce()
PlaceManager.forceClosePlace(PlaceRequest)
for details.Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.