congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
MenuItemDescription.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
org.jbpm.form.builder.services.model.menu.MenuItemDescription

Best Java code snippets using org.jbpm.form.builder.services.model.menu.MenuItemDescription.getName (Showing top 2 results out of 315)

origin: org.jbpm/jbpm-form-services

protected void removeFromMap(String groupName, MenuItemDescription item, Map<String, List<MenuItemDescription>> items) {
  String group = groupName == null ? "Custom" : groupName;
  List<MenuItemDescription> customItems = items.get(group);
  if (customItems == null) {
    customItems = new ArrayList<MenuItemDescription>();
  }
  MenuItemDescription serverItem = null;
  for (MenuItemDescription subItem : customItems) {
    if (subItem.getName().equals(item.getName())) {
      serverItem = subItem;
      break;
    }
  }
  customItems.remove(serverItem);
  if (customItems.isEmpty()) {
    items.remove(group);
  } else {
    items.put(group, customItems);
  }
}
origin: org.jbpm/form-services

protected void removeFromMap(String groupName, MenuItemDescription item, Map<String, List<MenuItemDescription>> items) {
  String group = groupName == null ? "Custom" : groupName;
  List<MenuItemDescription> customItems = items.get(group);
  if (customItems == null) {
    customItems = new ArrayList<MenuItemDescription>();
  }
  MenuItemDescription serverItem = null;
  for (MenuItemDescription subItem : customItems) {
    if (subItem.getName().equals(item.getName())) {
      serverItem = subItem;
      break;
    }
  }
  customItems.remove(serverItem);
  if (customItems.isEmpty()) {
    items.remove(group);
  } else {
    items.put(group, customItems);
  }
}
org.jbpm.form.builder.services.model.menuMenuItemDescriptiongetName

Popular methods of MenuItemDescription

  • <init>
  • getDataMap
  • setAllowedEvents
  • setDataMap
  • setEffects
  • setIconUrl
  • setItemRepresentationMap
  • setName

Popular in Java

  • Creating JSON documents from java classes using gson
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JPanel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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