@Inject
public CoatStoreAdapter(final CoatStore delegate, final Dispatcher dispatcher) {
this.delegate = delegate;
dispatcher.register(CoatStore.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.PulloverStore.class, org.jboss.gwt.circuit.sample.wardrobe.stores.TrousersStore.class);
}