@Override public void reset() { if (model.isVisible()) { view.show(); } else { view.hide(); } view.setShowErrorsMode(false); view.setDisabled(false); }
@Override public void reset() { readyToDraggableItem = null; consumedItem = null; view.setImageUrl(""); view.setDisabled(model.isDisabled()); if (model.isVisible()) { view.show(); } else { view.hide(); } }
protected void show() { if (view != null) { view.show(); isVisible = true; } }