public abstract class ControllerWithMenuThatSaves extends ControllerWithMenu
master
Modifier | Constructor and Description |
---|---|
protected |
ControllerWithMenuThatSaves(HelpPage helpPage) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
askSaveConfirmation() |
void |
onLogout()
Asks the user if he wants to save changes then logs out
|
void |
onShowAllGroceryLists()
Asks the user if he wants to save changes then shows all grocery lists
|
void |
onShowAllRecipes()
Asks the user if he wants to save changes then shows all the grocery lists
|
void |
onShowEditProfile()
Asks the user if he wants to save changes then shows the Edit Profile view
|
void |
onShowMap()
Asks the user if he wants to save changes then shows the map
|
onHelpViewStatusChanged, onShowHelp, setView
isHelpOpen
protected ControllerWithMenuThatSaves(HelpPage helpPage)
protected abstract void askSaveConfirmation()
public void onLogout()
onLogout
in class ControllerWithMenu
public void onShowMap()
onShowMap
in class ControllerWithMenu
public void onShowAllRecipes()
onShowAllRecipes
in class ControllerWithMenu
public void onShowEditProfile()
onShowEditProfile
in class ControllerWithMenu
public void onShowAllGroceryLists()
onShowAllGroceryLists
in class ControllerWithMenu