Exemplo n.º 1
0
 @Override
 public void onAddAttribute() {
   VariableAttributeModalPresenter presenter = attributeModalProvider.get();
   presenter.setDialogMode(Mode.CREATE);
   presenter.initialize(table, variable);
 }
Exemplo n.º 2
0
 private void showEditCustomAttributes(List<JsArray<AttributeDto>> selectedItems) {
   VariableAttributeModalPresenter presenter = attributeModalProvider.get();
   presenter.setDialogMode(selectedItems.size() == 1 ? Mode.UPDATE_SINGLE : Mode.UPDATE_MULTIPLE);
   presenter.initialize(table, variable, selectedItems);
 }
Exemplo n.º 3
0
 @Override
 public void onDeleteCustomAttribute(List<VariableDto> selectedItems) {
   VariableAttributeModalPresenter presenter = attributeModalProvider.get();
   presenter.setDialogMode(BaseVariableAttributeModalPresenter.Mode.DELETE);
   presenter.initialize(table, selectedItems);
 }