Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: samples/simple_todo/java/TodoController.java

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samples/simple_todo/java/SnapshotRunner.java ('k') | samples/simple_todo/java/TodoView.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import fletch.*; 5 import dartino.*;
6 6
7 class TodoController { 7 class TodoController {
8 static void InteractWithService() { 8 static void InteractWithService() {
9 TodoService.Setup(); 9 TodoService.Setup();
10 10
11 TodoView view = new TodoView(); 11 TodoView view = new TodoView();
12 view.showMenu(); 12 view.showMenu();
13 boolean should_terminate = false; 13 boolean should_terminate = false;
14 do { 14 do {
15 String input = view.getInput(); 15 String input = view.getInput();
(...skipping 29 matching lines...) Expand all
45 break; 45 break;
46 default: 46 default:
47 view.showMenu(); 47 view.showMenu();
48 break; 48 break;
49 } 49 }
50 } while (!should_terminate); 50 } while (!should_terminate);
51 51
52 TodoService.TearDown(); 52 TodoService.TearDown();
53 } 53 }
54 } 54 }
OLDNEW
« no previous file with comments | « samples/simple_todo/java/SnapshotRunner.java ('k') | samples/simple_todo/java/TodoView.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698