Codota Logo
Feedback8
Code IndexAdd Codota to your IDE (free)

How to use
Feedback8
in
it.tidalwave.role.ui.spi

Best Java code snippets using it.tidalwave.role.ui.spi.Feedback8 (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: it.tidalwave.thesefoolishthings/it-tidalwave-util-java8supplement

@Nonnull
public static Feedback8 feedback()
 {
  return new Feedback8(Callback.EMPTY, Callback.EMPTY);
 }
origin: it.tidalwave.steelblue/it-tidalwave-steelblue-example-backend

/*******************************************************************************************************************
 *
 ******************************************************************************************************************/
private void onButtonDialogOkCancelPressed()
 {
  presentation.notify(notificationWithFeedback()
      .withCaption("Notification")
      .withText("Now press the button")
      .withFeedback(feedback().withOnConfirm(() -> presentation.notify("Pressed ok"))
                  .withOnCancel(() -> presentation.notify("Pressed cancel"))));
 }
origin: it.tidalwave.steelblue/it-tidalwave-steelblue-example-backend

/*******************************************************************************************************************
 *
 ******************************************************************************************************************/
private void onButtonDialogOkPressed()
 {
  presentation.notify(notificationWithFeedback()
      .withCaption("Notification")
      .withText("Now press the button")
      .withFeedback(feedback().withOnConfirm(() -> presentation.notify("Pressed ok"))));
 }
origin: it.tidalwave.steelblue/it-tidalwave-steelblue-example-backend

/*******************************************************************************************************************
 *
 * This method demonstrates how to pick a directory name by using the proper UI dialog.
 *
 ******************************************************************************************************************/
private void onButtonPickDirectoryPressed()
 {
  final BoundProperty<Path> selectedFolder = new BoundProperty<>(USER_HOME);
  presentation.pickDirectory(selectedFolder,
    notificationWithFeedback()
      .withCaption("Pick a directory")
      .withFeedback(feedback().withOnConfirm(() -> presentation.notify("Selected folder: " + selectedFolder.get()))
                  .withOnCancel(() -> presentation.notify("Selection cancelled"))));
 }
origin: it.tidalwave.northernwind.rca/it-tidalwave-northernwind-rca-ui-site-opener

private void askForOpeningSite()
 throws IOException
 {
  presentation.notifyInvitationToSelectAFolder(notificationWithFeedback()
    .withCaption("Select the site to open")
    .withFeedback(feedback()
           .withOnConfirm(() -> messageBus.publish(OpenSiteEvent.of(bindings.folderToOpen.get())))));
 }
origin: it.tidalwave.steelblue/it-tidalwave-steelblue-example-backend

/*******************************************************************************************************************
 *
 * This method demonstrates how to pick a file name by using the proper UI dialog.
 *
 ******************************************************************************************************************/
private void onButtonPickFilePressed()
 {
  final BoundProperty<Path> selectedFile = new BoundProperty<>(USER_HOME);
  presentation.pickFile(selectedFile,
    notificationWithFeedback()
      .withCaption("Pick a file")
      .withFeedback(feedback().withOnConfirm(() -> presentation.notify("Selected file: " + selectedFile.get()))
                  .withOnCancel(() -> presentation.notify("Selection cancelled"))));
 }
it.tidalwave.role.ui.spiFeedback8

Javadoc

A Java 8 extension of Feedback that supports lambda syntax.

Most used methods

  • feedback
  • withOnConfirm
  • <init>
  • withOnCancel

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now