List of usage examples for com.google.gwt.editor.client.adapters EditorSource EditorSource
EditorSource
From source file:com.tasktop.c2c.server.tasks.client.widgets.admin.products.ProjectAdminTasksEditView.java
License:Open Source License
private ProjectAdminTasksEditView() { createComponentsTable();// www . ja v a 2s. c o m createReleasesTable(); initWidget(ourUiBinder.createAndBindUi(this)); productName.setErrorMap(errorTable); componentsEditor = ListEditor.of(new EditorSource<ComponentEditor>() { @Override public ComponentEditor create(int index) { return new ComponentEditor(); } }); milestonesEditor = ListEditor.of(new EditorSource<MilestoneEditor>() { @Override public MilestoneEditor create(int index) { return new MilestoneEditor(); } }); driver.initialize(this); }