snapInfo.getName() ) );
}
private Button getCopyButton(final String snapshotName,
final String packageName) {
final ModuleServiceAsync moduleService = GWT.create(ModuleService.class);
Button btn = new Button( Constants.INSTANCE.Copy() );
btn.addClickHandler( new ClickHandler() {
public void onClick(ClickEvent event) {
moduleService.listSnapshots( packageName,
createGenericCallback( snapshotName,
packageName,
moduleService ) );
}
} );