use of org.activityinfo.client.importer.ImporterWizard in project activityinfo by bedatadriven.
the class DataEntryPage method doImport.
protected void doImport() {
final int activityId = currentPlace.getFilter().getRestrictedCategory(DimensionType.Activity);
dispatcher.execute(new GetSchema(), new AsyncCallback<SchemaDTO>() {
@Override
public void onFailure(Throwable caught) {
// TODO Auto-generated method stub
}
@Override
public void onSuccess(SchemaDTO result) {
Wizard wizard = new ImporterWizard(dispatcher, result.getActivityById(activityId));
WizardDialog dialog = new WizardDialog(wizard);
dialog.show(new WizardCallback() {
});
}
});
}
Aggregations