From 61e7d4b89dd3af6bb06916f5aa2e910d8709cdff Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 27 Jul 2015 06:10:58 +0200 Subject: [PATCH] Implement Bovender's exception handling. --- .../ExceptionHandler/ExceptionDetailView.xaml | 124 ++++++++++++++++++ .../ExceptionDetailView.xaml.cs | 33 +++++ .../ExceptionHandler/ExceptionView.xaml | 115 ++++++++++++++++ .../ExceptionHandler/ExceptionView.xaml.cs | 33 +++++ .../ExceptionHandler/ExceptionViewModel.cs | 92 +++++++++++++ .../SubmissionCompletedAction.cs | 50 +++++++ .../SubmissionFailureView.xaml | 46 +++++++ .../SubmissionFailureView.xaml.cs | 33 +++++ .../SubmissionProcessAction.cs | 34 +++++ .../SubmissionProcessView.xaml | 45 +++++++ .../SubmissionProcessView.xaml.cs | 45 +++++++ .../SubmissionSuccessView.xaml | 45 +++++++ .../SubmissionSuccessView.xaml.cs | 33 +++++ zaaReloaded2/Properties/Settings.Designer.cs | 19 +-- zaaReloaded2/Properties/Settings.settings | 9 +- zaaReloaded2/Ribbon.cs | 27 +++- zaaReloaded2/app.config | 14 +- zaaReloaded2/zaaReloaded2.csproj | 29 ++++ 18 files changed, 799 insertions(+), 27 deletions(-) create mode 100755 zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml create mode 100755 zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml.cs create mode 100755 zaaReloaded2/ExceptionHandler/ExceptionView.xaml create mode 100755 zaaReloaded2/ExceptionHandler/ExceptionView.xaml.cs create mode 100755 zaaReloaded2/ExceptionHandler/ExceptionViewModel.cs create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionCompletedAction.cs create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionFailureView.xaml create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionFailureView.xaml.cs create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionProcessAction.cs create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionProcessView.xaml create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionProcessView.xaml.cs create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionSuccessView.xaml create mode 100755 zaaReloaded2/ExceptionHandler/SubmissionSuccessView.xaml.cs diff --git a/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml b/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml new file mode 100755 index 0000000..88956db --- /dev/null +++ b/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml.cs b/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml.cs new file mode 100755 index 0000000..68ad7e7 --- /dev/null +++ b/zaaReloaded2/ExceptionHandler/ExceptionDetailView.xaml.cs @@ -0,0 +1,33 @@ +/* ExceptionDetailView.xaml.cs + * part of zaaReloaded2 + * + * Copyright 2015 Daniel Kraus + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +using System.Windows; + +namespace zaaReloaded2.ExceptionHandler +{ + /// + /// Interaction logic for ExceptionDetailView.xaml + /// + public partial class ExceptionDetailView : Window + { + public ExceptionDetailView() + { + InitializeComponent(); + } + } +} diff --git a/zaaReloaded2/ExceptionHandler/ExceptionView.xaml b/zaaReloaded2/ExceptionHandler/ExceptionView.xaml new file mode 100755 index 0000000..b61e024 --- /dev/null +++ b/zaaReloaded2/ExceptionHandler/ExceptionView.xaml @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +