@Inject
public ShoesStoreAdapter(final ShoesStore delegate, final Dispatcher dispatcher) {
this.delegate = delegate;
dispatcher.register(ShoesStore.class, new StoreCallback() {
@Override
public Agreement voteFor(final Action action) {
if (action instanceof org.jboss.gwt.circuit.sample.wardrobe.actions.Dress) {
return new Agreement(true, org.jboss.gwt.circuit.sample.wardrobe.stores.SocksStore.class, org.jboss.gwt.circuit.sample.wardrobe.stores.TrousersStore.class);
}