@Override public void selectedProfileHighlightAdded(final String highlight) { okButton.setEnabled(model.isSaveAllowed()); highlightsModel.add(highlight); deleteHighlight.setEnabled(model.isSelectedProfileHighlightsValid()); editHighlight.setEnabled(model.isSelectedProfileHighlightsValid()); }
@Override public void profileAdded(final MutableProfile profile) { addNickname.setEnabled(model.isProfileListValid()); addHighlight.setEnabled(model.isProfileListValid()); okButton.setEnabled(model.isSaveAllowed()); profilesModel.add(profile); }
@Override public void selectedProfileNicknameAdded(final String nickname) { okButton.setEnabled(model.isSaveAllowed()); nicknamesModel.add(nickname); }