main menu reorder

This commit is contained in:
Sergey Solovyev 2013-01-20 15:09:37 +04:00
parent 1fd8146b7e
commit b6778f7615

View File

@ -29,17 +29,10 @@ enum CalculatorMenu implements LabeledMenuItem<MenuItem> {
}
},
about(R.string.c_about) {
plotter(R.string.cpp_plotter) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
CalculatorActivityLauncher.showAbout(context);
}
},
help(R.string.c_help) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
CalculatorActivityLauncher.showHelp(context);
Locator.getInstance().getPlotter().plot();
}
},
@ -50,12 +43,19 @@ enum CalculatorMenu implements LabeledMenuItem<MenuItem> {
}
},
plotter(R.string.cpp_plotter) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
Locator.getInstance().getPlotter().plot();
}
},
help(R.string.c_help) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
CalculatorActivityLauncher.showHelp(context);
}
},
about(R.string.c_about) {
@Override
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
CalculatorActivityLauncher.showAbout(context);
}
},
exit(R.string.c_exit) {
@Override