Tabnine Logo
AbstractEditor.addCloseWithCommitListener
Code IndexAdd Tabnine to your IDE (free)

How to use
addCloseWithCommitListener
method
in
com.haulmont.cuba.gui.components.AbstractEditor

Best Java code snippets using com.haulmont.cuba.gui.components.AbstractEditor.addCloseWithCommitListener (Showing top 1 results out of 315)

origin: de.diedavids.cuba.taggable/taggable-web

  public void createTag() {

    Tag newTag = metadata.create(Tag.class);

    openEditor("ddct$Tag.create", newTag, WindowManager.OpenType.DIALOG)
      .addCloseWithCommitListener(() -> {
      allTagsDs.refresh();
      taggableTagsDs.addItem(newTag);
    });
  }
}
com.haulmont.cuba.gui.componentsAbstractEditoraddCloseWithCommitListener

Popular methods of AbstractEditor

  • init
  • postInit
    Hook to be implemented in subclasses. Called by #setItem(com.haulmont.cuba.core.entity.Entity). At t
  • getItem
  • postCommit
    Hook to be implemented in subclasses. Called by the framework after committing datasources. The defa
  • preCommit
    Hook to be implemented in subclasses. Called by the framework when all validation is done and dataso
  • setItem
    Called by the framework to set an edited entity after creation of all components and datasources, an
  • addCloseListener
  • close
  • commit
    Commit changes with optional validation.Don't override this method in subclasses, use hooks #postVal
  • postValidate
  • validateAll
  • addAfterCloseListener
  • validateAll,
  • addAfterCloseListener,
  • addInitListener,
  • afterWindowApplyPostInit,
  • closeWithCommit,
  • commitAndClose,
  • commitInternal,
  • getBeanLocator,
  • getContext

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim plugins
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