Tabnine Logo
PlaceManager.executeOnCloseCallbacks
Code IndexAdd Tabnine to your IDE (free)

How to use
executeOnCloseCallbacks
method
in
org.uberfire.client.mvp.PlaceManager

Best Java code snippets using org.uberfire.client.mvp.PlaceManager.executeOnCloseCallbacks (Showing top 4 results out of 315)

origin: kiegroup/appformer

/**
 * Tracks open/closed lifecycle. Subclasses should always call <tt>super.onClose()</tt> in methods that override
 * this one.
 */
@Override
public void onClose() {
  if (this.place == null) {
    throw new IllegalStateException("Activity " + this + " has not been started");
  }
  if (!open) {
    throw new IllegalStateException("Activity " + this + " not open");
  }
  open = false;
  placeManager.executeOnCloseCallbacks(this.place);
}
origin: kiegroup/appformer

@Override
public void onClose() {
  nativePlugin.onClose();
  placeManager.executeOnCloseCallbacks(place);
}
origin: org.uberfire/uberfire-workbench-client

@Test
public void onCloseShouldSucceedWhenActivityOpened() throws Exception {
  Activity a = getActivityUnderTest();
  a.onStartup(new DefaultPlaceRequest("testplace"));
  a.onOpen();
  a.onClose();
  verify(getPlaceManager()).executeOnCloseCallbacks(a.getPlace());
}
origin: kiegroup/appformer

@Test
public void onCloseShouldSucceedWhenActivityOpened() throws Exception {
  Activity a = getActivityUnderTest();
  a.onStartup(new DefaultPlaceRequest("testplace"));
  a.onOpen();
  a.onClose();
  verify(getPlaceManager()).executeOnCloseCallbacks(a.getPlace());
}
org.uberfire.client.mvpPlaceManagerexecuteOnCloseCallbacks

Popular methods of PlaceManager

  • goTo
  • closePlace
  • forceClosePlace
  • getStatus
  • tryClosePlace
  • closeAllPlaces
  • executeOnOpenCallbacks
  • getActivity
  • registerOnOpenCallback
  • forceCloseAllPlaces
  • getOnOpenCallbacks
  • getUncloseablePlaces
  • getOnOpenCallbacks,
  • getUncloseablePlaces,
  • registerOnCloseCallback,
  • canClosePlace,
  • getActiveSplashScreens,
  • getCurrentPlaceRequest,
  • getOnCloseCallbacks,
  • registerPerspectiveCloseChain

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now