From ccd7b87c8acc8f3b47aa792241d8be5acf0ee08b Mon Sep 17 00:00:00 2001 From: Pierre Laborde <49183340+labordep@users.noreply.github.com> Date: Sun, 3 Sep 2023 18:31:48 +0200 Subject: [PATCH 1/8] Check spreadsheet importing and return an error when not supported --- Gameye-Examples/GameyeExamples.class.st | 2 +- .../GameyeCollectionFactoryTest.class.st | 9 +++++ Gameye/GameyeCollectionFactory.class.st | 33 +++++++++++-------- Gameye/GameyeError.class.st | 5 +++ Gameye/GameyeInputDataUtils.class.st | 12 +++++-- Gameye/NotAFileGameyeError.class.st | 10 ++++++ ...pportedSpreadsheetFileGameyeError.class.st | 10 ++++++ 7 files changed, 64 insertions(+), 17 deletions(-) create mode 100644 Gameye/GameyeError.class.st create mode 100644 Gameye/NotAFileGameyeError.class.st create mode 100644 Gameye/NotSupportedSpreadsheetFileGameyeError.class.st diff --git a/Gameye-Examples/GameyeExamples.class.st b/Gameye-Examples/GameyeExamples.class.st index 7440124..6bb9d6f 100644 --- a/Gameye-Examples/GameyeExamples.class.st +++ b/Gameye-Examples/GameyeExamples.class.st @@ -6,7 +6,7 @@ Class { { #category : #'1 - load datas' } GameyeExamples class >> loadExportedSpreadsheet [ - "Open a file browser and load a .csv file exported with the application" + "Open a file browser and load a .csv file exported with the application, this example works with Gameye v4.x and v5.x"