public MotorRawView(Model model, MotorId id) { this.model = model; this.id = id; horPanel = new HorPanel( true, 2, m1000, m100, m10, m1, pos, new Gap(4, 4), p1, p10, p100, p1000, new Gap(4, 4), stop, home, running); vertPanel = new VertPanel(error, new Gap(4, 4), horPanel); model.add(this); initWidget(vertPanel); }
@Override public void onSuccess(T result) { super.onSuccess(result); model.notifyViews(); }