Tabnine Logo
AttrGroup.getName
Code IndexAdd Tabnine 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)

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

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Reference (javax.naming)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Runner (org.openjdk.jmh.runner)
  • Top plugins for Android Studio
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