package org.minimalj.example.minimalclinic.frontend;

import java.util.List;

import org.minimalj.backend.Backend;
import org.minimalj.example.minimalclinic.model.Vet;
import org.minimalj.frontend.Frontend.FormContent;
import org.minimalj.frontend.form.Form;
import org.minimalj.frontend.page.TablePage;
import org.minimalj.repository.query.By;

public class VetTablePage extends TablePage<Vet> {

	private static final Object[] keys = {Vet.$.person.getName(), Vet.$.specialties};
	
	public VetTablePage() {
		super(keys);
	}

	@Override
	protected FormContent getOverview() {
		Form<Object> header = new Form<>();
		header.text("Sali");
		return header.getContent();
	}

	@Override
	protected List<Vet> load() {
		return Backend.find(Vet.class, By.all());
	}

}

@@ -165,99 +165,8 @@
 et;%0A
-import org.minimalj.frontend.Frontend.FormContent;%0Aimport org.minimalj.frontend.form.Form;%0A
 impo
@@ -433,153 +433,8 @@
 %09%7D%0A%0A
-%09@Override%0A%09protected FormContent getOverview() %7B%0A%09%09Form%3CObject%3E header = new Form%3C%3E();%0A%09%09header.text(%22Sali%22);%0A%09%09return header.getContent();%0A%09%7D%0A%0A
 %09@Ov

remove dev code