protected void initValuesFormats() { CreateAction formatCreateAction = CreateAction.create(formatsTable, OpenType.DIALOG); formatCreateAction.setInitialValuesSupplier(() -> ParamsMap.of("report", getItem()) ); formatsTable.addAction(formatCreateAction); formatsTable.addAction(new RemoveAction(formatsTable, false)); formatsTable.addAction(new EditAction(formatsTable, OpenType.DIALOG)); }
parametersTable.addAction(new EditAction(parametersTable, OpenType.DIALOG));
EditAction groupEditAction = new EditAction(groupsTree); groupEditAction.setAfterCommitHandler(entity -> groupsTree.expandTree()