Example usage for com.google.gwt.activity.shared Activity onStop

List of usage examples for com.google.gwt.activity.shared Activity onStop

Introduction

In this page you can find the example usage for com.google.gwt.activity.shared Activity onStop.

Prototype

void onStop();

Source Link

Document

Called when the Activity's widget has been removed from view.

Usage

From source file:org.drools.guvnor.client.common.content.multi.MultiActivityManager.java

License:Apache License

public void onClosePlace(@Observes ClosePlaceEvent closePlaceEvent) {
    final Activity activity = activeActivities.get(closePlaceEvent.getPlace());
    if (activity.mayStop() == null) {
        activity.onStop();
        activeActivities.remove(closePlaceEvent.getPlace());
        tabbedPanel.close(closePlaceEvent.getPlace());
    }/* www.  ja  va  2s . c  o m*/
}