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

Unified Diff: samples/total/client/TotalLib.dart

Issue 10635015: Delete proxy and total samples, which have bit-rotted. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/total/client/Total.js ('k') | samples/total/client/UndoStack.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/total/client/TotalLib.dart
===================================================================
--- samples/total/client/TotalLib.dart (revision 9011)
+++ samples/total/client/TotalLib.dart (working copy)
@@ -1,81 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#library("TotalLib");
-#import("dart:html");
-
-#source("Cell.dart");
-#source("CellContents.dart");
-#source("CellLocation.dart");
-#source("CellRange.dart");
-#source("Chart.dart");
-#source("ClientChart.dart");
-#source("ColorPicker.dart");
-#source("Command.dart");
-#source("ContextMenu.dart");
-#source("ContextMenuBuilder.dart");
-#source("CopyPasteManager.dart");
-#source("CssStyles.dart");
-#source("CSVReader.dart");
-#source("DateTimeUtils.dart");
-#source("UndoableAction.dart");
-#source("DomUtils.dart");
-#source("Exceptions.dart");
-#source("Formats.dart");
-#source("Formula.dart");
-#source("Functions.dart");
-#source("GeneralCommand.dart");
-#source("HtmlTable.dart");
-#source("HtmlUtils.dart");
-#source("IdGenerator.dart");
-#source("IndexedValue.dart");
-#source("InnerMenuView.dart");
-#source("Parser.dart");
-#source("Picker.dart");
-#source("PopupHandler.dart");
-#source("Reader.dart");
-#source("RowCol.dart");
-#source("RowColStyle.dart");
-#source("Scanner.dart");
-#source("SelectionManager.dart");
-#source("ServerChart.dart");
-#source("Spreadsheet.dart");
-#source("SpreadsheetLayout.dart");
-#source("SpreadsheetListener.dart");
-#source("SpreadsheetPresenter.dart");
-#source("StringUtils.dart");
-#source("Style.dart");
-#source("SYLKReader.dart");
-#source("UndoStack.dart");
-#source("Value.dart");
-#source("ValuePicker.dart");
-#source("ZoomTracker.dart");
-
-class Total {
- static final int DEFAULT_VISIBLE_COLUMNS = 10;
- static final int DEFAULT_VISIBLE_ROWS = 25;
-
- Spreadsheet _spreadsheet;
- SpreadsheetPresenter _presenter;
-
- Total() {
- Element recalcButton = document.query("#recalcButton");
- recalcButton.innerHTML = "Recalculate";
- recalcButton.on.click.add((Event e) {
- _presenter.recalculateAll();
- });
- }
-
- void run() {
- _spreadsheet = new Spreadsheet();
- SYLKReader reader = new SYLKReader();
- reader.request("mortgage", (String data) {
- reader.loadFromString(_spreadsheet, data);
- _presenter = new SpreadsheetPresenter(_spreadsheet, window,
- 0, 0, DEFAULT_VISIBLE_ROWS, DEFAULT_VISIBLE_COLUMNS);
- _spreadsheet.setListener(_presenter);
- _presenter.recalculateViewport();
- });
- }
-}
« no previous file with comments | « samples/total/client/Total.js ('k') | samples/total/client/UndoStack.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698