Codota Logo
AttrGroup.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
de.micromata.genome.db.jpa.tabattr.api.AttrGroup

Best Java code snippets using de.micromata.genome.db.jpa.tabattr.api.AttrGroup.getName (Showing top 9 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: micromata/projectforge

@Override
public AttrGroup getAttrGroup(final EntityWithConfigurableAttr entity, final String groupName)
{
 if (attrSchemata == null) {
  loadAttrSchema();
 }
 final AttrSchema entitySchema = attrSchemata.get(entity.getAttrSchemaName());
 return entitySchema
   .getGroups()
   .stream()
   .filter(group -> group.getName().equals(groupName))
   .findFirst()
   .orElse(null);
}
origin: micromata/projectforge

 default void setAndOutputMarkupId(final Component component, final AttrGroup group, final AttrDescription desc)
 {
  component.setMarkupId(group.getName() + "-" + desc.getPropertyName()).setOutputMarkupId(true);
 }
}
origin: micromata/projectforge

private Button createDeleteButton()
{
 final Button deleteButton = new Button("deleteButton");
 deleteButton.add(new AjaxEventBehavior("click")
 {
  @Override
  protected void onEvent(AjaxRequestTarget target)
  {
   // open dialog only if an attr row is selected
   if (selectedAttrRowModel.getObject() != null) {
    deleteDialog.open(target);
   }
  }
 });
 deleteButton.setMarkupId(attrGroup.getName() + "-deleteButton").setOutputMarkupId(true);
 return deleteButton;
}
origin: micromata/projectforge

@Override
protected void init()
{
 super.init();
 // AttrPanels
 gridBuilder.newSplitPanel(GridSize.COL100, true); // set hasSubSplitPanel to true to remove borders from this split panel
 final DivPanel divPanel = gridBuilder.getPanel();
 final Function<AttrGroup, EmployeeConfigurationTimedDO> addNewEntryFunction = group -> employeeConfigurationService
   .addNewTimeAttributeRow(data, group.getName());
 attrSchemaService.createAttrPanels(divPanel, data, parentPage, addNewEntryFunction);
}
origin: micromata/projectforge

private Button createAddButton()
{
 final Button addButton = new Button("addButton");
 addButton.add(new AjaxEventBehavior("click")
 {
  @Override
  protected void onEvent(AjaxRequestTarget target)
  {
   if (!isDirty) {
    addAndSelectNewEntry();
    updateChoicesOfDateDropDown(false);
    container.addOrReplace(createContentWithDatepicker());
    target.add(container);
    // a new attr row must be dirty because it is new and must be saved
    isDirty = true;
   } else {
    // this indicates that the add button was clicked in onBeforeRender
    newSelectedAttrRow = null;
    saveChangesDialog.open(target);
   }
  }
 });
 addButton.setMarkupId(attrGroup.getName() + "-addButton").setOutputMarkupId(true);
 return addButton;
}
origin: micromata/projectforge

dropDown.setMarkupId(attrGroup.getName() + "-dateDropDown").setOutputMarkupId(true);
return dropDown;
origin: micromata/projectforge

private void createDatepicker(T attrRow, GridBuilder gridBuilder)
{
 final String startTimeLabel = getString(attrGroup.getI18nKeyStartTime());
 final FieldsetPanel dateFs = gridBuilder.newFieldset(startTimeLabel);
 final PropertyModel<Date> dateModel = new PropertyModel<>(attrRow, "startTime");
 final DatePanel dp = new DatePanel(dateFs.newChildId(), dateModel,
   DatePanelSettings.get().withTargetType(java.sql.Date.class));
 dp.setRequired(true);
 dp.add(this::validateDate);
 dateFs.add(dp);
 final DateTextField dateField = dp.getDateField();
 dateField.setMarkupId(attrGroup.getName() + "-startTime").setOutputMarkupId(true);
}
origin: micromata/projectforge

  .addNewTimeAttributeRow(data, group.getName());
attrSchemaService.createAttrPanels(tabPanel, data, parentPage, addNewEntryFunction);
origin: micromata/projectforge

final Function<AttrGroup, VisitorbookTimedDO> addNewEntryFunction = group -> visitorbookService.addNewTimeAttributeRow(data, group.getName());
attrSchemaService.createTimedAttrPanels(gridBuilder.getPanel(), data, parentPage, addNewEntryFunction);
de.micromata.genome.db.jpa.tabattr.apiAttrGroupgetName

Popular methods of AttrGroup

  • getDescriptions
  • getDayMonthGranularity
  • getI18nKey
  • getI18nKeyStartTime
  • getI18nKeySubmenu
  • getType

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getContentResolver (Context)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • BoxLayout (javax.swing)
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