final SampleRepository sampleRepository, final DispatchAsync dispatcher, CoreGUIContext globalContext) {
super(eventBus, view, proxy);
this.dispatcher = dispatcher;
DialogRepository adhocRepo = new DialogRepository() {
@Override
public void getDialog(String name, AsyncCallback<Dialog> callback) {
callback.onSuccess(new DialogXML().unmarshall(getView().getText()));
}
};