public void onAddedStar(Star s) { mState = State.Default; setLeftButton(true, "add", DrifMaps.Words.Add()); setRightButton(false, "save", DrifMaps.Words.Save()); setStarButton(true, "star", DrifMaps.Words.Star()); mMapController.addStar(s); mMapController.onChangeCursor(null); }
private void resetButtons() { setLeftButton(true, "add", DrifMaps.Words.Add()); setRightButton(false, "cancel", DrifMaps.Words.Cancel()); setStarButton(true, "star", DrifMaps.Words.Star()); }