# HG changeset patch
# User Matthieu Totet
# Date 1258554631 -3600
# Node ID 249d70e7b32dbb62edc0b8d33d03ab6694e3c38f
Create Directories & Project
diff -r 000000000000 -r 249d70e7b32d .hgignore
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,5 @@
+glob:Bin/*
+glob:Debug/*
+glob:*.user
+glob:*.sln.cache
+glob:*.suo
diff -r 000000000000 -r 249d70e7b32d client/res/bin/stayHere
diff -r 000000000000 -r 249d70e7b32d client/res/img/stayHere
diff -r 000000000000 -r 249d70e7b32d client/res/lib/Berico.Windows.Controls.dll
Binary file client/res/lib/Berico.Windows.Controls.dll has changed
diff -r 000000000000 -r 249d70e7b32d client/res/lib/HackingSilverlightLibrary.dll
Binary file client/res/lib/HackingSilverlightLibrary.dll has changed
diff -r 000000000000 -r 249d70e7b32d client/res/lib/SLExtensions.dll
Binary file client/res/lib/SLExtensions.dll has changed
diff -r 000000000000 -r 249d70e7b32d client/res/lib/System.Windows.Controls.Layout.Toolkit.dll
Binary file client/res/lib/System.Windows.Controls.Layout.Toolkit.dll has changed
diff -r 000000000000 -r 249d70e7b32d client/res/lib/System.Windows.Controls.Toolkit.dll
Binary file client/res/lib/System.Windows.Controls.Toolkit.dll has changed
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,485 @@
+using SLExtensions.Input;
+
+namespace Iri.Modernisation.BaseMVVM.Commands
+{
+ ///
+ /// Commandes
+ ///
+ public static class Commands
+ {
+ ///
+ /// Horloge Interne, Principalement pour syncroniser la position d'une video avec sa barre de défilement
+ ///
+ public static System.Windows.Threading.DispatcherTimer VideoPositionTimer = new System.Windows.Threading.DispatcherTimer();
+
+ ///
+ /// Commandes relatives au ConsultMenu
+ ///
+ public static class ConsultMenu
+ {
+ static ConsultMenu()
+ {
+ GetBook = new Command("GetBook");
+ ClickBook = new Command("ClickBook");
+ }
+ public static Command GetBook
+ {
+ get;
+ private set;
+ }
+ public static Command ClickBook
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+
+ }
+
+ }
+
+ ///
+ /// Commandes relatives au PersonnalChutier
+ ///
+ public static class PersonnalChutier
+ {
+ static PersonnalChutier()
+ {
+ //PersonnalChutier
+ Search = new Command("Search");
+ ClickAnnotation = new Command("ClickAnnotation");
+ }
+ public static Command Search
+ {
+ get;
+ private set;
+ }
+ public static Command ClickAnnotation
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+
+ }
+ }
+
+ ///
+ /// Commandes relatives au ReferencesChutier
+ ///
+ public static class ReferencesChutier
+ {
+ static ReferencesChutier()
+ {
+ //PersonnalChutier
+ Search = new Command("iSearch");
+ ClickAnnotation = new Command("iClickAnnotation");
+ }
+ public static Command Search
+ {
+ get;
+ private set;
+ }
+ public static Command ClickAnnotation
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+
+ }
+ }
+
+ ///
+ /// Commandes relatives au AnnotationMaker
+ ///
+ public static class AnnotationMaker
+ {
+ static AnnotationMaker()
+ {
+ OkClick = new Command("OkClick");
+ Play = new Command("Play");
+ Pause = new Command("Pause");
+ LeftTrim = new Command("LeftTrim");
+ RightTrim = new Command("RightTrim");
+ }
+ public static Command OkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Play
+ {
+ get;
+ private set;
+ }
+ public static Command Pause
+ {
+ get;
+ private set;
+ }
+ public static Command LeftTrim
+ {
+ get;
+ private set;
+ }
+ public static Command RightTrim
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+ }
+
+
+ }
+
+ ///
+ /// Commandes relatives au ClickMenu
+ ///
+ public static class ClickMenu
+ {
+ static ClickMenu()
+ {
+ ActionReleased = new Command("ActionReleased");
+ CreateNewTextualAnnotation = new Command("CreateNewTextualAnnotation");
+ }
+ static public Command CreateNewTextualAnnotation
+ {
+ get;
+ private set;
+ }
+
+ static public Command ActionReleased
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Commandes relatives au HeaderControl
+ ///
+ public static class HeaderControl
+ {
+ static HeaderControl()
+ {
+ ButtonClick = new Command("ButtonClick");
+ }
+
+ static public Command ButtonClick
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+
+ }
+
+ }
+
+ ///
+ /// Commandes relatives au PolemicElement
+ ///
+ public static class PolemicElement
+ {
+ static PolemicElement()
+ {
+ ElementSelected = new Command("ElementSelected");
+ SelectPolemicElement = new Command("SelectPolemicElement");
+ }
+ public static Command ElementSelected
+ {
+ get;
+ private set;
+ }
+ public static Command SelectPolemicElement
+ {
+ get;
+ private set;
+ }
+
+ public static void Initialize()
+ {
+ }
+
+ }
+
+ ///
+ /// Commandes relatives au ConsultationBookView
+ ///
+ public static class ConsultationBookView
+ {
+ static ConsultationBookView()
+ {
+
+ }
+
+ public static Command Action
+ {
+ get;
+ private set;
+ }
+
+ }
+
+ ///
+ /// Commandes relatives au ContextualBinderLayer
+ ///
+ public static class ContextualBinderLayer
+ {
+ static ContextualBinderLayer()
+ {
+ BeginBind = new Command("BeginBind");
+ EndBind = new Command("EndBind");
+ ActiveBind = new Command("InBind");
+ DesactiveBind = new Command("ActiveBind");
+ SelectBind = new Command("SelectBind");
+ UnSelectBind = new Command("UnSelectBind");
+ }
+ public static Command SelectBind
+ {
+ get;
+ private set;
+ }
+ public static Command UnSelectBind
+ {
+ get;
+ private set;
+ }
+ public static Command ActiveBind
+ {
+ get;
+ private set;
+ }
+ public static Command DesactiveBind
+ {
+ get;
+ private set;
+ }
+ public static Command BeginBind
+ {
+ get;
+ private set;
+ }
+
+ public static Command EndBind
+ {
+ get;
+ private set;
+ }
+ public static void Initialize()
+ {
+ }
+ }
+
+ ///
+ /// Commandes relatives au HeaderProduction
+ ///
+ public static class HeaderProduction
+ {
+ static HeaderProduction()
+ {
+ Chap01EditingOkClick = new Command("Chap01EditingOkClick");
+ Chap01IndexingOkClick = new Command("Chap01IndexingOkClick");
+
+ Chap02EditingOkClick = new Command("Chap02EditingOkClick");
+ Chap02IndexingOkClick = new Command("Chap02IndexingOkClick");
+
+ Chap03EditingOkClick = new Command("Chap03EditingOkClick");
+ Chap03IndexingOkClick = new Command("Chap03IndexingOkClick");
+
+ Chap04EditingOkClick = new Command("Chap04EditingOkClick");
+ Chap04IndexingOkClick = new Command("Chap04IndexingOkClick");
+
+ PublishClick = new Command("PublishClick");
+ SaveClick = new Command("SaveClick");
+
+ }
+ public static Command Chap01EditingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap01IndexingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap02EditingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap02IndexingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap03EditingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap03IndexingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap04EditingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command Chap04IndexingOkClick
+ {
+ get;
+ private set;
+ }
+ public static Command PublishClick
+ {
+ get;
+ private set;
+ }
+ public static Command SaveClick
+ {
+ get;
+ private set;
+ }
+ static public void Initialize()
+ {}
+ }
+
+ ///
+ /// Commandes relatives au ProductionTimeLine
+ ///
+ public static class ProductionTimeLine
+ {
+ static ProductionTimeLine()
+ {
+ }
+
+ static public void Initialize()
+ { }
+ }
+
+ ///
+ /// Commandes relatives au VideoViewer
+ ///
+ public static class VideoViewer
+ {
+ static VideoViewer()
+ {
+ Play = new Command("PlayVideo");
+ Pause = new Command("PauseVideo");
+ Next = new Command("NextVideo");
+ Previous = new Command("PreviousVideo");
+ Record = new Command("RecordVideo");
+ Close = new Command("CloseVideo");
+ SendPosition = new Command("SendPosition");
+ }
+ public static Command SendPosition
+ {
+ get;
+ private set;
+ }
+ public static Command Play
+ {
+ get;
+ private set;
+ }
+ public static Command Pause
+ {
+ get;
+ private set;
+ }
+ public static Command Next
+ {
+ get;
+ private set;
+ }
+ public static Command Previous
+ {
+ get;
+ private set;
+ }
+ public static Command Record
+ {
+ get;
+ private set;
+ }
+ public static Command Close
+ {
+ get;
+ private set;
+ }
+
+ static public void Initialize()
+ {
+
+ }
+ }
+
+ ///
+ /// Constructeur
+ ///
+ static Commands()
+ {
+ Action = new Command("Action");
+ TimeChange = new Command("TimeChange");
+ FlipView = new Command("FlipView");
+ GoToTime = new Command("GoToTime");
+ VideoPositionTimer.Interval = new System.TimeSpan(0, 0,0,0,1000);
+ // VideoPositionTimer.Tick += new EventHandler(Each_Tick);
+
+
+ }
+ public static Command Action
+ {
+ get;
+ private set;
+ }
+
+ public static Command FlipView
+ {
+ get;
+ private set;
+ }
+
+
+ public static Command TimeChange
+ {
+ get;
+ private set;
+ }
+
+ public static Command GoToTime
+ {
+ get;
+ private set;
+ }
+
+
+ ///
+ /// Ensure static fields are initialized
+ ///
+ public static void Initialize()
+ {
+ ConsultMenu.Initialize();
+ ReferencesChutier.Initialize();
+ PersonnalChutier.Initialize();
+ AnnotationMaker.Initialize();
+ HeaderControl.Initialize();
+ PolemicElement.Initialize();
+ ContextualBinderLayer.Initialize();
+ HeaderProduction.Initialize();
+ ProductionTimeLine.Initialize();
+ VideoViewer.Initialize();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.BaseMVVM/Iri.Modernisation.BaseMVVM.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.BaseMVVM/Iri.Modernisation.BaseMVVM.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,72 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation.BaseMVVM
+ Iri.Modernisation.BaseMVVM
+ v3.5
+ false
+ true
+ true
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+ False
+ ..\..\res\lib\SLExtensions.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.BaseMVVM/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.BaseMVVM/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation.BaseMVVM")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Institut de recherche et d'innovation")]
+[assembly: AssemblyProduct("Iri.Modernisation.BaseMVVM")]
+[assembly: AssemblyCopyright("Copyright © Institut de recherche et d'innovation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("b531289d-6da7-4c96-94c4-e470e2f69c99")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.BaseMVVM/ViewModel/ViewModel.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.BaseMVVM/ViewModel/ViewModel.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,23 @@
+using System.ComponentModel;
+
+namespace Iri.Modernisation.BaseMVVM.ViewModel
+{
+ ///
+ /// Base class for all view models
+ ///
+ public abstract class ViewModel : INotifyPropertyChanged
+ {
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+
+ protected virtual void OnPropertyChanged(string propertyName)
+ {
+ if (PropertyChanged != null)
+ {
+ PropertyChangedEventArgs _temp = new PropertyChangedEventArgs(propertyName);
+ PropertyChanged(this,_temp);
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Converter/BoolToVisibility.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Converter/BoolToVisibility.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,36 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Data;
+namespace Iri.Modernisation.Controls.Converter
+{
+ public class BoolToVisibility : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ if ((bool)value)
+ {
+ return Visibility.Visible;
+ }
+ else
+ {
+ return Visibility.Collapsed;
+ }
+
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+
+ throw new NotImplementedException();
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Converter/PolemicTypeColorConverter.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Converter/PolemicTypeColorConverter.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,56 @@
+using System;
+using System.Net;
+using System.Windows.Data;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.Converter
+{
+ public class PolemicTypeColorConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ return Convert((PolemicElementType)value);
+
+ }
+ public static Brush Convert(PolemicElementType value)
+ {
+ PolemicElementType dt = (PolemicElementType)value;
+ SolidColorBrush returnBrush;
+ switch (dt)
+ {
+ case PolemicElementType.Basic:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 255, G = 255, B = 255 });
+ break;
+ case PolemicElementType.Polemic:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 255, G = 0, B = 0 });
+ break;
+ case PolemicElementType.Adhesion:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 0, G = 255, B = 0 });
+ break;
+ case PolemicElementType.Reference:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 0, G = 0, B = 255 });
+ break;
+ case PolemicElementType.Question:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 255, G = 255, B = 0 });
+ break;
+ default:
+ returnBrush = new SolidColorBrush(new Color() { A = 255, R = 255, G = 255, B = 255 });
+ break;
+ }
+ return returnBrush;
+ }
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+
+ throw new NotImplementedException();
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Converter/TagArrayConverter.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Converter/TagArrayConverter.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,34 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Data;
+using System.Collections.Generic;
+using System.Linq;
+namespace Iri.Modernisation.Controls.Converter
+{
+ public class TagArrayConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+ List dt = (List)value;
+ return String.Join(",", dt.ToArray());
+ }
+
+
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+
+ String temp = (String)value;
+ return temp.Split(',').ToList();
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Iri.Modernisation.Controls.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Iri.Modernisation.Controls.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,309 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {A54E46A6-2438-46A4-8253-9B868F529052}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation.Controls
+ Iri.Modernisation.Controls
+ v3.5
+ false
+ true
+ true
+ 3.0.1927.0
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+ False
+ ..\..\res\lib\Berico.Windows.Controls.dll
+
+
+ False
+ ..\..\res\lib\SLExtensions.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ True
+ True
+ InstructionTextRessource.resx
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AnnotationMaker.xaml
+
+
+ BookTimeLine.xaml
+
+
+ ClickMenu.xaml
+
+
+ ClickMenuItem.xaml
+
+
+ ClickMenuPanelAnnoter.xaml
+
+
+ ClickMenuPanelContextualiser.xaml
+
+
+ ClickMenuLayer.xaml
+
+
+ ClickMenuIcon_TextAnnotation.xaml
+
+
+ AnnotationViewer.xaml
+
+
+ ConsultationBookView.xaml
+
+
+ ConsultationView.xaml
+
+
+ ContextualBinderLayer.xaml
+
+
+ ButtonHeaderControl.xaml
+
+
+ HeaderProduction.xaml
+
+
+ ConsultMenu.xaml
+
+
+ ContextualLinkBinder.xaml
+
+
+ HeaderControl.xaml
+
+
+
+ NavigationBar.xaml
+
+
+ PersonnalChutier.xaml
+
+
+ PolemicElement.xaml
+
+
+ ProductionMenu.xaml
+
+
+ ReferencesChutier.xaml
+
+
+ CustomableVideoElement.xaml
+
+
+ ProductionTimeLine.xaml
+
+
+ ProductionView.xaml
+
+
+ VideoViewer.xaml
+
+
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ Designer
+ MSBuild:MarkupCompilePass1
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+
+
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}
+ Iri.Modernisation.BaseMVVM
+
+
+ {05794257-7163-48E0-B48A-B6666128AC1F}
+ Iri.Modernisation.Data
+
+
+
+
+ ResXFileCodeGenerator
+ InstructionTextRessource.Designer.cs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation.Controls")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Centre Georges Pompidou")]
+[assembly: AssemblyProduct("Iri.Modernisation.Controls")]
+[assembly: AssemblyCopyright("Copyright © Centre Georges Pompidou 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("fc45cca8-4766-4b2e-9c4a-0cb1cf893a5c")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Resources/HeaderProduction/InstructionTextRessource.Designer.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Resources/HeaderProduction/InstructionTextRessource.Designer.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:2.0.50727.3082
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace Iri.Modernisation.Controls.Resources.HeaderProduction {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class InstructionTextRessource {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal InstructionTextRessource() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Iri.Modernisation.Controls.Resources.HeaderProduction.InstructionTextRessource", typeof(InstructionTextRessource).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Blablabla.
+ ///
+ internal static string Introduction {
+ get {
+ return ResourceManager.GetString("Introduction", resourceCulture);
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/Resources/HeaderProduction/InstructionTextRessource.resx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/Resources/HeaderProduction/InstructionTextRessource.resx Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Blablabla
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,26 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class AnnotationMaker : UserControl
+ {
+ public AnnotationMaker()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ RectPolemic.Resources.Add("PolemicType", PolemicElementType.Polemic);
+ RectAdhesion.Resources.Add("PolemicType", PolemicElementType.Adhesion);
+ RectQuestion.Resources.Add("PolemicType", PolemicElementType.Question);
+ RectReferences.Resources.Add("PolemicType", PolemicElementType.Reference);
+
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/BookTimeLine/BookTimeLine.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/BookTimeLine/BookTimeLine.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/BookTimeLine/BookTimeLine.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/BookTimeLine/BookTimeLine.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,76 @@
+using System;
+using System.Windows.Data;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.Controls.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class BookTimeLine : UserControl
+ {
+ public BookTimeLine()
+ {
+ InitializeComponent();
+
+ TimeStripsPanel.SizeChanged += new SizeChangedEventHandler(TimeStripsPanel_SizeChanged);
+ BookTimeLineSlider.MouseLeftButtonUp += Commands.TimeChange.Execute;
+ }
+
+ void TimeStripsPanel_SizeChanged(object sender, SizeChangedEventArgs e)
+ {
+ Draw();
+ }
+
+
+ public void Draw()
+ {
+ BookTimeLineVM VM = (BookTimeLineVM)DataContext;
+ BookTimeLineElementPanel.Children.Clear();
+ foreach (List LIndex in VM.SegmentIndex)
+ {
+ foreach (SegmentIndex Index in LIndex)
+ {
+
+ PolemicElementControl pol = new PolemicElementControl();
+
+ pol.SetValue(Canvas.ZIndexProperty, 10);
+ pol.DataContext = new PolemicElementVM(Index);
+ BookTimeLineElementPanel.Children.Add(pol);
+ Canvas.SetLeft(pol, (Index.TimerIn.TotalMilliseconds * ScaleTimeLine.Value) / VM.TotalDuration);
+ pol.Width = (Index.Duration.TotalMilliseconds * ScaleTimeLine.Value) / VM.TotalDuration;
+ }
+ }
+ int basi = 30;
+ foreach (List LAnnotation in VM.Annotations)
+ {
+ foreach (Annotation Annotation in LAnnotation)
+ {
+ PolemicElementControl pol = new PolemicElementControl();
+ pol.SetValue(Canvas.ZIndexProperty, 10);
+ pol.DataContext = new PolemicElementVM(Annotation);
+ BookTimeLineElementPanel.Children.Add(pol);
+ Canvas.SetLeft(pol, (Annotation.TimerIn.TotalMilliseconds * ScaleTimeLine.Value) / VM.TotalDuration);
+ Canvas.SetTop(pol, basi);
+ basi += 10;
+ pol.Width = (Annotation.Duration.TotalMilliseconds * ScaleTimeLine.Value) / VM.TotalDuration;
+ }
+ }
+ BookTimeLineElementPanel.UpdateLayout();
+ }
+
+
+
+
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,90 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenu : UserControl
+ {
+
+
+ public PolemicElement SelectedElement
+ {
+ get { return (PolemicElement)GetValue(SelectedElementProperty); }
+ set { SetValue(SelectedElementProperty, value); }
+ }
+
+ // Using a DependencyProperty as the backing store for SelectedElement. This enables animation, styling, binding, etc...
+ public static readonly DependencyProperty SelectedElementProperty =
+ DependencyProperty.Register("SelectedElement", typeof(Iri.Modernisation.Data.Models.PolemicElement), typeof(ClickMenu), null);
+
+
+ public ClickMenu()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ /*Animation*/
+ Commands.PolemicElement.ElementSelected.Executed += new EventHandler(MenuClick_Executed);
+ _annoterPanel.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _contextualiserPanel.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _localiserItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _copierItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _chutierItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+
+ /*Action*/
+ Commands.Action.Executed += new EventHandler(Action_Executed);
+ _localiserItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _copierItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _chutierItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _contextualiserPanel._adhesionItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _contextualiserPanel._polemicItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _contextualiserPanel._questionItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _contextualiserPanel._referenceItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _annoterPanel._videoItem.ClickMenuItemSelected += Commands.Action.Execute;
+ _annoterPanel._textItem.ClickMenuItemSelected += Commands.ClickMenu.CreateNewTextualAnnotation.Execute;
+
+ }
+
+ void Action_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ MessageBox.Show("Action - Command:"+((ClickMenuItem)e.Parameter).Title);
+ }
+
+ void ClickMenuItemSelected(object sender, ClickMenuItemSelectedEventArgs e)
+ {
+ MessageBox.Show("Action");
+ }
+
+
+
+
+
+ void MenuClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ Visibility = Visibility.Visible;
+ SelectedElement = (PolemicElement)e.Source;
+ textBlock.Text = ((PolemicElement)e.Source).Title;
+ }
+
+ void Item_ClickMenuItemHooverSelected(object sender, ClickMenuItemHooverEventArgs e)
+ {
+ ClickMenuItem temp = (ClickMenuItem)sender;
+ textBlock.Text = " > "+temp.Title;
+ }
+
+ private void LayoutRoot_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
+ {
+ Visibility = Visibility.Collapsed;
+
+ }
+
+
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuItem.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuItem.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuItem.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuItem.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,72 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenuItem : ContentControl
+
+ {
+ /*
+ public ImageSource ImageSource {
+ get { return imgItem.Source; }
+ set { imgItem.Source = value; }
+ }
+ */
+
+
+ public String Title { get; set; }
+
+ public event EventHandler ClickMenuItemHooverSelected;
+ public event EventHandler ClickMenuItemSelected;
+ public ClickMenuItem()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+
+ private void MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
+ {
+ OnEnter();
+
+ }
+
+ private void OnEnter()
+ {
+ if (ClickMenuItemHooverSelected != null)
+ {
+ this.ClickMenuItemHooverSelected(this, new ClickMenuItemHooverEventArgs());
+ }
+ }
+
+
+
+ private void UserControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ if (ClickMenuItemSelected != null)
+ {
+ this.ClickMenuItemSelected(this, new ClickMenuItemSelectedEventArgs());
+ }
+ }
+
+ }
+ public class ClickMenuItemSelectedEventArgs : EventArgs
+ {
+ }
+ public class ClickMenuItemHooverEventArgs : EventArgs
+ {
+
+ public ClickMenuItemHooverEventArgs()
+ {
+
+ }
+
+
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuLayer.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuLayer.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuLayer.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuLayer.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,45 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenuLayer: UserControl
+ {
+ public ClickMenuLayer()
+ {
+ Commands.Initialize();
+ InitializeComponent();
+ ClickMenu.DataContext = new ClickMenuVM();
+ Commands.PolemicElement.ElementSelected.Executed += new EventHandler(MenuClick_Executed);
+
+
+ }
+
+ void MenuClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+
+ this.ClickMenu.Margin = new Thickness(
+ ((MouseButtonEventArgs) e.Parameter).GetPosition(this).X - 40,
+ ((MouseButtonEventArgs) e.Parameter).GetPosition(this).Y - 40,
+ ClickMenu.Margin.Right,
+ ClickMenu.Margin.Bottom);
+ }
+
+
+
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelAnnoter.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelAnnoter.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelAnnoter.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelAnnoter.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,40 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenuPanelAnnoter : UserControl
+ {
+ public event EventHandler ClickMenuItemHooverSelected;
+ public ClickMenuPanelAnnoter()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ _annoterItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _textItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _videoItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ }
+
+ void Item_ClickMenuItemHooverSelected(object sender, ClickMenuItemHooverEventArgs e)
+ {
+ ClickMenuItemHooverSelected(sender, e);
+ }
+ private void Grid_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
+ {
+ Hidden.Visibility = Visibility.Visible;
+ }
+
+ private void Grid_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
+ {
+
+ Hidden.Visibility = Visibility.Collapsed;
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelContextualiser.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelContextualiser.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelContextualiser.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenuPanelContextualiser.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,43 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenuPanelContextualiser : UserControl
+ {
+ public event EventHandler ClickMenuItemHooverSelected;
+ public ClickMenuPanelContextualiser()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ _contextualiserItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _referenceItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _questionItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _polemicItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ _adhesionItem.ClickMenuItemHooverSelected += new EventHandler(Item_ClickMenuItemHooverSelected);
+ }
+
+ void Item_ClickMenuItemHooverSelected(object sender, ClickMenuItemHooverEventArgs e)
+ {
+ ClickMenuItemHooverSelected(sender, e);
+ }
+ private void Grid_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
+ {
+ Hidden.Visibility = Visibility.Visible;
+ //Rect2.Visibility = Visibility.Collapsed ;// TODO: Add event handler implementation here.
+ }
+
+ private void Grid_MouseLeave(object sender, System.Windows.Input.MouseEventArgs e)
+ {
+
+ Hidden.Visibility = Visibility.Collapsed;
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/ClickMenuIcon_TextAnnotation.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/ClickMenuIcon_TextAnnotation.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/ClickMenuIcon_TextAnnotation.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/ClickMenuIcon_TextAnnotation.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,21 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ClickMenuIcon_TextAnnotation : UserControl
+ {
+ public ClickMenuIcon_TextAnnotation()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/home.png
Binary file client/src/Iri.Modernisation.Controls/View/ClickMenu/icons/home.png has changed
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationBookView/AnnotationViewer.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,46 @@
+using System;
+using System.Windows.Data;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class AnnotationViewer : MenuableUserControl
+ {
+ public AnnotationViewer()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+ }
+ public class ArrayToString : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+
+ try
+ {
+ return String.Join(",", ((List)value).ToArray());
+ }
+ catch
+ {
+ return String.Empty;
+ }
+
+
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
+ {
+
+ throw new NotImplementedException();
+
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationBookView/ConsultationBookView.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationBookView/ConsultationBookView.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationBookView/ConsultationBookView.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationBookView/ConsultationBookView.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Controls.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ConsultationBookView : UserControl
+ {
+ public ConsultationBookView()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ // VideoViewer.DataContext = new VideoViewerVM();
+ Commands.TimeChange.Executed += new EventHandler(TimeChange_Executed);
+ }
+
+ void TimeChange_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ // VideoViewer.ChangePosition((TimeSpan)e.Parameter);
+ }
+ }
+
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationView/ConsultationView.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationView/ConsultationView.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,234 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ConsultationView/ConsultationView.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ConsultationView/ConsultationView.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ConsultationView : UserControl
+ {
+ public ConsultationView()
+ {
+ InitializeComponent();
+ //ConsultationBookViewElement.DataContext = new ConsultationBookViewVM();
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,9 @@
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ContextualBinderLayer/ContextualBinderLayer.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,107 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Threading;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Controls.Converter;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ContextualBinderLayer : UserControl
+ {
+ private ContextualLinkBinder _movingBinder;
+ private Line _linkLine;
+ private bool _active = false;
+ private System.Windows.Threading.DispatcherTimer myDispatcherTimer;
+ public ContextualBinderLayer()
+ {
+ InitializeComponent();
+ Commands.ContextualBinderLayer.EndBind.Executed += new EventHandler(EndBind_Executed);
+ MouseLeftButtonUp += new MouseButtonEventHandler(ContextualBinderLayer_MouseLeftButtonUp);
+ MouseMove += new MouseEventHandler(ContextualBinderLayer_MouseMove);
+ Commands.ContextualBinderLayer.BeginBind.Executed += new EventHandler(BeginBind_Executed);
+ myDispatcherTimer = new System.Windows.Threading.DispatcherTimer();
+ myDispatcherTimer.Interval = new TimeSpan(0, 0, 0, 0, 0);
+ myDispatcherTimer.Tick +=new EventHandler(myDispatcherTimer_Tick);
+ }
+
+ void myDispatcherTimer_Tick(object sender, EventArgs e)
+ {
+ LayoutRoot.Background = PolemicTypeColorConverter.Convert(_movingBinder.PolemicType);
+ LayoutRoot.Background.Opacity = 0.0;
+ _movingBinder.Visibility = Visibility.Visible;
+ _linkLine.Visibility = Visibility.Visible;
+ }
+ void EndBind_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ if (_active)
+ {
+ FlushDisplay();
+ }
+ }
+
+ void ContextualBinderLayer_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ FlushDisplay();
+ }
+ private void FlushDisplay()
+ {
+ LayoutRoot.Children.Clear();
+ _movingBinder.ReleaseMouseCapture();
+ LayoutRoot.Background = null;
+ _active = false;
+ myDispatcherTimer.Stop();
+ Commands.ContextualBinderLayer.DesactiveBind.Execute();
+ }
+
+ void ContextualBinderLayer_MouseMove(object sender, MouseEventArgs e)
+ {
+ LayoutRoot.Background = null;
+ _movingBinder.Visibility = Visibility.Collapsed;
+ _linkLine.Visibility = Visibility.Collapsed;
+ LayoutRoot.UpdateLayout();
+ _movingBinder.Margin = new Thickness(
+ e.GetPosition(this).X - _movingBinder.Width/2,
+ e.GetPosition(this).Y - _movingBinder.Height / 2,
+ 0,
+ 0);
+ _linkLine.X2 = e.GetPosition(this).X ;
+ _linkLine.Y2 = e.GetPosition(this).Y;
+ }
+
+ void BeginBind_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ LayoutRoot.Children.Clear();
+ _movingBinder =new ContextualLinkBinder( ((ContextualLinkBinder)e.Parameter));
+ _movingBinder.Margin = new Thickness(
+ ((MouseButtonEventArgs)e.Source).GetPosition(this).X - _movingBinder.Width/ 2,
+ ((MouseButtonEventArgs)e.Source).GetPosition(this).Y - _movingBinder.Height/2 ,
+ _movingBinder.Margin.Right,
+ _movingBinder.Margin.Bottom);
+ _linkLine = new Line()
+ {
+ X1 = ((MouseButtonEventArgs)e.Source).GetPosition(this).X,
+ Y1 = ((MouseButtonEventArgs)e.Source).GetPosition(this).Y,
+ X2 = ((MouseButtonEventArgs)e.Source).GetPosition(this).X,
+ Y2 = ((MouseButtonEventArgs)e.Source).GetPosition(this).Y,
+ Stroke = PolemicTypeColorConverter.Convert(_movingBinder.PolemicType),
+ StrokeThickness = 2
+ };
+ LayoutRoot.Background = PolemicTypeColorConverter.Convert(_movingBinder.PolemicType);
+ LayoutRoot.Background.Opacity = 0.0;
+ LayoutRoot.Children.Add(_movingBinder);
+ LayoutRoot.Children.Add(_linkLine);
+ _active = true;
+ Commands.ContextualBinderLayer.ActiveBind.Execute();
+ myDispatcherTimer.Start();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ContextualLinkBinder.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ContextualLinkBinder.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ContextualLinkBinder.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ContextualLinkBinder.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,58 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using System.Windows.Data;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Controls.Converter;
+
+
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ContextualLinkBinder : UserControl
+ {
+
+ public PolemicElementType PolemicType
+ {
+ get { return (PolemicElementType)GetValue(_polemicType); }
+ set
+ {
+
+ SetValue(_polemicType, value);
+ PolemicTypeColorConverter converter = new PolemicTypeColorConverter();
+ path9020.Stroke = PolemicTypeColorConverter.Convert(value);
+
+ }
+ }
+
+ public static readonly DependencyProperty _polemicType =
+ DependencyProperty.Register("PolemicType", typeof(PolemicElementType), typeof(ContextualLinkBinder), new PropertyMetadata(PolemicElementType.Basic));
+
+ /* public Brush ArrowColor
+ {
+ get { return path9020.Stroke; }
+ set { path9020.Stroke = value; }
+ }*/
+ public ContextualLinkBinder()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ MouseLeftButtonDown += Commands.ContextualBinderLayer.BeginBind.Execute;
+
+
+ }
+ public ContextualLinkBinder(ContextualLinkBinder copy)
+ {
+ InitializeComponent();
+ PolemicType = copy.PolemicType;
+ }
+ }
+
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderControl/ButtonHeaderControl.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,114 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+
+ public partial class ButtonHeaderControl : UserControl
+ {
+ public ButtonHeaderControl()
+ {
+ InitializeComponent();
+ }
+ private bool _isMouseInside = false;
+ Point tempPoint = new Point();
+
+ private void LayoutRoot_MouseMove(object sender, MouseEventArgs e)
+ {
+ _isMouseInside = true;
+ Point p = e.GetPosition(this);
+ tempPoint.X = 1- (p.X / ActualWidth);
+ //tempPoint.Y = p.Y / ActualHeight;
+ tempPoint.Y = 1 - (p.Y / ActualWidth); ;
+ brushLight.Center = tempPoint;
+ brushLight.GradientOrigin = tempPoint;
+
+ }
+
+ string _title = String.Empty;
+
+ ///
+ /// Title of the toolbar item
+ ///
+ public string Title
+ {
+ get { return _title; }
+ set { _title = value; }
+ }
+
+
+ ///
+ /// The transition color when we hover over the button
+ ///
+ public Color TransitionColor
+ {
+ get
+ {
+ return transitionColor.Color;
+ }
+ set
+ {
+ transitionColor.Color = value;
+ transitionSubColor.Color = Color.FromArgb(64, value.R, value.G, value.B);
+ }
+ }
+
+ ///
+ /// The source of the image to display for the control
+ ///
+ public ImageSource ImageSource
+ {
+ get { return imgItem.Source; }
+ set { imgItem.Source = value; }
+ }
+
+ private void LayoutRoot_MouseEnter(object sender, MouseEventArgs e)
+ {
+ _isMouseInside = true;
+ animEnter.Begin();
+ }
+
+ private void LayoutRoot_MouseLeave(object sender, MouseEventArgs e)
+ {
+ _isMouseInside = false;
+ animLeave.Begin();
+
+ }
+
+ ///
+ /// Uri to navigate to when clicked
+ ///
+ public string NavigateUri { get; set; }
+
+ ///
+ /// true to open link in new window, false to open link in current window
+ /// default is false
+ ///
+ public bool OpenInNewWindow { get; set; }
+
+ private void UserControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ if (NavigateUri != null)
+ {
+ if (OpenInNewWindow)
+ {
+ System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(NavigateUri, UriKind.Absolute), "_new");
+ }
+ else
+ {
+ System.Windows.Browser.HtmlPage.Window.Navigate(new Uri(NavigateUri, UriKind.Absolute));
+ }
+ }
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderControl/HeaderControl.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderControl/HeaderControl.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderControl/HeaderControl.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderControl/HeaderControl.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class HeaderControl : UserControl
+ {
+ public HeaderControl()
+ {
+ InitializeComponent();
+ }
+ private void ButtonSeven_MouseMove(object sender, MouseEventArgs e)
+ {
+ ButtonHeaderControl button = sender as ButtonHeaderControl;
+ if (button == null) return;
+
+ textInfo.Text = button.Title;
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderControl/images/home.png
Binary file client/src/Iri.Modernisation.Controls/View/HeaderControl/images/home.png has changed
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProduction.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProduction.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProduction.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProduction.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,21 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class HeaderProduction : UserControl
+ {
+ public HeaderProduction()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/MenuableUserControl.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/MenuableUserControl.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,50 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+ public abstract partial class MenuableUserControl : UserControl
+ {
+ public MenuableUserControl()
+ {
+ MouseEnter += new MouseEventHandler(MenuableUserControl_MouseEnter);
+ MouseLeave += new MouseEventHandler(MenuableUserControl_MouseLeave);
+ MouseLeftButtonDown += new MouseButtonEventHandler(MenuableUserControl_MouseLeftButtonDown);
+
+ MouseLeftButtonUp += new MouseButtonEventHandler(MenuableUserControl_MouseLeftButtonUp);
+ }
+
+ void MenuableUserControl_MouseLeave(object sender, MouseEventArgs e)
+ {
+ ((MenuableViewModel)base.DataContext).MenuableUserControl_MouseLeave(sender, e);
+ }
+
+ void MenuableUserControl_MouseEnter(object sender, MouseEventArgs e)
+ {
+ ((MenuableViewModel)base.DataContext).MenuableUserControl_MouseEnter(sender, e);
+
+ }
+
+ void MenuableUserControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ ((MenuableViewModel)base.DataContext).MenuableUserControl_MouseLeftButtonUp(sender, e);
+ }
+
+ void MenuableUserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
+ {
+ ((MenuableViewModel)base.DataContext).MenuableUserControl_MouseLeftButtonDown(sender,e);
+ }
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+using System;
+
+using System.Windows.Data;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ConsultMenu : UserControl
+ {
+ public ConsultMenu()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+
+ private void SearchBox_KeyUp(object sender, KeyEventArgs e)
+ {
+ BindingExpression be = SearchBox.GetBindingExpression(TextBox.TextProperty);
+ be.UpdateSource();
+ Commands.ConsultMenu.GetBook.Execute();
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/NavigationBar.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/NavigationBar.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/NavigationBar.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/NavigationBar.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,24 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Controls.ViewModel;
+using Iri.Modernisation.Data.Models;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class NavigationBar : UserControl
+ {
+ public NavigationBar()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/PersonnalChutier.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/PersonnalChutier.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/PersonnalChutier.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/PersonnalChutier.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Data;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class PersonnalChutier : UserControl
+ {
+ public PersonnalChutier()
+ {
+ InitializeComponent();
+ }
+
+ private void SearchAnnotedBox_KeyUp(object sender, KeyEventArgs e)
+ {
+ BindingExpression be = SearchAnnotedBox.GetBindingExpression(TextBox.TextProperty);
+ be.UpdateSource();
+ Commands.PersonnalChutier.Search.Execute();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ProductionMenu.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ProductionMenu.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,18 @@
+
+
+
+
+
+ Mon vidéo-livre
+ Créer
+ Modifier
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ProductionMenu.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ProductionMenu.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,21 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ProductionMenu : UserControl
+ {
+ public ProductionMenu()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,30 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Data;
+using Iri.Modernisation.BaseMVVM.Commands;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ReferencesChutier : UserControl
+ {
+ public ReferencesChutier()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ }
+
+ private void SearchAnnotedBox_KeyUp(object sender, KeyEventArgs e)
+ {
+ BindingExpression be = SearchAnnotedBox.GetBindingExpression(TextBox.TextProperty);
+ be.UpdateSource();
+ Commands.ReferencesChutier.Search.Execute();
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/PolemicElement.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class PolemicElementControl : MenuableUserControl
+ {
+ public PolemicElementControl()
+ : base()
+ {
+
+ InitializeComponent();
+ MouseEnter += new MouseEventHandler(PolemicElementControl_MouseEnter);
+
+
+ }
+
+ void PolemicElementControl_MouseEnter(object sender, MouseEventArgs e)
+ {
+
+ //throw new NotImplementedException();
+ }
+
+
+
+
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/CustomableVideoElement.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/CustomableVideoElement.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/CustomableVideoElement.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/CustomableVideoElement.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,65 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+
+ public partial class CustomableVideoElement : UserControl
+ {
+ public double TrimLeft
+ {
+ get { return (double)GetValue(TrimLeftProperty); }
+ set
+ {
+
+ if(((CustomableVideoElementVM)DataContext).BeginTrim.Add(new TimeSpan(0, 0, 0, 0, (int)((value) / ProductionTimeLine.ScaleTime))) >= TimeSpan.Zero)
+ {
+ SetValue(TrimLeftProperty, value);
+ ((CustomableVideoElementVM)DataContext).BeginTrim = ((CustomableVideoElementVM)DataContext).BeginTrim.Add(new TimeSpan(0, 0, 0, 0, (int)((value) / ProductionTimeLine.ScaleTime)));
+ this.Width = ((CustomableVideoElementVM)DataContext).Duration ;
+ }
+ }
+ }
+ public static readonly DependencyProperty TrimLeftProperty =
+ DependencyProperty.Register("TrimLeft", typeof(double), typeof(CustomableVideoElement), null);
+
+
+
+
+ public double TrimRight
+ {
+ get { return (double )GetValue(TrimRightProperty); }
+ set
+ {
+ if(((CustomableVideoElementVM)DataContext).EndTrim.Add(new TimeSpan(0, 0, 0, 0, (int)((value) / ProductionTimeLine.ScaleTime))) >= TimeSpan.Zero)
+ {
+ SetValue(TrimRightProperty, value);
+ ((CustomableVideoElementVM)DataContext).EndTrim = ((CustomableVideoElementVM)DataContext).EndTrim.Add(new TimeSpan(0, 0, 0, 0, (int)((value) / ProductionTimeLine.ScaleTime)));
+ this.Width = ((CustomableVideoElementVM)DataContext).Duration;
+ }
+ }
+ }
+
+ // Using a DependencyProperty as the backing store for TrimRight. This enables animation, styling, binding, etc...
+ public static readonly DependencyProperty TrimRightProperty =
+ DependencyProperty.Register("TrimRight", typeof(double ), typeof(CustomableVideoElement),null);
+
+
+ public CustomableVideoElement()
+ {
+ InitializeComponent();
+
+
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/ProductionTimeLine.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/ProductionTimeLine.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/ProductionTimeLine.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionTimeLine/ProductionTimeLine.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,116 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+
+ public partial class ProductionTimeLine : UserControl
+ {
+ public static double ScaleTime
+ {
+ get
+ {
+ return 0.0001;
+ }
+ }
+ public ProductionTimeLine()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ Commands.Action.Executed += new EventHandler(Action_Executed);
+
+ }
+
+ void Action_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ AddSequenceButton.Content = ((MouseEventArgs)e.Parameter).GetPosition(this).X;
+ }
+
+ private void AddSequenceButton_Click(object sender, System.Windows.RoutedEventArgs e)
+ {
+ Random rndNumbers = new Random();
+
+
+ CustomableVideoElement _temp = new CustomableVideoElement()
+ {
+ DataContext = new CustomableVideoElementVM(new VideoSequence()
+ {
+
+ RunTime = new TimeSpan(0, rndNumbers.Next(10,60), 0),
+ BeginTrim = new TimeSpan(0, 0, 0),
+ EndTrim = new TimeSpan(0, 0, 0)
+ }),
+ // Width = 200
+ };
+ _temp.MouseMove += new MouseEventHandler(CustomableVideoElement_MouseMove);
+ _temp.MouseLeftButtonDown += new MouseButtonEventHandler(CustomableVideoElement_MouseLeftButtonDown);
+ _temp.MouseLeftButtonUp += new MouseButtonEventHandler(CustomableVideoElement_MouseLeftButtonUp);
+ TimeStrip.Children.Add(_temp );// TODO: Add event handler implementation here.
+ }
+
+
+
+ private void slider_ValueChanged(object sender, System.Windows.RoutedPropertyChangedEventArgs e)
+ {
+ AddSequenceButton.Content = e.NewValue;
+ // TODO: Add event handler implementation here.
+ }
+
+
+
+ private Point _comePoint;
+ private bool _isTrimRightCapturated = false;
+ private bool _isTrimLeftCapturated = false;
+
+ private CustomableVideoElement _selected;
+ void CustomableVideoElement_MouseMove(object sender, MouseEventArgs e)
+ {
+
+ _selected = ((CustomableVideoElement)sender);
+ if (_isTrimRightCapturated && ((CustomableVideoElement)sender).CaptureMouse())
+ {
+ ((CustomableVideoElement)sender).TrimRight = _comePoint.X - e.GetPosition(((CustomableVideoElement)sender)).X;
+ _comePoint = e.GetPosition(((CustomableVideoElement)sender));
+ }
+ else if (_isTrimLeftCapturated && ((CustomableVideoElement)sender).CaptureMouse())
+ {
+ ((CustomableVideoElement)sender).TrimLeft = e.GetPosition(((CustomableVideoElement)sender)).X - _comePoint.X;
+ _comePoint = e.GetPosition(((CustomableVideoElement)sender));
+ }
+
+ }
+ void CustomableVideoElement_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ _isTrimRightCapturated = false;
+ _isTrimLeftCapturated = false;
+ }
+
+ void CustomableVideoElement_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
+ {
+ if (e.GetPosition(((CustomableVideoElement)sender)).X >= ((CustomableVideoElement)sender).Width - 5)
+ {
+ _comePoint = e.GetPosition(((CustomableVideoElement)sender));
+ _isTrimRightCapturated = true;
+ }
+ if (e.GetPosition(((CustomableVideoElement)sender)).X <= 5)
+ {
+ _comePoint = e.GetPosition(((CustomableVideoElement)sender));
+ _isTrimLeftCapturated = true;
+ }
+ }
+
+ private void DeleteSequenceButton_Click(object sender, System.Windows.RoutedEventArgs e)
+ {
+ TimeStrip.Children.Remove(_selected);
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/ProductionView/ProductionView.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class ProductionView : UserControl
+ {
+ public ProductionView()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/VideoViewer/VideoViewer.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,97 @@
+using System;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Controls.ViewModel;
+namespace Iri.Modernisation.Controls.View
+{
+ public partial class VideoViewer : UserControl
+ {
+
+
+
+ public String MediaSource
+ {
+ get
+ {
+ return (String)GetValue(SourceProperty);
+ }
+ set
+ {
+ SetValue(SourceProperty, value);
+ if(DataContext != null)
+ ((VideoViewerVM)DataContext).Source = value;
+ }
+ }
+
+ // Using a DependencyProperty as the backing store for Source. This enables animation, styling, binding, etc...
+ public static readonly DependencyProperty SourceProperty =
+ DependencyProperty.Register("MediaSource", typeof(String), typeof(VideoViewer), new PropertyMetadata(""));
+
+
+ public VideoViewer()
+ {
+ // Required to initialize variables
+ InitializeComponent();
+ Commands.VideoPositionTimer.Tick += new EventHandler(VideoPositionTimer_Tick);
+ Commands.GoToTime.Executed += new EventHandler(GoToTime_Executed);
+ Commands.VideoViewer.Pause.Executed += new EventHandler(Pause_Executed);
+ Commands.VideoViewer.Play.Executed +=new EventHandler(Play_Executed);
+ }
+
+ void GoToTime_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ VideoScreen.Position = TimeSpan.FromMilliseconds((double)e.Parameter);
+ }
+
+ void VideoPositionTimer_Tick(object sender, EventArgs e)
+ {
+ Commands.VideoViewer.SendPosition.Execute(VideoScreen.Position);
+ }
+ public void ChangePosition(TimeSpan TS)
+ {
+ VideoScreen.Position = TS;
+
+ }
+ void Pause_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ VideoScreen.Pause();
+ Commands.VideoPositionTimer.Stop();
+ if (Commands.VideoPositionTimer.IsEnabled)
+ {
+ MessageBox.Show("Click Time IS NOT STOPPED");
+ }
+ }
+
+ void Play_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ if (e.Parameter == DataContext || e.Parameter == null)
+ {
+
+ VideoScreen.Play();
+ Commands.VideoPositionTimer.Start();
+ }
+ }
+
+ private void VideoScreen_MediaFailed(object sender, System.Windows.ExceptionRoutedEventArgs e)
+ {
+ MessageBox.Show(e.ErrorException.ToString());
+ }
+
+ private void VideoScreen_CurrentStateChanged(object sender, System.Windows.RoutedEventArgs e)
+ {
+
+ }
+
+ private void VideoScreen_MarkerReached(object sender, System.Windows.Media.TimelineMarkerRoutedEventArgs e)
+ {
+ MessageBox.Show("toto");
+ }
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/AnnotationMaker/AnnotationMakerVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/AnnotationMaker/AnnotationMakerVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,361 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Data;
+using SLExtensions.Input;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.Models;
+using System.Collections.Generic;
+using System.Linq;
+using Iri.Modernisation.Controls.View;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+
+ ///
+ /// ViewModel du module d'annotation
+ ///
+ public class AnnotationMakerVM : BaseMVVM.ViewModel.ViewModel
+ {
+ ///
+ /// Element référent
+ ///
+ private PolemicElement _refElement;
+ public PolemicElement RefElement
+ {
+ get
+ {
+ return _refElement;
+ }
+ set
+ {
+ _refElement = value;
+
+ _newAnnotation = new Annotation(((PolemicElement)value).Chapter);
+ Begin = ((PolemicElement)value).TimerIn.TotalMilliseconds;
+ End = ((PolemicElement)value).TimerOut.TotalMilliseconds;
+ BasicRelation = new PolemicLink() { FromElement = ((PolemicElement)value), ToElement = _newAnnotation, Type = PolemicElementType.Basic };
+ PolemicRelation = new PolemicLink();
+ PolemicRelation.FromElement = _newAnnotation;
+
+ OnPropertyChanged(String.Empty);
+ //OnPropertyChanged("RefElement");
+ //OnPropertyChanged("IsControlEnable");
+
+ }
+ }
+
+ ///
+ /// Savoir si le module de liens est activé
+ ///
+ public bool IsBinderActive { get; set; }
+ public List RefTags
+ {
+ get
+ {
+ if (_refElement != null)
+ {
+ return _refElement.Tags;
+ }
+ else
+ {
+ return new List();
+ }
+ }
+ }
+
+ ///
+ /// Annotation créé
+ ///
+ private Annotation _newAnnotation;
+
+ ///
+ /// Temps de début de l'annotation
+ ///
+ private TimeSpan _begin;
+ public double Begin
+ {
+ get
+ {
+ return _begin.TotalMilliseconds;
+ }
+ set
+ {
+ _begin = TimeSpan.FromMilliseconds(value);
+ _newAnnotation.TimerIn = TimeSpan.FromMilliseconds(value);
+ OnPropertyChanged("Begin");
+ }
+ }
+
+ ///
+ /// Temps de fin de l'annotation
+ ///
+ private TimeSpan _end;
+ public double End
+ {
+ get
+ {
+ return _end.TotalMilliseconds;
+ }
+ set
+ {
+ _end = TimeSpan.FromMilliseconds(value);
+ _newAnnotation.TimerOut = TimeSpan.FromMilliseconds(value);
+ OnPropertyChanged("End");
+ }
+ }
+
+ ///
+ /// Type de l'annotation
+ ///
+ private PolemicElementType _type;
+ public PolemicElementType Type
+ {
+ get
+ {
+ return _type;
+ }
+ set
+ {
+ _type = value;
+ _newAnnotation.Type = value;
+ OnPropertyChanged("Type");
+ }
+ }
+
+ ///
+ /// Convertion Rectange
+ ///
+ private Rectangle _selectedType;
+ public Rectangle SelectedType
+ {
+ get
+ {
+ return _selectedType;
+ }
+ set
+ {
+ _selectedType = value;
+
+ Type = (PolemicElementType)((Rectangle)_selectedType).Resources["PolemicType"];
+ }
+ }
+
+ ///
+ /// Titre de l'annotation
+ ///
+ private String _title;
+ public String Title
+ {
+ get
+ { return _title; }
+ set
+ {
+ _title = value;
+ _newAnnotation.Title = value;
+ OnPropertyChanged("Title");
+ }
+ }
+
+ ///
+ /// Description de l'annotation
+ ///
+ private String _description;
+ public String Description
+ {
+ get
+ {
+ return _description;
+ }
+ set
+ {
+ _description = value;
+ _newAnnotation.Description = value;
+ OnPropertyChanged("Description");
+ }
+
+ }
+
+ ///
+ /// Tags de l'annotation
+ ///
+ public List _tags =new List();
+ public String Tags
+ {
+ get
+ {
+ try
+ {
+ return String.Join(",", _tags.ToArray());
+ }
+ catch
+ {
+ return String.Empty;
+ }
+ }
+ set
+ {
+ String val = (String)value;
+ _tags = val.Split(',').ToList();
+ _newAnnotation.Tags = val.Split(',').ToList();
+ OnPropertyChanged("Tags");
+
+
+ }
+ }
+
+ ///
+ /// Relation basique
+ ///
+ private PolemicLink _basicRelation;
+ public PolemicLink BasicRelation
+ {
+ get
+ {
+ return _basicRelation;
+ }
+ set
+ {
+ _basicRelation = value;
+ OnPropertyChanged("BasicRelation");
+ }
+
+
+ }
+
+ ///
+ /// Relation polémique
+ ///
+ private PolemicLink _polemicRelation;
+ public PolemicLink PolemicRelation
+ {
+ get
+ {
+
+ return _polemicRelation;
+ }
+ set
+ {
+ _polemicRelation = value;
+ OnPropertyChanged("PolemicRelation");
+ }
+
+
+ }
+
+ ///
+ /// Détermine si le control est activé ou non
+ ///
+ public bool IsControlEnable
+ {
+ get
+ {
+ return _refElement != null;
+ }
+ }
+
+ ///
+ /// Permet d'initialiser les commands;
+ ///
+ private void InitializeCommands()
+ {
+ Commands.ContextualBinderLayer.BeginBind.Executed += new EventHandler(BeginBind_Executed);
+ Commands.ContextualBinderLayer.SelectBind.Executed += new EventHandler(SelectBind_Executed);
+ Commands.ContextualBinderLayer.ActiveBind.Executed += new EventHandler(ActiveBind_Executed);
+ Commands.ContextualBinderLayer.DesactiveBind.Executed += new EventHandler(DesactiveBind_Executed);
+ Commands.AnnotationMaker.OkClick.Executed += new EventHandler(OkClickAnnotationMaker_Executed);
+ }
+
+ void DesactiveBind_Executed(object sender, ExecutedEventArgs e)
+ {
+ IsBinderActive = false;
+ }
+
+ void ActiveBind_Executed(object sender, ExecutedEventArgs e)
+ {
+ IsBinderActive = true;
+ }
+
+
+
+ void SelectBind_Executed(object sender, ExecutedEventArgs e)
+ {
+ if (IsControlEnable && IsBinderActive )
+ {
+ PolemicRelation.ToElement = (PolemicElement)e.Source;
+ OnPropertyChanged("PolemicRelation");
+ }
+
+ }
+
+ void BeginBind_Executed(object sender, ExecutedEventArgs e)
+ {
+ if (IsControlEnable)
+ {
+ PolemicRelation.Type = ((ContextualLinkBinder)e.Parameter).PolemicType;
+ PolemicRelation.ToElement = null;
+ OnPropertyChanged("PolemicRelation");
+
+ }
+
+ }
+
+
+
+ void OkClickAnnotationMaker_Executed(object sender, ExecutedEventArgs e)
+ {
+ String message = "Ok clicked "+Type+" \n";
+ message += _begin + "-->" + _end;
+ message += "\n" + Title;
+ message += "\n" + Description;
+
+ foreach (string tag in _tags)
+ {
+ message += "\n|-" + tag;
+ }
+
+ message += "PolemicLink "+PolemicRelation.Type;
+ MessageBox.Show(message);
+ }
+
+ ///
+ /// Constructeur par défaut
+ ///
+ public AnnotationMakerVM()
+ {
+
+ InitializeCommands();
+
+ }
+
+ ///
+ /// Constructeur par référence
+ ///
+ /// Element référant
+ public AnnotationMakerVM(PolemicElement refAParam)
+ {
+
+
+ RefElement = refAParam;
+
+
+
+ _newAnnotation = new Annotation(RefElement.Chapter);
+ _begin = RefElement.TimerIn;
+ _end = RefElement.TimerOut;
+ _basicRelation = new PolemicLink() { FromElement = RefElement, ToElement = _newAnnotation, Type = PolemicElementType.Basic };
+ _polemicRelation = new PolemicLink();
+ PolemicRelation.FromElement = _newAnnotation;
+ InitializeCommands();
+ }
+
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/BookTimeLine/BookTimeLineVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/BookTimeLine/BookTimeLineVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,301 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ ///
+ /// ViewModel du module BookTimeLine
+ ///
+ public class BookTimeLineVM : BaseMVVM.ViewModel.ViewModel
+ {
+ ///
+ /// Livre sélectionné
+ ///
+ private VideoBook _selectedBook;
+ public VideoBook SelectedBook
+ {
+ get
+ {
+ return _selectedBook;
+ }
+ }
+
+ ///
+ ///
+ ///
+ public String AuthorFullname
+ {
+ get
+ {
+ return Author.FirstName + " " + Author.Name;
+ }
+ }
+
+ ///
+ /// Titre du Livre
+ ///
+ private String _title;
+ public String Title
+ {
+ get
+ {
+ return _title;
+ }
+ private set
+ {
+ _title = value;
+ _selectedBook.Title = value;
+ OnPropertyChanged("Title");
+ }
+ }
+
+ ///
+ /// Auteur du Livre
+ ///
+ private User _author;
+ public User Author
+ {
+ get
+ {
+ return _author;
+ }
+ private set
+ {
+ _author = value;
+ _selectedBook.Author = value;
+ OnPropertyChanged("Author");
+ }
+
+ }
+
+ ///
+ /// Chapitre du Livre
+ ///
+ private VideoChapter[] _chapters;
+ public VideoChapter[] Chapters
+ {
+ get
+ {
+ return _chapters;
+ }
+ private set
+ {
+ _chapters = value;
+ _selectedBook.Chapters = value;
+ OnPropertyChanged("Chapters");
+ }
+ }
+
+ ///
+ /// Liste des Index des Chapitres
+ ///
+ private List[] _segmentIndex=new List[4];
+ public List[] SegmentIndex
+ {
+ get
+ {
+ return _segmentIndex;
+ }
+ set
+ {
+ _segmentIndex = value;
+ OnPropertyChanged("SegmentIndex");
+ }
+ }
+
+ ///
+ /// Liste des Annotations
+ ///
+ private List[] _annotations=new List[4];
+ public List[] Annotations
+ {
+ get
+ {
+ return _annotations;
+ }
+ set
+ {
+ _annotations = value;
+ OnPropertyChanged("Annotations");
+ }
+ }
+
+ ///
+ /// Durée totale du Livre
+ ///
+ private TimeSpan _totalDuration;
+ public double TotalDuration
+ {
+ get
+ {
+ return _totalDuration.TotalMilliseconds;
+ }
+ set
+ {
+ _totalDuration = new TimeSpan(0, 0, 0, 0, (int)value);
+ _selectedBook.Duration = new TimeSpan(0, 0, 0, 0, (int)value); ;
+ OnPropertyChanged("Duration");
+ }
+ }
+
+ private List _polemicSpectrumData = new List();
+ public List PolemicSpectrumData
+ {
+ get
+ {
+ return _polemicSpectrumData;
+ }
+ }
+
+ private List _adhesionSpectrumData = new List();
+ public List AdhesionSpectrumData
+ {
+ get
+ {
+ return _adhesionSpectrumData;
+ }
+ }
+
+ private List _referenceSpectrumData = new List();
+ public List ReferenceSpectrumData
+ {
+ get
+ {
+ return _referenceSpectrumData;
+ }
+ }
+
+ private List _questionSpectrumData = new List();
+ public List QuestionSpectrumData
+ {
+ get
+ {
+ return _questionSpectrumData;
+ }
+ }
+
+ private List _generalSpectrumData = new List();
+ public List GeneralSpectrumData
+ {
+ get
+ {
+ return _generalSpectrumData;
+ }
+ }
+
+ ///
+ /// Position du curseur de lecture
+ ///
+ private double _position;
+ public double Position
+ {
+ get
+ {
+ return _position;
+ }
+ set
+ {
+ _position = value;
+ OnPropertyChanged("Position");
+ }
+ }
+
+ ///
+ /// Chargement des données et annalyse
+ ///
+ private void LoadData()
+ {
+ if (_selectedBook.Duration != TimeSpan.Zero)
+ {
+
+ for (double i = 0; i <= _selectedBook.Duration.TotalMilliseconds; i = (i + _selectedBook.Duration.TotalMilliseconds / 150))
+ {
+ int[] Tem = new int[4]{0,0,0,0};
+ foreach (VideoChapter Ch in _selectedBook.Chapters)
+ {
+ foreach (Annotation An in Ch.Annotations)
+ {
+ if (An.TimerIn.TotalMilliseconds <= i && An.TimerOut.TotalMilliseconds >= i)
+ {
+ switch (An.Type)
+ {
+ case PolemicElementType.Polemic:
+ Tem[0]++;
+ break;
+ case PolemicElementType.Adhesion:
+ Tem[1]++;
+ break;
+ case PolemicElementType.Reference:
+ Tem[2]++;
+ break;
+ case PolemicElementType.Question:
+ Tem[3]++;
+ break;
+ default:
+ break;
+ }
+ }
+ }
+ }
+ _polemicSpectrumData.Add(Tem[0]);
+ _adhesionSpectrumData.Add(Tem[1]);
+ _referenceSpectrumData.Add(Tem[2]);
+ _questionSpectrumData.Add(Tem[3]);
+ _generalSpectrumData.Add((Tem[0]+Tem[1]+Tem[2]+Tem[3]));
+ }
+ }
+
+
+ }
+
+ ///
+ /// Constructeur
+ ///
+ /// VideoLivre à étudier
+ public BookTimeLineVM(VideoBook bookParam)
+ {
+ _selectedBook = bookParam;
+ _title = bookParam.Title;
+ _author = bookParam.Author;
+ _chapters = bookParam.Chapters;
+ _totalDuration = bookParam.Duration;
+ LoadData();
+ LoadElements();
+ Commands.TimeChange.Executed += new EventHandler(TimeChange_Executed);
+
+ }
+
+ void TimeChange_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ // Position = ((Slider)e.Parameter).Value;
+ //Commands.VideoViewer.Pause.Execute();
+ Commands.GoToTime.Execute(((Slider)e.Parameter).Value);
+ //Commands.VideoViewer.Play.Execute();
+ }
+
+
+ ///
+ /// Chargement des éléments du livre (Index et Annotations)
+ ///
+ private void LoadElements()
+ {
+ for(int key=0;key< _selectedBook.Chapters.Length;key++)
+ {
+ _segmentIndex[key] = _selectedBook.Chapters[key].Index;
+ _annotations[key] = _selectedBook.Chapters[key].Annotations;
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ClickMenu/ClickMenuVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ClickMenu/ClickMenuVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,48 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ ///
+ /// ViewModel du module de ClickMenu
+ ///
+ public class ClickMenuVM : BaseMVVM.ViewModel.ViewModel
+ {
+ ///
+ ///
+ ///
+ private PolemicElement _selectedElement;
+ public PolemicElement SelectedElement
+ {
+ get
+ {
+ return _selectedElement;
+ }
+ set
+ {
+ _selectedElement = value;
+ OnPropertyChanged("SelectedElement");
+ }
+ }
+ public void test()
+ {
+ MessageBox.Show(SelectedElement.Title);
+ }
+ public ClickMenuVM()
+ {
+ InitializeCommands();
+ }
+ private void InitializeCommands()
+ { }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ConsultationBookView/AnnotationViewerVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ConsultationBookView/AnnotationViewerVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,25 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Data.Models;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class AnnotationViewerVM : PolemicElementVM
+ {
+
+ public AnnotationViewerVM(PolemicElement paramPE):base(paramPE)
+ {
+ }
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ConsultationBookView/ConsultationBookViewVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ConsultationBookView/ConsultationBookViewVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,313 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Collections;
+using Iri.Modernisation.Data.Models;
+using System.Linq;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ConsultationBookViewVM : BaseMVVM.ViewModel.ViewModel
+ {
+
+ private VideoBook _selectedBook;
+ public VideoBook SelectedBook
+ {
+ get
+ {
+ return _selectedBook;
+ }
+ set
+ {
+ _selectedBook = value;
+ OnPropertyChanged(null);
+ }
+ }
+
+ private int _selectedIndexNumber = 0;
+
+ private SegmentIndex _selectedIndex;
+ public SegmentIndex SelectedIndex
+ {
+ get
+ {
+
+ return _selectedIndex;
+ }
+ set
+ {
+ _selectedIndex = value;
+ _selectedIndexTitle = ((SegmentIndex)value).Title;
+ _selectedIndexDescription = ((SegmentIndex)value).Description;
+ _selectedIndexTags = ((SegmentIndex)value).Tags;
+ _selectedBook = _selectedIndex.Chapter.Book;
+ _title = _selectedIndex.Chapter.Book.Title;
+ _author = _selectedIndex.Chapter.Book.Author;
+ _chapters = _selectedIndex.Chapter.Book.Chapters;
+ _selectedIndexAnnotation.Clear();
+ List _temp = new List();
+ foreach (Annotation An in ((SegmentIndex)value).Chapter.Annotations)
+ {
+ if (An.TimerIn <= ((SegmentIndex)value).TimerOut && An.TimerOut >= ((SegmentIndex)value).TimerIn)
+ {
+ _temp.Add(new AnnotationViewerVM (An));
+ }
+ }
+ SelectedIndexAnnotation = _temp;
+
+ OnPropertyChanged(null);
+
+
+ }
+ }
+
+ private String _selectedIndexTitle;
+ public String SelectedIndexTitle
+ {
+ get
+ {
+ return _selectedIndexTitle;
+ }
+ set
+ {
+ _selectedIndexTitle = value;
+ OnPropertyChanged("SelectedIndexTitle");
+ }
+ }
+
+ private String _selectedIndexDescription;
+ public String SelectedIndexDescription
+ {
+ get
+ {
+ return _selectedIndexDescription;
+ }
+ set
+ {
+ _selectedIndexDescription = value;
+ OnPropertyChanged("SelectedIndexDescription");
+ }
+ }
+
+ private List _selectedIndexTags = new List();
+ public String SelectedIndexTags
+ {
+ get
+ {
+ try
+ {
+ return String.Join(",", _selectedIndexTags.ToArray());
+ }
+ catch
+ {
+ return String.Empty;
+ }
+ }
+ set
+ {
+ String val = (String)value;
+ _selectedIndexTags = val.Split(',').ToList();
+ OnPropertyChanged("SelectedIndexTags");
+ }
+ }
+
+ private List _selectedIndexAnnotation = new List();
+ public List SelectedIndexAnnotation
+ {
+ get
+ {
+ return _selectedIndexAnnotation;
+ }
+ set
+ {
+ _selectedIndexAnnotation = value;
+ OnPropertyChanged("SelectedIndexAnnotation");
+ }
+ }
+
+
+ private String _title;
+ public String Title
+ {
+ get
+ {
+ return _title;
+ }
+ private set
+ {
+ _title = value;
+ _selectedBook.Title = value;
+ OnPropertyChanged("Title");
+ }
+ }
+
+ private User _author;
+ public User Author
+ {
+ get
+ {
+ return _author;
+ }
+ private set
+ {
+ _author = value;
+ _selectedBook.Author = value;
+ OnPropertyChanged("Author");
+ }
+
+ }
+
+ private VideoChapter[] _chapters;
+ public VideoChapter[] Chapters
+ {
+ get
+ {
+ return _chapters;
+ }
+ private set
+ {
+ _chapters = value;
+ _selectedBook.Chapters = value;
+ OnPropertyChanged("Chapters");
+ }
+ }
+
+ private List[] _segmentIndex = new List[4];
+ public List[] SegmentIndex
+ {
+ get
+ {
+ return _segmentIndex;
+ }
+ set
+ {
+ _segmentIndex = value;
+ OnPropertyChanged("SegmentIndex");
+ }
+ }
+
+ private List[] _annotations = new List[4];
+ public List[] Annotations
+ {
+ get
+ {
+ return _annotations;
+ }
+ set
+ {
+ _annotations = value;
+ OnPropertyChanged("Annotations");
+ }
+ }
+
+ private BookTimeLineVM _selectedBookVM;
+ public BookTimeLineVM SelectedBookVM
+ {
+ get
+ {
+ return _selectedBookVM;
+ }
+ set
+ {
+ _selectedBookVM = value;
+
+ _selectedBook = value.SelectedBook;
+ _title = value.SelectedBook.Title;
+ _author = value.SelectedBook.Author;
+ _chapters = value.SelectedBook.Chapters;
+
+ ActualVideoSourceVM.Position = TimeSpan.FromMilliseconds(value.Position);
+ ActualVideoSourceVM.Source = value.SelectedBook.MediaPath;
+
+
+ SelectedIndex = value.SelectedBook.Chapters[0].Index[0];
+
+ OnPropertyChanged(null);
+ Commands.GoToTime.Execute(value.Position);
+ }
+ }
+ private VideoViewerVM _actualVideoSourceVM;
+ public VideoViewerVM ActualVideoSourceVM
+ {
+ get
+ {
+ return _actualVideoSourceVM;
+ }
+ set
+ {
+ _actualVideoSourceVM = value;
+ OnPropertyChanged("ActualVideoSourceVM");
+ }
+ }
+ public ConsultationBookViewVM()
+ {
+ /* _selectedBookVM = param;
+ _selectedBook = param.SelectedBook;
+ _title = param.SelectedBook.Title;
+ _author = param.SelectedBook.Author;
+ _chapters = param.SelectedBook.Chapters;
+ //
+ if (param.SelectedBook.Chapters[0].VideoSequences.Count != 0)
+ { _actualVideoSource = param.SelectedBook.Chapters[0].VideoSequences[0].Path; }
+ SelectedIndex = param.SelectedBook.Chapters[0].Index[0];*/
+ ActualVideoSourceVM = new VideoViewerVM();
+ InitializeCommands();
+
+
+ }
+ public ConsultationBookViewVM(BookTimeLineVM param)
+ {
+ _selectedBookVM = param;
+ _selectedBook = param.SelectedBook;
+ _title = param.SelectedBook.Title;
+ _author = param.SelectedBook.Author;
+ _chapters = param.SelectedBook.Chapters;
+ //
+ if (param.SelectedBook.Chapters[0].VideoSequences.Count != 0)
+ {
+ ActualVideoSourceVM = new VideoViewerVM() { Source = param.SelectedBook.MediaPath };
+ }
+ SelectedIndex = param.SelectedBook.Chapters[0].Index[0];
+
+ InitializeCommands();
+
+
+ }
+ private void InitializeCommands()
+ {
+
+ Commands.VideoViewer.SendPosition.Executed += new EventHandler(SendPosition_Executed);
+ }
+
+
+
+ void SendPosition_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ TimeSpan Pos = ((TimeSpan)e.Parameter);
+ SelectedBookVM.Position = Pos.TotalMilliseconds;
+ if (SelectedIndex.TimerOut < Pos || SelectedIndex.TimerIn > Pos)
+ {
+ foreach(SegmentIndex Index in SelectedIndex.Chapter.Index)
+ {
+ if(Index.TimerIn <= Pos && Index.TimerOut>= Pos)
+ {
+ SelectedIndex = Index;
+ }
+
+ }
+ }
+ }
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,143 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.Data.LDTClass;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ConsultationViewVM : BaseMVVM.ViewModel.ViewModel
+ {
+ private PolemicElement _selectedElement;
+ public PolemicElement SelectedElement
+ {
+ get
+ {
+ return _selectedElement;
+ }
+ set
+ {
+ _selectedElement = value;
+ OnPropertyChanged("SelectedElement");
+ }
+ }
+
+
+
+ private SLExtensions.Collections.ObjectModel.ObservableCollection _selectedVideoBooks;
+ public SLExtensions.Collections.ObjectModel.ObservableCollection SelectedVideoBooks
+ {
+ get
+ {
+
+ return _selectedVideoBooks;
+ }
+ set
+ {
+ _selectedVideoBooks = value;
+ OnPropertyChanged("SelectedVideoBooks");
+ }
+ }
+
+ private int _selectedVideoBookIndex=-1;
+ public int SelectedVideoBookIndex
+ {
+ get
+ {
+ return _selectedVideoBookIndex;
+ }
+ set
+ {
+ _selectedVideoBookIndex= value;
+ OnPropertyChanged("SelectedVideoBookIndex");
+ ConsultationBookViewContextMenu.SelectedBookVM = (_selectedVideoBooks[value]);
+
+ }
+ }
+
+ private ConsultationBookViewVM _consultationBookViewContextMenu;
+ public ConsultationBookViewVM ConsultationBookViewContextMenu
+ {
+ get
+ {
+ return _consultationBookViewContextMenu;
+ }
+ set
+ {
+ _consultationBookViewContextMenu = value;
+ OnPropertyChanged(null);
+ }
+ }
+
+ private void InitializeCommands()
+ {
+ Commands.ConsultMenu.ClickBook.Executed += new EventHandler(ClickBook_Executed);
+ Commands.PolemicElement.SelectPolemicElement.Executed += new EventHandler(SelectPolemicElement_Executed);
+
+ Commands.ClickMenu.CreateNewTextualAnnotation.Executed += new EventHandler(CreateNewTextualAnnotation_Executed);
+ }
+
+ void ClickBook_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ BookTimeLineVM temp = new BookTimeLineVM((VideoBook)e.Parameter);
+ bool CanAdd = true;
+ foreach(BookTimeLineVM BookTLVM in SelectedVideoBooks)
+ {
+ if (BookTLVM.SelectedBook == (VideoBook)e.Parameter)
+ {
+ CanAdd = false;
+ }
+ }
+ if(CanAdd)
+ {
+ SelectedVideoBooks.Add(temp);
+ }
+
+ }
+
+
+ private AnnotationMakerVM _annotationMakerVM;
+ public AnnotationMakerVM ViewModelAnnotationMaker
+ {
+ get
+ {
+ return _annotationMakerVM;
+ }
+ }
+ void CreateNewTextualAnnotation_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ ViewModelAnnotationMaker.RefElement = SelectedElement;
+ }
+ public ConsultationViewVM()
+ {
+ InitializeCommands();
+ _consultationBookViewContextMenu = new ConsultationBookViewVM();
+ _annotationMakerVM = new AnnotationMakerVM();
+ SelectedVideoBooks = new SLExtensions.Collections.ObjectModel.ObservableCollection();
+ }
+
+ void SelectPolemicElement_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ SelectedElement= (PolemicElement)e.Parameter;
+ try
+ {
+ ConsultationBookViewContextMenu.SelectedIndex = (SegmentIndex)SelectedElement;
+ }
+ catch
+ {
+ }
+
+
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ContextualBinderLayer/ContextualBinderLayerVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ContextualBinderLayer/ContextualBinderLayerVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,19 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ContextualBinderLayerVM : BaseMVVM.ViewModel.ViewModel
+ {
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/HeaderControl/HeaderControlVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/HeaderControl/HeaderControlVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,56 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class HeaderControlVM : BaseMVVM.ViewModel.ViewModel
+ {
+ private String _connectedName = String.Empty;
+ public String ConnectedName
+ {
+ get
+ {
+ if (_connectedName != String.Empty)
+ {
+ return _connectedName;
+ }
+ else
+ {
+ return "Non Connecté";
+ }
+ }
+ set
+ {
+ _connectedName = value;
+ OnPropertyChanged("ConnectedName");
+ }
+ }
+ public HeaderControlVM()
+ {
+ InitializeCommands();
+ }
+ public HeaderControlVM(String name)
+ {
+ _connectedName = name;
+ InitializeCommands();
+ }
+ private void InitializeCommands()
+ {
+ Commands.HeaderControl.ButtonClick.Executed += new EventHandler(ButtonClick_Executed);
+ }
+
+ void ButtonClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ MessageBox.Show(e.Parameter.ToString());
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/HeaderProduction/HeaderProductionVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,313 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class HeaderProductionVM : BaseMVVM.ViewModel.ViewModel
+ {
+ private String _instruction;
+ #region Avancement
+
+
+ private bool _isChap01EditingComplete = false;
+ public bool IsChap01EditingComplete
+ {
+ get
+ {
+ return _isChap01EditingComplete;
+ }
+ set
+ {
+ _isChap01EditingComplete = value;
+ OnPropertyChanged("IsChap01EditingComplete");
+ GeneralRefresh();
+
+ }
+ }
+
+ private bool _isChap01IndexingComplete = false;
+ public bool IsChap01IndexingComplete
+ {
+ get
+ {
+ return _isChap01IndexingComplete;
+ }
+ set
+ {
+ _isChap01IndexingComplete = value;
+ OnPropertyChanged("IsChap01IndexingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap02EditingComplete = false;
+ public bool IsChap02EditingComplete
+ {
+ get
+ {
+ return _isChap02EditingComplete;
+ }
+ set
+ {
+ _isChap02EditingComplete = value;
+ OnPropertyChanged("IsChap02EditingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap02IndexingComplete = false;
+ public bool IsChap02IndexingComplete
+ {
+ get
+ {
+ return _isChap02IndexingComplete;
+ }
+ set
+ {
+ _isChap02IndexingComplete = value;
+ OnPropertyChanged("IsChap02IndexingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap03EditingComplete= false;
+ public bool IsChap03EditingComplete
+ {
+ get
+ {
+ return _isChap03EditingComplete;
+ }
+ set
+ {
+ _isChap03EditingComplete = value;
+ OnPropertyChanged("IsChap03EditingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap03IndexingComplete= false;
+ public bool IsChap03IndexingComplete
+ {
+ get
+ {
+ return _isChap03IndexingComplete;
+ }
+ set
+ {
+ _isChap03IndexingComplete = value;
+ OnPropertyChanged("IsChap03IndexingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap04EditingComplete= false;
+ public bool IsChap04EditingComplete
+ {
+ get
+ {
+ return _isChap04EditingComplete;
+ }
+ set
+ {
+ _isChap04EditingComplete = value;
+ OnPropertyChanged("IsChap04EditingComplete");
+ GeneralRefresh();
+ }
+ }
+
+ private bool _isChap04IndexingComplete= false;
+ public bool IsChap04IndexingComplete
+ {
+ get
+ {
+ return _isChap04IndexingComplete;
+ }
+ set
+ {
+ _isChap04IndexingComplete = value;
+ OnPropertyChanged("IsChap04IndexingComplete");
+ GeneralRefresh();
+ }
+ }
+ #endregion
+
+ #region Etat des Boutton
+ private void GeneralRefresh()
+ {
+ OnPropertyChanged("IsChap01EditingEnable");
+ OnPropertyChanged("IsChap01IndexingEnable");
+ OnPropertyChanged("IsChap02EditingEnable");
+ OnPropertyChanged("IsChap02IndexingEnable");
+ OnPropertyChanged("IsChap03EditingEnable");
+ OnPropertyChanged("IsChap03IndexingEnable");
+ OnPropertyChanged("IsChap04EditingEnable");
+ OnPropertyChanged("IsChap04IndexingEnable");
+ OnPropertyChanged("IsVideoBookComplete");
+ }
+ public bool IsChap01EditingEnable
+ {
+ get
+ {
+ return !IsChap01EditingComplete;
+ }
+ }
+ public bool IsChap01IndexingEnable
+ {
+ get
+ {
+ return IsChap01EditingComplete^IsChap01IndexingComplete;
+ }
+ }
+ public bool IsChap02EditingEnable
+ {
+ get
+ {
+ return IsChap01EditingComplete ^ IsChap02EditingComplete;
+ }
+ }
+ public bool IsChap02IndexingEnable
+ {
+ get
+ {
+ return IsChap02EditingComplete ^ IsChap02IndexingComplete;
+ }
+ }
+ public bool IsChap03EditingEnable
+ {
+ get
+ {
+ return IsChap02EditingComplete ^ IsChap03EditingComplete;
+ }
+ }
+ public bool IsChap03IndexingEnable
+ {
+ get
+ {
+ return IsChap03EditingComplete ^ IsChap03IndexingComplete;
+ }
+ }
+ public bool IsChap04EditingEnable
+ {
+ get
+ {
+ return IsChap03EditingComplete ^ IsChap04EditingComplete;
+ }
+ }
+ public bool IsChap04IndexingEnable
+ {
+ get
+ {
+ return IsChap04EditingComplete^IsChap04IndexingComplete;
+ }
+ }
+ #endregion
+ public bool IsVideoBookComplete
+ {
+ get
+ {
+ return _isChap01EditingComplete && _isChap01IndexingComplete
+ && _isChap02EditingComplete && _isChap02IndexingComplete
+ && _isChap03EditingComplete && _isChap03IndexingComplete
+ && _isChap04EditingComplete && _isChap04IndexingComplete;
+ }
+ }
+ /******************************************************************/
+ /**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**//**/
+ /******************************************************************/
+ private bool _istest;
+ public bool IsTest
+ {
+ get
+ {
+ return _istest;
+ }
+ set
+ {
+ _istest = value;
+ OnPropertyChanged("IsTest");
+ }
+ }
+
+ public String Instruction
+ {
+ get
+ {
+ return _instruction;
+ }
+ set
+ {
+ _instruction = value;
+ OnPropertyChanged("Instruction");
+ }
+ }
+ public HeaderProductionVM()
+ {
+ IsTest = false;
+ Commands.Action.CanExecute += (sender, e) => e.CanExecute = this.IsTest;
+ _instruction = Iri.Modernisation.Controls.Resources.HeaderProduction.InstructionTextRessource.Introduction;
+
+ InitializeCommands();
+ }
+ private void InitializeCommands()
+ {
+ Commands.HeaderProduction.Chap01EditingOkClick.Executed += new EventHandler(Chap01EditingOkClick_Executed);
+ Commands.HeaderProduction.Chap02EditingOkClick.Executed+=new EventHandler(Chap02EditingOkClick_Executed);
+ Commands.HeaderProduction.Chap03EditingOkClick.Executed += new EventHandler(Chap03EditingOkClick_Executed);
+ Commands.HeaderProduction.Chap04EditingOkClick.Executed += new EventHandler(Chap04EditingOkClick_Executed);
+
+ Commands.HeaderProduction.Chap01IndexingOkClick.Executed += new EventHandler(Chap01IndexingOkClick_Executed);
+ Commands.HeaderProduction.Chap02IndexingOkClick.Executed += new EventHandler(Chap02IndexingOkClick_Executed);
+ Commands.HeaderProduction.Chap03IndexingOkClick.Executed += new EventHandler(Chap03IndexingOkClick_Executed);
+ Commands.HeaderProduction.Chap04IndexingOkClick.Executed += new EventHandler(Chap04IndexingOkClick_Executed);
+ }
+
+ void Chap04IndexingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap04IndexingComplete = true;
+ }
+
+ void Chap03IndexingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap03IndexingComplete = true;
+ }
+
+ void Chap02IndexingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap02IndexingComplete = true;
+ }
+
+ void Chap01IndexingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap01IndexingComplete = true;
+ }
+
+ void Chap04EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap04EditingComplete = true;
+ }
+
+ void Chap03EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap03EditingComplete = true;
+ }
+
+ void Chap02EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ IsChap02EditingComplete = true;
+ }
+ void Chap01EditingOkClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ this.IsChap01EditingComplete = true;
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/MenuableViewModel.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/MenuableViewModel.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,29 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public abstract class MenuableViewModel : BaseMVVM.ViewModel.ViewModel
+ {
+ public MenuableViewModel()
+ {
+
+
+ }
+ public abstract void MenuableUserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e);
+ public abstract void MenuableUserControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e);
+ public abstract void MenuableUserControl_MouseLeave(object sender, MouseEventArgs e);
+ public abstract void MenuableUserControl_MouseEnter(object sender, MouseEventArgs e);
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ChutierVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ChutierVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,127 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using SLExtensions.Input;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Data.Models;
+using System.Collections.Generic;
+using System.Linq;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ChutierVM : BaseMVVM.ViewModel.ViewModel
+ {
+ protected List _annotations = new List();
+ protected List list = new List();
+ public List Annotations
+ {
+ get
+ {
+ if (SearchWord != String.Empty)
+ {
+ return list;
+ }
+ else
+ {
+ return _annotations;
+ }
+
+ }
+ set
+ {
+ list = value;
+ OnPropertyChanged("Annotations");
+ }
+ }
+ protected String _searchWord = "";
+ public String SearchWord
+ {
+ get
+ {
+ return _searchWord;
+ }
+
+ set
+ {
+ _searchWord = value;
+ OnPropertyChanged("SearchWord");
+
+ }
+ }
+ public ChutierVM()
+ {
+ InitializeCommands();
+ }
+
+ private void InitializeCommands()
+ {
+ }
+
+ public ChutierVM(List argList)
+ {
+ _annotations = argList;
+ InitializeCommands();
+ }
+
+ protected void Search()
+ {
+ var query = from c in _annotations
+ where c.Title.Contains(_searchWord)
+ select c;
+ Annotations = query.ToList();
+ }
+ public void ClickAnnotation_Executed(object sender, ExecutedEventArgs e)
+ {
+ Annotation VB = (Annotation)e.Parameter;
+ MessageBox.Show(VB.Contributer.UserName + " - " + VB.Title);
+ }
+
+ public void ChutierSearch_Executed(object sender, ExecutedEventArgs e)
+ {
+ Search();
+
+ }
+
+ }
+ public class PersonnalChutierVM : ChutierVM
+ {
+ public PersonnalChutierVM(List argList)
+ : base( argList)
+ {
+ InitializeCommands();
+ }
+
+ private void InitializeCommands()
+ {
+ Commands.PersonnalChutier.Search.Executed += new EventHandler(ChutierSearch_Executed);
+ Commands.PersonnalChutier.ClickAnnotation.Executed += new EventHandler(ClickAnnotation_Executed);
+ }
+
+
+ }
+
+ public class ReferencesChutierVM : ChutierVM
+ {
+ public ReferencesChutierVM(List argList)
+ : base(argList)
+ {
+ InitializeCommands();
+ }
+
+ private void InitializeCommands()
+ {
+ Commands.ReferencesChutier.Search.Executed += new EventHandler(ChutierSearch_Executed);
+ Commands.ReferencesChutier.ClickAnnotation.Executed += new EventHandler(ClickAnnotation_Executed);
+ }
+
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ConsultMenuVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ConsultMenuVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,139 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using SLExtensions.Input;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Data.Models;
+using System.Collections.Generic;
+using System.Linq;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ConsultMenuVM : BaseMVVM.ViewModel.ViewModel
+ {
+ private List _videoBooks = new List();
+ private List list = new List();
+ public List VideoBooks
+ {
+ get
+ {
+ _videoBooks.Sort(new VideoBookComparer());
+ if (SearchWord != String.Empty)
+ {
+ return list;
+ }
+ else
+ {
+ return _videoBooks;
+ }
+
+ }
+ set
+ {
+ list = value;
+ OnPropertyChanged("VideoBooks");
+ }
+ }
+
+ public bool SearchAuthor { get; set; }
+ public bool SearchContributer { get; set; }
+ public bool SearchTag { get; set; }
+
+ private String _searchWord= "";
+ public String SearchWord
+ {
+ get
+ {
+ return _searchWord;
+ }
+
+ set
+ {
+ _searchWord = value;
+ OnPropertyChanged("SearchWord");
+ }
+ }
+
+ public ConsultMenuVM()
+ {
+ SearchAuthor = true;
+ InitializeCommands();
+ }
+
+ private void InitializeCommands()
+ {
+ Commands.ConsultMenu.GetBook.Executed += new EventHandler(GetBook_Executed);
+ }
+ public ConsultMenuVM(List argList)
+ {
+ _videoBooks = argList;
+ SearchAuthor = true;
+ InitializeCommands();
+ }
+
+
+
+ void GetBook_Executed(object sender, ExecutedEventArgs e)
+ {
+
+ if (SearchAuthor)
+ {
+ var query = from c in _videoBooks
+ where c.Author.UserName.Contains(_searchWord)
+ select c;
+ VideoBooks = query.ToList();
+ }
+ if (SearchContributer)
+ {
+ List temp = new List();
+ foreach (VideoBook Book in _videoBooks)
+ {
+ foreach (VideoChapter Chapter in Book.Chapters)
+ {
+ foreach (Annotation Annotation in Chapter.Annotations)
+ {
+ if ( Annotation.Contributer.UserName.Contains(_searchWord))
+ {
+ temp.Add(Book);
+ }
+ }
+ }
+ }
+ VideoBooks = temp;
+ }
+ if(SearchTag)
+ {
+ List temp = new List();
+ foreach (VideoBook Book in _videoBooks)
+ {
+ foreach (VideoChapter Chapter in Book.Chapters)
+ {
+ foreach (Annotation Annotation in Chapter.Annotations)
+ {
+ if (Annotation.Tags.Contains(_searchWord))
+ {
+ temp.Add(Book);
+ }
+ }
+ foreach (SegmentIndex Segment in Chapter.Index)
+ {
+ if (Segment.Tags.Contains(_searchWord))
+ {
+ temp.Add(Book);
+ }
+ }
+ }
+ }
+ VideoBooks = temp;
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/NavigationBarVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/NavigationBarVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,65 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Data.Models;
+
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class NavigationBarVM : BaseMVVM.ViewModel.ViewModel
+ {
+ public NavigationBarVM()
+ {
+ }
+ private ConsultMenuVM _consultMenuViewModel;
+ public ConsultMenuVM ConsultMenuViewModel
+ {
+ get
+ {
+ return _consultMenuViewModel;
+ }
+ set
+ {
+ _consultMenuViewModel = value;
+ OnPropertyChanged("ConsultMenuViewModel");
+
+ }
+ }
+
+ private PersonnalChutierVM _personnalChutierViewModel;
+ public PersonnalChutierVM PersonnalChutierViewModel
+ {
+ get
+ {
+ return _personnalChutierViewModel;
+ }
+ set
+ {
+ _personnalChutierViewModel = value;
+ OnPropertyChanged("PersonnalChutierViewModel");
+ }
+ }
+
+ private ReferencesChutierVM _referencesChutierViewModel;
+ public ReferencesChutierVM ReferencesChutierViewModel
+ {
+ get
+ {
+ return _referencesChutierViewModel;
+ }
+ set
+ {
+ _referencesChutierViewModel = value;
+ OnPropertyChanged("ReferencesChutierViewModel");
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ProductionMenuVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/NavigationBar/ProductionMenuVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,22 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ProductionMenuVM
+ {
+
+
+ public ProductionMenuVM()
+ {
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/PolemicElementVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,263 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.Models;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ ///
+ /// ViewModel d'un PolemicElement
+ ///
+ public class PolemicElementVM : MenuableViewModel
+ {
+ ///
+ /// Timer lançant le ClickMenu
+ ///
+ private System.Windows.Threading.DispatcherTimer DisplayTimer = new System.Windows.Threading.DispatcherTimer();
+ private MouseButtonEventArgs _selectedCoord;
+
+ ///
+ /// Temps d'entrée
+ ///
+ private TimeSpan _timerIn;
+ public TimeSpan TimerIn
+ {
+ get
+ {
+ return _timerIn;
+ }
+ set
+ {
+ _timerIn = value;
+ _element.TimerIn = value;
+ OnPropertyChanged("TimerIn");
+ }
+ }
+
+ ///
+ /// Temps de sortie
+ ///
+ private TimeSpan _timerOut;
+ public TimeSpan TimerOut
+ {
+ get
+ {
+ return _timerOut;
+ }
+ set
+ {
+ _timerOut = value;
+ _element.TimerOut = value;
+ OnPropertyChanged("TimerOut");
+ }
+ }
+
+ ///
+ /// Durée de l'élément
+ ///
+ public TimeSpan Duration
+ {
+ get
+ {
+ return TimerOut - TimerIn;
+ }
+ set
+ {
+ TimerOut = TimerIn + value;
+ }
+ }
+
+ ///
+ /// Titre de l'élément
+ ///
+ private String _title;
+ public String Title
+ {
+ get
+ {
+ return _title;
+ }
+ set
+ {
+ _title = value;
+ _element.Title = value;
+ OnPropertyChanged("Title");
+ }
+ }
+
+ ///
+ /// Description de l'élément
+ ///
+ private String _description;
+ public String Description
+ {
+ get
+ {
+ return _description;
+ }
+ set
+ {
+ _description = value;
+ _element.Description = value;
+ OnPropertyChanged("Description");
+ }
+ }
+
+ ///
+ /// Tags de l'élément
+ ///
+ private List _tags;
+ public List Tags
+ {
+ get
+ {
+ return _tags;
+ }
+ set
+ {
+ _tags = value;
+ _element.Tags = value;
+ OnPropertyChanged("Tags");
+ }
+ }
+
+ ///
+ /// Chapitre référent de l'élément
+ ///
+ private VideoChapter _chapter;
+ public VideoChapter Chapter
+ {
+ get
+ {
+ return _chapter;
+ }
+ set
+ {
+ _chapter = value;
+ _element.Chapter = value;
+ OnPropertyChanged("Chapter");
+ }
+ }
+
+ ///
+ /// Auteur de l'élément
+ ///
+ public User Contributer
+ {
+ get
+ {
+ try
+ {
+ return ((Annotation)_element).Contributer;
+ }
+ catch
+ {
+ return null;
+ }
+ }
+
+ }
+
+ public double Heigh
+ {
+ get
+ {
+ if(_element is SegmentIndex)
+ {
+ return 20;
+ }
+ else
+ {
+ return 10;
+ }
+
+ }
+
+ }
+
+ ///
+ /// PolemicType de l'élément
+ ///
+ public PolemicElementType Type
+ {
+ get
+ {
+ if (_element is Annotation)
+ {
+ return ((Annotation)_element).Type;
+ }
+ else
+ {
+ return PolemicElementType.Basic;
+ }
+ }
+ }
+ private PolemicElement _element { get; set; }
+
+ ///
+ /// Constructeur
+ ///
+ /// PolémicElement
+ public PolemicElementVM(PolemicElement element)
+ :base()
+ {
+ _element = element;
+ TimerIn = _element.TimerIn;
+ TimerOut = _element.TimerOut;
+ Title = _element.Title;
+ Description = _element.Description;
+ Tags = _element.Tags;
+ Chapter = _element.Chapter;
+ DisplayTimer.Interval = new TimeSpan(0, 0, 0, 0, 500);
+ DisplayTimer.Tick += new EventHandler(myDispatcherTimer_Tick);
+ }
+
+ ///
+ /// Lors d'un Tick,c'est à dire, lors d'un appuie long sur un élément
+ ///
+ ///
+ ///
+ void myDispatcherTimer_Tick(object sender, EventArgs e)
+ {
+ DisplayTimer.Stop();
+ Commands.PolemicElement.ElementSelected.Execute(_selectedCoord, _element);
+ }
+
+
+ public override void MenuableUserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
+ {
+
+ _selectedCoord = e;
+ Commands.PolemicElement.SelectPolemicElement.Execute(_element);
+ DisplayTimer.Start();
+
+
+ }
+ public override void MenuableUserControl_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
+ {
+ DisplayTimer.Stop();
+ Commands.ContextualBinderLayer.EndBind.Execute(Type, _element);
+
+ }
+ public override void MenuableUserControl_MouseLeave(object sender, MouseEventArgs e)
+ {
+ Commands.ContextualBinderLayer.UnSelectBind.Execute();
+ }
+ public override void MenuableUserControl_MouseEnter(object sender, MouseEventArgs e)
+ {
+ Commands.ContextualBinderLayer.SelectBind.Execute(Type, _element);
+ }
+
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableVideoElementVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/CustomableVideoElementVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,98 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using Iri.Modernisation.Controls.View;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class CustomableVideoElementVM : BaseMVVM.ViewModel.ViewModel
+ {
+ public CustomableVideoElementVM(VideoSequence paramSeq)
+ {
+ _videoSequence = paramSeq;
+ _runTime = paramSeq.RunTime;
+ _beginTrim = paramSeq.BeginTrim;
+ _endTrim = paramSeq.EndTrim;
+ OnPropertyChanged("Duration");
+ }
+
+ private VideoSequence _videoSequence;
+
+ private TimeSpan _runTime;
+ public TimeSpan RunTime
+ {
+ get
+ {
+ return _runTime;
+ }
+ set
+ {
+ _runTime = value;
+ _videoSequence.RunTime = value;
+ OnPropertyChanged(String.Empty);
+
+ }
+ }
+
+ private TimeSpan _beginTrim;
+ public TimeSpan BeginTrim
+ {
+ get
+ {
+ return _beginTrim;
+ }
+ set
+ {
+ _beginTrim = value;
+ _videoSequence.BeginTrim = value;
+ OnPropertyChanged(String.Empty);
+ }
+ }
+
+ private TimeSpan _endTrim;
+ public TimeSpan EndTrim
+ {
+ get
+ {
+ return _endTrim;
+ }
+ set
+ {
+ _endTrim = value;
+ _videoSequence.EndTrim = value;
+ OnPropertyChanged(String.Empty);
+ }
+ }
+
+ private double _duration;
+ public new double Duration
+ {
+ get
+ {
+ return( RunTime.TotalMilliseconds - (BeginTrim.TotalMilliseconds + EndTrim.TotalMilliseconds))*ProductionTimeLine.ScaleTime;
+ }
+
+ }
+ public new TimeSpan DurationTimeSpan
+ {
+ get
+ {
+ return _videoSequence.Duration;
+ }
+
+ }
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/ProductionTimeLineVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/ProductionTimeLine/ProductionTimeLineVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,73 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class ProductionTimeLineVM : BaseMVVM.ViewModel.ViewModel
+ {
+
+
+
+ private VideoBook _newBook;
+ private List[] _listVideoSequences = new List[4];
+ public List SelectedVideoSequences
+ {
+ get
+ {
+ return _listVideoSequences[SelectedChapter];
+ }
+ set
+ {
+ _listVideoSequences[SelectedChapter] = value;
+ _newBook.Chapters[SelectedChapter].VideoSequences = value;
+ OnPropertyChanged("SelectedVideoSequences");
+ }
+ }
+ private int _selectedChapter=0;
+ public int SelectedChapter
+ {
+ get
+ {
+ return _selectedChapter;
+ }
+ set
+ {
+ _selectedChapter = value;
+ OnPropertyChanged("SelectedChapter");
+ }
+ }
+
+
+
+ private List[] _listSegmentIndex = new List[4];
+ public List SelectedIndex
+ {
+ get
+ {
+ return _listSegmentIndex[SelectedChapter];
+ }
+ set
+ {
+ _listSegmentIndex[SelectedChapter] = value;
+ _newBook.Chapters[SelectedChapter].Index = value;
+ OnPropertyChanged("SelectedIndex");
+ }
+ }
+
+ public ProductionTimeLineVM()
+ {
+ _newBook = new VideoBook();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,84 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.BaseMVVM.ViewModel;
+namespace Iri.Modernisation.Controls.ViewModel
+{
+ public class VideoViewerVM : BaseMVVM.ViewModel.ViewModel
+ {
+
+ private String _source;
+ public String Source
+ {
+ get
+ {
+ return _source;
+ }
+ set
+ {
+ _source = value;
+
+ OnPropertyChanged(null);
+ }
+ }
+ public Uri USource
+ {
+ get
+ {
+ if (Source != null)
+ {
+ return new Uri(Source, UriKind.RelativeOrAbsolute);
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ }
+ public String Info
+ {
+ get
+ {
+ return position + ":" + Source;
+ }
+
+ }
+ private TimeSpan position = new TimeSpan(0,0,0);
+ public TimeSpan Position
+ {
+ get
+ {
+ return position;
+ }
+ set
+ {
+ position = value;
+ //OnPropertyChanged("Position");
+ OnPropertyChanged("Info");
+
+ }
+ }
+ public VideoViewerVM()
+ {
+ Commands.VideoViewer.SendPosition.Executed += new EventHandler(SendPosition_Executed);
+ //Commands.GoToTime.Executed += new EventHandler(GoToTime_Executed);
+ }
+
+ void SendPosition_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ //Position = (TimeSpan)(e.Parameter);
+ }
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/ClassDiagram1.cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/ClassDiagram1.cd Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,112 @@
+
+
+
+
+
+ ACAAAAIAAAACAAIAAABAAAgAAAAAAAAAAAAAAAAAAAA=
+ Models\VideoSequence.cs
+
+
+
+
+
+ AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAA=
+ Models\Annotation.cs
+
+
+
+
+
+
+
+
+ AAABAAAAAAAAAAAACAAAAAAAQAAAAAAAAAAAAAAAAAA=
+ Models\AnnotationSession.cs
+
+
+
+
+
+ AAAAAAAAAAAgAEAAAAAAAAAAAAAAAEAAAgAAAAAAAAA=
+ Models\PolemicElement.cs
+
+
+
+
+
+
+
+
+ AAAAEAAAAAAAAAAAAAAAIAAAAAAAAAAAAQAAAAAAAAA=
+ Models\PolemicLink.cs
+
+
+
+
+
+
+
+
+
+ ACAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQA=
+ Models\SegmentElement.cs
+
+
+
+
+
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ Models\SegmentIndex.cs
+
+
+
+
+
+ AEAAAEAAACAAIACKAMAAACQAAAICACACAQAAAAAAAEA=
+ Models\User.cs
+
+
+
+
+
+
+
+
+
+
+
+
+ AABAAAACAAACAEAAgAAAAAAAAAAAAAAAAAAAAAAAAAA=
+ Models\VideoBook.cs
+
+
+
+
+
+
+
+
+
+
+
+ AAAAAAAAAEAAAEBAAAAAAAAAQAAAAAAAAAEAAAAAAAA=
+ Models\VideoChapter.cs
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AAAAAACAQAAAAAAAAAAABAAAAAAAAAAEAAAAAACAAAA=
+ Models\PolemicElement.cs
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Iri.Modernisation.Data.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Iri.Modernisation.Data.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,92 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {05794257-7163-48E0-B48A-B6666128AC1F}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation.Data
+ Iri.Modernisation.Data
+ v3.5
+ false
+ true
+ true
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTContent.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTContent.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,119 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Classe Abstraite pour les balises Content
+ ///
+ public abstract class LDTContent
+ {
+ ///
+ /// Attribut
+ ///
+ public String Id { get; set; }
+ public LDTContent()
+ { }
+ }
+
+ ///
+ /// Classe Content issue des Annotations
+ ///
+ public class LDTAnnotationsContent : LDTContent
+ {
+ ///
+ /// Attribut
+ ///
+ public String Title { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Author { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Abstract { get; set; }
+ ///
+ /// Elements
+ ///
+ public List Content { get; set; }
+
+ public LDTAnnotationsContent(XElement e)
+ {
+ Content = new List();
+ Id = Title = e.Attribute("id").Value;
+ Title = e.Attribute("title").Value;
+ Author = e.Attribute("author").Value;
+ Abstract = e.Attribute("abstract").Value;
+ foreach (XElement Elem in e.Elements())
+ {
+ Content.Add(new LDTAnnotationsDecoupage(Elem));
+ }
+ }
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("content",
+ new XAttribute("id", Id),
+ new XAttribute("title",Title),
+ new XAttribute("author",Author),
+ new XAttribute("abstract",Abstract)
+ );
+
+ foreach (LDTAnnotationsDecoupage LDTAD in Content)
+ {
+ temp.Add(LDTAD.XML);
+ }
+ return temp;
+ }
+ }
+ }
+
+ ///
+ /// Classe COntent issue des Displays
+ ///
+ public class LDTDisplaysContent : LDTContent
+ {
+ ///
+ /// Elements
+ ///
+ public List Content { get; set; }
+
+ public LDTDisplaysContent(XElement e)
+ {
+ Content = new List();
+
+ Id = e.Attribute("id").Value;
+ foreach (XElement Elem in e.Elements())
+ {
+ Content.Add(new LDTDisplaysDecoupage(Elem));
+ }
+ }
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("content",
+ new XAttribute("id",Id)
+ );
+
+ foreach (LDTDisplaysDecoupage LDTDD in Content)
+ {
+ temp.Add(LDTDD.XML);
+ }
+ return temp;
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTDecoupage.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTDecoupage.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,121 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Classe Abstraite de Base pour la balise Découpage
+ ///
+ public abstract class LDTDecoupage
+ {
+ ///
+ /// Attribut
+ ///
+ public String Id { get; set; }
+ public LDTDecoupage(){}
+
+
+ }
+
+ ///
+ /// Classe Decoupage issue des Annotations
+ ///
+ public class LDTAnnotationsDecoupage : LDTDecoupage
+ {
+ ///
+ /// Attribut
+ ///
+ public String Author { get; set; }
+
+ ///
+ /// Element
+ ///
+ public String Title { get; set; }
+
+ ///
+ /// Element
+ ///
+ public String Abstract { get; set; }
+
+ ///
+ /// Elements
+ ///
+ public List Elements { get; set; }
+
+ public LDTAnnotationsDecoupage(XElement e)
+ {
+ Elements = new List();
+ Id = e.Attribute("id").Value;
+ Author = e.Attribute("author").Value;
+ Title = e.Element("title").Value;
+ Abstract = e.Element("abstract").Value;
+
+ foreach (XElement Elem in e.Element("elements").Elements())
+ {
+ Elements.Add(new LDTElement(Elem));
+ }
+ }
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("decoupage",
+ new XAttribute("id", Id),
+ new XAttribute("author", Author),
+ new XElement("title",Title),
+ new XElement("abstract",Abstract)
+ );
+ XElement Xelements = new XElement("elements");
+ foreach (LDTElement element in Elements)
+ {
+ Xelements.Add(element.XML);
+ }
+ temp.Add(Xelements);
+ return temp;
+ }
+ }
+ }
+
+ ///
+ /// Classe Decoupage issue des Displays
+ ///
+ public class LDTDisplaysDecoupage : LDTDecoupage
+ {
+ ///
+ /// Attribut
+ ///
+ public String IdEns { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String TagsSelect { get; set; }
+
+ public LDTDisplaysDecoupage(XElement e)
+ {
+ Id = e.Attribute("id").Value;
+ IdEns = e.Attribute("idens").Value;
+ TagsSelect = e.Attribute("tagsSelect").Value;
+ }
+ public XElement XML
+ {
+ get
+ {
+ return new XElement("decoupage",
+ new XAttribute("id",Id),
+ new XAttribute("idens",IdEns),
+ new XAttribute("tagsSelect",TagsSelect)
+ );
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTDisplay.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTDisplay.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,92 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Display
+ ///
+ public class LDTDisplay
+ {
+ ///
+ /// Attribut
+ ///
+ public int Id{get;set;}
+ ///
+ /// Attribut
+ ///
+ public String Title{get;set;}
+ ///
+ /// Attribut
+ ///
+ public String IdSel{get;set;}
+ ///
+ /// Attribut
+ ///
+ public int Tc{get;set;}
+ ///
+ /// Attribut
+ ///
+ public int Zoom{get;set;}
+ ///
+ /// Attribut
+ ///
+ public int Scroll{get;set;}
+ ///
+ /// Attribut
+ ///
+ public String InfoBAB{get;set;}
+ ///
+ /// Elements
+ ///
+ public List Content{get;set;}
+ public LDTDisplay(XElement e)
+ {
+ Content = new List();
+
+ Id = int.Parse(e.Attribute("id").Value);
+ Title = e.Attribute("title").Value;
+ IdSel = e.Attribute("idsel").Value;
+ Tc = int.Parse(e.Attribute("tc").Value);
+ Zoom = int.Parse(e.Attribute("zoom").Value);
+ Scroll = int.Parse(e.Attribute("scroll").Value);
+ InfoBAB = e.Attribute("infoBAB").Value;
+
+ foreach (XElement Elem in e.Element("content").Elements())
+ {
+ Content.Add(new LDTDisplaysContent(Elem));
+ }
+ }
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("display",
+ new XAttribute("id",Id),
+ new XAttribute("title",Title),
+ new XAttribute("idsel",IdSel),
+ new XAttribute("tc",Tc),
+ new XAttribute("zoom",Zoom),
+ new XAttribute("scroll",Scroll),
+ new XAttribute("infoBAB",InfoBAB)
+ );
+ foreach (LDTDisplaysContent LDTDC in Content)
+ {
+ temp.Add(LDTDC.XML);
+ }
+ return temp;
+
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTEdit.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTEdit.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,96 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Edit
+ ///
+ public class LDTEdit
+ {
+ ///
+ /// Attribut
+ ///
+ public String Id { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Tags { get; set; }
+ ///
+ /// Elements
+ ///
+ public List eList { get; set; }
+ ///
+ /// Element
+ ///
+ public String Caption { get; set; }
+ ///
+ /// Element
+ ///
+ public String Audio { get; set; }
+ ///
+ /// Elements
+ ///
+ public List mList { get; set; }
+ public LDTEdit(XElement e)
+ {
+ eList = new List();
+ mList = new List();
+
+ Id = e.Attribute("id").Value;
+ Tags = e.Attribute("tags").Value;
+ foreach (XElement Elem in e.Element("eList").Elements())
+ {
+ eList.Add(new LDTInst(Elem));
+ }
+
+ Caption = e.Element("caption").Value;
+ Audio = e.Element("audio").Value;
+
+ foreach (XElement Elem in e.Element("mList").Elements())
+ {
+ mList.Add(new LDTm(Elem));
+ }
+ }
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("edit",
+ new XAttribute("id",Id),
+ new XAttribute("tags",Tags)
+ );
+ /* Ajout de eList */
+ XElement XeList = new XElement("eList");
+ foreach (LDTInst inst in eList)
+ {
+ XeList.Add(inst.XML);
+ }
+ temp.Add(XeList);
+
+ temp.Add(new XElement("caption",Caption));
+ temp.Add(new XElement("audio",Audio));
+
+ /* Ajout de mList */
+ XElement XmList = new XElement("mList");
+ foreach(LDTm m in mList)
+ {
+ XmList.Add(m.XML);
+ }
+ temp.Add(XmList);
+
+ return temp;
+
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTEditing.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTEditing.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,73 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Editing
+ ///
+ public class LDTEditing
+ {
+ ///
+ /// Attribut
+ ///
+ public int Id { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Tags { get; set; }
+ ///
+ /// Element
+ ///
+ public String Title { get; set; }
+ ///
+ /// Element
+ ///
+ public String Abstract { get; set; }
+ ///
+ /// Elements
+ ///
+ public List Edits { get; set; }
+ public LDTEditing(XElement e)
+ {
+ Edits = new List();
+ Id = int.Parse(e.Attribute("id").Value);
+ Tags = e.Attribute("tags").Value;
+ Title = e.Element("title").Value;
+ Abstract = e.Element("abstract").Value;
+ foreach (XElement Elem in e.Elements("edit"))
+ {
+ Edits.Add(new LDTEdit(Elem));
+ }
+ }
+
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("editing",
+ new XAttribute("id",Id),
+ new XAttribute("tags",Tags),
+ new XElement("title",Title),
+ new XElement("abstract",Abstract)
+ );
+
+
+ foreach (LDTEdit edit in Edits)
+ {
+ temp.Add(edit.XML);
+ }
+ return temp;
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTElement.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTElement.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,111 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Element
+ ///
+ public class LDTElement
+ {
+ ///
+ /// Attribut
+ ///
+ public String Id { get; set; }
+ ///
+ /// Attribut
+ ///
+ public long Begin { get; set; }
+ ///
+ /// Attribut
+ ///
+ public long Dur { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Author { get; set; }
+ ///
+ /// Attribut
+ ///
+ public DateTime Date { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int Color { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Src { get; set; }
+ ///
+ /// Element
+ ///
+ public String Title { get; set; }
+ ///
+ /// Element
+ ///
+ public String Abstract { get; set; }
+ ///
+ /// Element
+ ///
+ public String Audio { get; set; }
+ ///
+ /// Elements
+ ///
+ public List Tags { get; set; }
+
+ public LDTElement(XElement e)
+ {
+ Tags = new List();
+
+ Id = e.Attribute("id").Value;
+ Begin = long.Parse(e.Attribute("begin").Value);
+ Dur = long.Parse(e.Attribute("dur").Value);
+ Author = e.Attribute("author").Value;
+ Date = DateTime.Parse(e.Attribute("date").Value);
+ Color = int.Parse(e.Attribute("color").Value);
+ Src = e.Attribute("src").Value;
+ Title = e.Element("title").Value;
+ Abstract = e.Element("abstract").Value;
+ Audio = e.Element("audio").Value;
+ foreach (XElement Str in e.Element("tags").Elements())
+ {
+ Tags.Add(Str.Value);
+ }
+ }
+
+ public XElement XML
+ {
+ get
+ {
+ XElement temp = new XElement("element",
+ new XAttribute("id",Id),
+ new XAttribute("begin",Begin),
+ new XAttribute("dur",Dur),
+ new XAttribute("author",Author),
+ new XAttribute("date",Date.ToString("")),
+ new XAttribute("color",Color),
+ new XAttribute("src",Src),
+ new XElement("title",Title),
+ new XElement("abstract",Abstract),
+ new XElement("audio",Audio)
+ );
+ XElement XTags = new XElement("tags");
+ foreach (String Tag in Tags)
+ {
+ XTags.Add(new XElement("tag", Tag));
+ }
+ temp.Add(XTags);
+ return temp;
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTFile.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTFile.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,145 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Fichier .ldt
+ ///
+ public class LDTFile
+ {
+
+ public String Path { get; set; }
+ ///
+ /// Element
+ ///
+ public LDTProject Project { get; set; }
+
+ ///
+ /// Elements
+ ///
+ public List Medias { get; set; }
+
+ ///
+ /// Elements
+ ///
+ public List Annotations { get; set; }
+
+ ///
+ /// Elements
+ ///
+ public List Displays { get; set; }
+
+
+ ///
+ /// Elements
+ ///
+ public List Edits { get; set; }
+
+ public LDTFile()
+ {
+ Project = new LDTProject();
+ Medias = new List();
+ Annotations = new List();
+ Displays = new List();
+ Edits = new List();
+ }
+ public void Load(String _path)
+ {
+ Path = _path;
+ Load();
+ }
+ public void Load()
+ {
+ if(Path == String.Empty)
+ {
+ throw new Exception("Load Path Needed");
+ }
+ XDocument xdoc = XDocument.Load(Path);
+
+ Project = new LDTProject(xdoc.Root.Element("project"));
+ foreach (XElement Elem in xdoc.Root.Element("medias").Elements())
+ {
+ Medias.Add(new LDTMedia(Elem));
+ }
+
+ foreach (XElement Elem in xdoc.Root.Element("annotations").Elements())
+ {
+ Annotations.Add(new LDTAnnotationsContent(Elem));
+ }
+
+ foreach (XElement Elem in xdoc.Root.Element("displays").Elements())
+ {
+ Displays.Add(new LDTDisplay(Elem));
+ }
+
+ foreach (XElement Elem in xdoc.Root.Element("edits").Elements())
+ {
+ Edits.Add(new LDTEditing(Elem));
+ }
+ }
+ public XDocument XMLFile
+ {
+ get
+ {
+ return new XDocument(XML);
+
+ }
+
+ }
+ public XElement XML
+ {
+ get
+ {
+
+ XElement temp = new XElement("iri",
+ new XAttribute(XNamespace.Xmlns+"dc",@"http://dublincore.org/documents/dcmi-namespace/"),
+ Project.XML
+ );
+
+ //
+ XElement XMedias = new XElement("medias");
+ foreach (LDTMedia media in Medias)
+ {
+ XMedias.Add(media.XML);
+ }
+ temp.Add(XMedias);
+
+ //
+ XElement XAnnotations = new XElement("annotation");
+ foreach (LDTAnnotationsContent annotation in Annotations)
+ {
+ XAnnotations.Add(annotation.XML);
+ }
+ temp.Add(XAnnotations);
+
+ //
+ XElement XDisplays = new XElement("displays");
+ foreach(LDTDisplay display in Displays)
+ {
+ XDisplays.Add(display.XML);
+ }
+ temp.Add(XDisplays);
+
+ //
+ XElement XEdits = new XElement("edits");
+ foreach (LDTEditing edit in Edits)
+ {
+ XEdits.Add(edit.XML);
+ }
+ temp.Add(XEdits);
+ return temp;
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTInst.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTInst.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,98 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise inst
+ ///
+ public class LDTInst
+ {
+ ///
+ /// Attribut
+ ///
+ public String Ref { get; set; }
+ ///
+ /// Attribut
+ ///
+ public long Begin { get; set; }
+ ///
+ /// Attribut
+ ///
+ public long End { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int M { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int V { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int eBegin { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int eEnd { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int TrId { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int TrIc { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int TrOd { get; set; }
+ ///
+ /// Attribut
+ ///
+ public int TrOc { get; set; }
+ public LDTInst(XElement e)
+ {
+ Ref = e.Attribute("ref").Value;
+ Begin = long.Parse(e.Attribute("begin").Value);
+ End = long.Parse(e.Attribute("end").Value);
+ M = int.Parse(e.Attribute("m").Value);
+ V = int.Parse(e.Attribute("v").Value);
+ eBegin = int.Parse(e.Attribute("eBegin").Value);
+ eEnd = int.Parse(e.Attribute("eEnd").Value);
+ TrId = int.Parse(e.Attribute("trId").Value);
+ TrIc = int.Parse(e.Attribute("trIc").Value);
+ TrOd = int.Parse(e.Attribute("trOd").Value);
+ TrOc = int.Parse(e.Attribute("trOc").Value);
+ }
+
+ public XElement XML
+ {
+ get
+ {
+ return new XElement("inst",
+ new XAttribute("ref",Ref),
+ new XAttribute("begin",Begin),
+ new XAttribute("end",End),
+ new XAttribute("m",M),
+ new XAttribute("v",V),
+ new XAttribute("eBegin",eBegin),
+ new XAttribute("eEnd",eEnd),
+ new XAttribute("trId",TrId),
+ new XAttribute("trIc",TrIc),
+ new XAttribute("trOd",TrOd),
+ new XAttribute("trOc",TrOc)
+ );
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTMedia.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTMedia.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,80 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Media
+ ///
+ public class LDTMedia
+ {
+ ///
+ /// Attribut
+ ///
+ public String Id { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String Src { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String Video { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String Pict { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String Extra { get; set; }
+
+ #region Constructors
+
+ public LDTMedia()
+ {
+
+ }
+
+ public LDTMedia(XElement e)
+ {
+ if(e.Name != "media")
+ {
+ throw new Exception("XML node name doesn't match (LDT Media)");
+ }
+ Id = e.Attribute("id").Value;
+ Src = e.Attribute("src").Value;
+ Video = e.Attribute("video").Value;
+ Pict = e.Attribute("pict").Value;
+ Extra = e.Attribute("extra").Value;
+ }
+ #endregion
+ public XElement XML
+ {
+ get
+ {
+ return new XElement("media",
+ new XAttribute("id",Id),
+ new XAttribute("src",Src),
+ new XAttribute("video",Video),
+ new XAttribute("pict",Pict),
+ new XAttribute("extra",Extra)
+ );
+ }
+ }
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTProject.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTProject.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,65 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise Project
+ ///
+ public class LDTProject
+ {
+ ///
+ /// Attribut
+ ///
+ public int Id { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String User { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Title { get; set; }
+ ///
+ /// Attribut
+ ///
+ public String Abstract { get; set;}
+
+ public LDTProject(XElement e)
+ {
+ if (e.Name != "project")
+ {
+ throw new Exception("XML node name doesn't match (LDT Project)");
+ }
+ Id = int.Parse(e.Attribute("id").Value);
+ User = e.Attribute("user").Value;
+ Title = e.Attribute("title").Value;
+ Abstract = e.Attribute("abstract").Value;
+ }
+ public LDTProject()
+ {
+
+ }
+ public XElement XML
+ {
+ get
+ {
+ return new XElement("project",
+ new XAttribute("id",Id),
+ new XAttribute("user",User),
+ new XAttribute("title",Title),
+ new XAttribute("abstract",Abstract)
+ );
+ }
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/LDTm.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/LDTm.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,66 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Xml.Linq;
+namespace Iri.Modernisation.Data.LDTClass
+{
+ ///
+ /// Balise m
+ ///
+ public class LDTm
+ {
+ ///
+ /// Attribut
+ ///
+ public String Ref { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public String T { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public int Id { get; set; }
+
+ ///
+ /// Attribut
+ ///
+ public long C { get; set; }
+
+ ///
+ /// Elements
+ ///
+ public String Content { get; set; }
+ public LDTm(XElement e)
+ {
+ Ref = e.Attribute("ref").Value;
+ T = e.Attribute("t").Value;
+ Id = int.Parse(e.Attribute("id").Value);
+ C = long.Parse(e.Attribute("c").Value);
+ Content = e.Element("content").Value;
+ }
+
+ public XElement XML
+ {
+ get
+ {
+ return new XElement("m",
+ new XAttribute("ref",Ref),
+ new XAttribute("t",T),
+ new XAttribute("id",Id),
+ new XAttribute("c",C),
+ new XElement("content",Content)
+ );
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Ldt/Readers.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Ldt/Readers.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,108 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Iri.Modernisation.Data.Models;
+
+namespace Iri.Modernisation.Data.LDTClass
+{
+ public class LDTFileReader
+ {
+ private LDTFile _ldtFile;
+ private VideoBook _videoBook;
+ public VideoBook VideoBook
+ {
+ get
+ {
+ return _videoBook;
+ }
+ }
+ public LDTFileReader(String LDTPath)
+ {
+ _ldtFile = new LDTFile();
+ _ldtFile.Load(LDTPath);
+ ConvertLdtToVideoBook();
+ }
+ public LDTFileReader(LDTFile ldtFile)
+ {
+ _ldtFile = ldtFile;
+ ConvertLdtToVideoBook();
+ }
+ private void ConvertLdtToVideoBook()
+ {
+ if (_ldtFile != null)
+ {
+ // Initialisation du VideoBook
+ _videoBook = new VideoBook()
+ {
+ Title = _ldtFile.Project.Title,
+ Author = new User()
+ {
+ UserName = _ldtFile.Project.User,
+
+ },
+ Duration = new TimeSpan()
+
+
+ };
+
+ // Initialisation des index
+ foreach (LDTAnnotationsContent LDTAC in _ldtFile.Annotations)
+ {
+ foreach(LDTElement LDTE in LDTAC.Content[2].Elements)
+ {
+ _videoBook.Chapters[0].Index.Add(new SegmentIndex(_videoBook.Chapters[0])
+ {
+ Title = LDTE.Title,
+ Description = LDTE.Abstract,
+ Tags = LDTE.Tags,
+ TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
+ Duration = new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur),
+ });
+ _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur));
+ }
+ foreach (LDTElement LDTE in LDTAC.Content[3].Elements)
+ {
+ _videoBook.Chapters[0].Annotations.Add(new Annotation(_videoBook.Chapters[0])
+ {
+ Title = LDTE.Title,
+ Description = LDTE.Abstract,
+ Tags = LDTE.Tags,
+ TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
+ Duration = new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur+5000)),
+ Type = PolemicElementType.Polemic
+ });
+ // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur)));
+ }
+ foreach (LDTElement LDTE in LDTAC.Content[1].Elements)
+ {
+ _videoBook.Chapters[0].Annotations.Add(new Annotation(_videoBook.Chapters[0])
+ {
+ Title = LDTE.Title,
+ Description = LDTE.Abstract,
+ Tags = LDTE.Tags,
+ TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
+ Duration = new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur),
+ Type = PolemicElementType.Reference
+ });
+ // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur));
+ }
+
+ }
+ // Initialisation des Annotations
+ //Initialisation des Liens
+ }
+ else
+ {
+ throw new Exception("Fichier LDT Null");
+ }
+
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/Annotation.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/Annotation.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,39 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+///
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Classe d'annotation
+ ///
+ public class Annotation : PolemicElement
+ {
+ ///
+ /// Type de l'annotation
+ ///
+ public PolemicElementType Type { get; set; }
+
+ ///
+ /// Auteur de l'annotation
+ ///
+ public User Contributer { get; set; }
+
+ ///
+ /// Constructeur
+ ///
+ /// VideoChapter auquel l'annotation est ratachée
+ public Annotation(VideoChapter Vc)
+ : base(Vc)
+ {
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/AnnotationSession.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/AnnotationSession.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+namespace Iri.Modernisation.Data.Models
+{
+ public class AnnotationSession
+ {
+ public User User { get; set; }
+ public List Annotations {get;set;}
+ public List PolemicLinks{get;set;}
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/PolemicElement.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/PolemicElement.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,82 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Types Polémique
+ ///
+ public enum PolemicElementType
+ {
+ Basic=0,
+ Polemic=1,
+ Adhesion,
+ Reference,
+ Question
+ };
+
+ ///
+ /// Classe PolemicElement
+ ///
+ public abstract class PolemicElement : SegmentElement
+ {
+ #region Attributes
+ ///
+ /// Titre de l'élément
+ ///
+ public String Title {get;set;}
+ ///
+ /// Description de l'élément
+ ///
+ public String Description { get; set; }
+ ///
+ /// Tags de l'élément
+ ///
+ public List Tags { get; set; }
+ ///
+ /// VideoChapter auquel l'annotation est ratachée
+ ///
+ public VideoChapter Chapter { get; set; }
+
+ #endregion
+ ///
+ /// Constructeur par défaut
+ ///
+ protected PolemicElement()
+ {
+ Tags = new List();
+ }
+
+ ///
+ /// Constructeur
+ ///
+ /// VideoChapter auquel l'annotation est ratachée
+ public PolemicElement(VideoChapter Vc):base()
+ {
+ Chapter = Vc;
+ Tags = new List();
+ }
+
+ ///
+ /// Constructeur par copie
+ ///
+ /// Element à copier
+ public PolemicElement(PolemicElement copy): base(copy)
+ {
+
+ this.Title = copy.Title;
+ this.Description = copy.Description;
+ this.Tags = new List(copy.Tags);
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/PolemicLink.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/PolemicLink.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,34 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Liens polémique
+ ///
+ public class PolemicLink
+ {
+ ///
+ /// Element d'origine du lien
+ ///
+ public PolemicElement FromElement { get; set; }
+
+ ///
+ /// Element de destination du lien
+ ///
+ public PolemicElement ToElement { get; set; }
+
+ ///
+ /// Type du lien
+ ///
+ public PolemicElementType Type { get; set; }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/SegmentElement.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/SegmentElement.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,52 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ ///
+ ///
+ public abstract class SegmentElement
+ {
+ ///
+ /// Temps d'entrée
+ ///
+ public TimeSpan TimerIn{get;set; }
+ ///
+ /// Temps de sortie
+ ///
+ public TimeSpan TimerOut{ get;set;}
+ ///
+ /// Durée du segment
+ ///
+ public TimeSpan Duration
+ {
+ get { return TimerOut - TimerIn; }
+ set { TimerOut = TimerIn + value; }
+ }
+ ///
+ /// Constructeur par défaut
+ ///
+ public SegmentElement()
+ {
+ }
+ ///
+ /// Constructeur par copie
+ ///
+ /// Element à copier
+ public SegmentElement(SegmentElement copy)
+ {
+ this.TimerIn = copy.TimerIn;
+ this.TimerOut = copy.TimerOut;
+ }
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/SegmentIndex.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/SegmentIndex.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,28 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Index des chapitres créé par l'auteur d'un vidéo livre
+ ///
+ public class SegmentIndex : PolemicElement
+ {
+ ///
+ /// Constructeur
+ ///
+ /// VideoChapter Référant
+ public SegmentIndex(VideoChapter Vc)
+ : base(Vc)
+ {
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/User.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/User.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,56 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Classe utilisateur
+ ///
+ public class User
+ {
+ #region Profil Minimum
+ public String UserName { get; set; }
+ public String Password { get; set; }
+ public String Email { get; set; }
+ #endregion
+
+ #region Profil avancé
+ public bool IsAdvancedProfilePublic { get; set; }
+ public String Name { get; set; }
+ public String FirstName { get; set; }
+ public int Age { get; set; }
+ public String Gender { get; set; }
+ public String City { get; set; }
+ public String Country { get; set; }
+ public String WebSite { get; set; }
+ public Dictionary SocialNetworks { get; set; }
+
+ #endregion
+
+ #region Informations personnelles
+ public bool IsPersonnalInformationsPublic { get; set; }
+ public String PratiquesAmateurs { get; set; }
+ public String Interest { get; set; }
+ public String Job { get; set; }
+ public List Biography { get; set; }
+ #endregion
+
+ ///
+ /// Constructeur par défaut;
+ ///
+ public User()
+ {
+ SocialNetworks = new Dictionary();
+ }
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/VideoBook.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/VideoBook.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,70 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Classe VideoLivre
+ ///
+ public class VideoBook
+ {
+ ///
+ /// Titre du VideoLivre
+ ///
+ public String Title { get; set; }
+
+ ///
+ /// Auteur du VideoLivre
+ ///
+ public User Author { get; set; }
+
+ ///
+ /// Chapitre du VideoLivre
+ ///
+ public VideoChapter[] Chapters { get; set; }
+
+ ///
+ /// Durée du VideoLivre
+ ///
+ public TimeSpan Duration { get; set; }
+
+ ///
+ /// Chemin de la vidéo fini
+ ///
+ public String MediaPath { get; set; }
+
+ ///
+ /// Constructeur par défaut
+ ///
+ public VideoBook()
+ {
+ Chapters = new VideoChapter[4];
+ Chapters[0] = new VideoChapter(this,"Modernisation");
+ Chapters[1] = new VideoChapter(this, "Modernité");
+ Chapters[2] = new VideoChapter(this, "Post-Modernité");
+ Chapters[3] = new VideoChapter(this, "Ouverture");
+
+ }
+
+
+ }
+
+ ///
+ /// Comparateur pour Trier les livres
+ ///
+ public class VideoBookComparer : IComparer
+ {
+ public int Compare(VideoBook x, VideoBook y)
+ {
+ return x.Title.CompareTo(y.Title);
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/VideoChapter.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,63 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Chapitre d'un VideoLivre
+ ///
+ public class VideoChapter
+ {
+ ///
+ /// VideoLivre
+ ///
+ public VideoBook Book {get;set;}
+
+ ///
+ /// Titre du chapitre
+ ///
+ public String Title { get; set; }
+
+ ///
+ /// Liste des index contenu dans le chapitre
+ ///
+ public List Index { get; set; }
+
+ ///
+ /// Liste des annotations contenu dans le chapitre
+ ///
+ public List Annotations { get; set; }
+
+ ///
+ /// Sequence Vidéo contenu dans le chapitre
+ ///
+ public List VideoSequences { get; set; }
+
+ ///
+ /// Constructeur
+ ///
+ /// Nom du chaptire
+ public VideoChapter(VideoBook fromBook,String name)
+ {
+ Book = fromBook;
+ Title = name;
+ Index = new List();
+ Annotations = new List();
+ VideoSequences = new List();
+
+ }
+
+
+
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Models/VideoSequence.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/VideoSequence.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,62 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Data.Models
+{
+ ///
+ /// Classe représentant les segments Vidéo que l'utilisateur enregistre via la web cam et modifie (trimming)
+ /// via l'application
+ ///
+ public class VideoSequence : SegmentElement
+ {
+ ///
+ /// Chemin d'accès à la vidéo
+ ///
+ public String Path { get; set; }
+
+ ///
+ /// Temps de la video (Absolue - sans recadrage)
+ ///
+ public TimeSpan RunTime { get; set; }
+
+ ///
+ /// Recadrage à gauche (Débuter la vidéo plus tard)
+ ///
+ public TimeSpan BeginTrim { get; set; }
+
+ ///
+ /// Recadrage à droite (Finir la vidéo plus tôt
+ ///
+ public TimeSpan EndTrim { get; set; }
+
+ ///
+ /// Temps de la vidéo (Effectif - avec les recadrage)
+ ///
+ public new TimeSpan Duration
+ {
+ get
+ {
+ return RunTime - (BeginTrim + EndTrim);
+ }
+
+ }
+
+ public new TimeSpan TimerOut
+ {
+ get
+ {
+ return TimerIn + Duration;
+ }
+ }
+
+
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Data/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation.Data")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Institut de recherche et d'innovation")]
+[assembly: AssemblyProduct("Iri.Modernisation.Data")]
+[assembly: AssemblyCopyright("Copyright © Institut de recherche et d'innovation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("784761df-f3ee-4f85-8345-0be0a7b878bb")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Iri.Modernisation.Styles.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Iri.Modernisation.Styles.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,92 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {7E49C574-7520-4CCD-932C-74D62673702A}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation.Styles
+ Iri.Modernisation.Styles
+ v3.5
+ false
+ true
+ true
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+ False
+ ..\..\res\lib\Berico.Windows.Controls.dll
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+ MSBuild:MarkupCompilePass1
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation.Styles")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Institut de recherche et d'innovation")]
+[assembly: AssemblyProduct("Iri.Modernisation.Styles")]
+[assembly: AssemblyCopyright("Copyright © Institut de recherche et d'innovation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("d6bb689e-3916-4868-9d2d-1160c527d725")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Templates_AnnotationMaker.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Templates_AnnotationMaker.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Templates_Binder.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Templates_Binder.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Templates_CommonTemplate.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Templates_CommonTemplate.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,8 @@
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Templates_ConsultMenu.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Templates_ConsultMenu.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.Styles/Templates_MainWindow.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Styles/Templates_MainWindow.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,232 @@
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation.sln
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.sln Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,50 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation", "Iri.Modernisation\Iri.Modernisation.csproj", "{ED790C83-AC5E-4357-96A1-81B468E99582}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation.Controls", "Iri.Modernisation.Controls\Iri.Modernisation.Controls.csproj", "{A54E46A6-2438-46A4-8253-9B868F529052}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation.Data", "Iri.Modernisation.Data\Iri.Modernisation.Data.csproj", "{05794257-7163-48E0-B48A-B6666128AC1F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation.Styles", "Iri.Modernisation.Styles\Iri.Modernisation.Styles.csproj", "{7E49C574-7520-4CCD-932C-74D62673702A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation.BaseMVVM", "Iri.Modernisation.BaseMVVM\Iri.Modernisation.BaseMVVM.csproj", "{78F73254-9730-418B-84F5-9F7F3EB8F029}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Iri.Modernisation.Test.MainInterface", "..\test\mainInterface\Iri.Modernisation.Test.MainInterface\Iri.Modernisation.Test.MainInterface.csproj", "{05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {ED790C83-AC5E-4357-96A1-81B468E99582}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ED790C83-AC5E-4357-96A1-81B468E99582}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ED790C83-AC5E-4357-96A1-81B468E99582}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ED790C83-AC5E-4357-96A1-81B468E99582}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A54E46A6-2438-46A4-8253-9B868F529052}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A54E46A6-2438-46A4-8253-9B868F529052}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A54E46A6-2438-46A4-8253-9B868F529052}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A54E46A6-2438-46A4-8253-9B868F529052}.Release|Any CPU.Build.0 = Release|Any CPU
+ {05794257-7163-48E0-B48A-B6666128AC1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {05794257-7163-48E0-B48A-B6666128AC1F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {05794257-7163-48E0-B48A-B6666128AC1F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {05794257-7163-48E0-B48A-B6666128AC1F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7E49C574-7520-4CCD-932C-74D62673702A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7E49C574-7520-4CCD-932C-74D62673702A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7E49C574-7520-4CCD-932C-74D62673702A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7E49C574-7520-4CCD-932C-74D62673702A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}.Release|Any CPU.Build.0 = Release|Any CPU
+ {05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/App.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/App.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/App.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/App.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,66 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation
+{
+ public partial class App : Application
+ {
+
+ public App()
+ {
+ this.Startup += this.Application_Startup;
+ this.Exit += this.Application_Exit;
+ this.UnhandledException += this.Application_UnhandledException;
+
+ InitializeComponent();
+ }
+
+ private void Application_Startup(object sender, StartupEventArgs e)
+ {
+ this.RootVisual = new MainPage();
+ }
+
+ private void Application_Exit(object sender, EventArgs e)
+ {
+
+ }
+ private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
+ {
+ // If the app is running outside of the debugger then report the exception using
+ // the browser's exception mechanism. On IE this will display it a yellow alert
+ // icon in the status bar and Firefox will display a script error.
+ if (!System.Diagnostics.Debugger.IsAttached)
+ {
+
+ // NOTE: This will allow the application to continue running after an exception has been thrown
+ // but not handled.
+ // For production applications this error handling should be replaced with something that will
+ // report the error to the website and stop the application.
+ e.Handled = true;
+ Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); });
+ }
+ }
+ private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e)
+ {
+ try
+ {
+ string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace;
+ errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n");
+
+ System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");");
+ }
+ catch (Exception)
+ {
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/Iri.Modernisation.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/Iri.Modernisation.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,131 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {ED790C83-AC5E-4357-96A1-81B468E99582}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation
+ Iri.Modernisation
+ v3.5
+ true
+
+
+ true
+ true
+ Iri.Modernisation.xap
+ Properties\AppManifest.xml
+ Iri.Modernisation.App
+ TestPage.html
+ true
+ true
+ false
+ Properties\OutOfBrowserSettings.xml
+ false
+ true
+
+
+ 3.0.1927.0
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+ False
+ ..\..\res\lib\Berico.Windows.Controls.dll
+ True
+
+
+ False
+ ..\..\res\lib\HackingSilverlightLibrary.dll
+
+
+ False
+ ..\..\res\lib\SLExtensions.dll
+
+
+
+
+
+
+
+
+
+
+
+ App.xaml
+
+
+ MainPage.xaml
+
+
+
+
+
+ Designer
+ MSBuild:MarkupCompilePass1
+
+
+ Designer
+ MSBuild:MarkupCompilePass1
+
+
+
+
+
+
+
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}
+ Iri.Modernisation.BaseMVVM
+
+
+ {A54E46A6-2438-46A4-8253-9B868F529052}
+ Iri.Modernisation.Controls
+
+
+ {05794257-7163-48E0-B48A-B6666128AC1F}
+ Iri.Modernisation.Data
+
+
+ {7E49C574-7520-4CCD-932C-74D62673702A}
+ Iri.Modernisation.Styles
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/MainPage.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/MainPage.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/MainPage.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/MainPage.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+using Iri.Modernisation.Controls.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.LDTClass;
+using Iri.Modernisation.Data.Models;
+
+namespace Iri.Modernisation
+{
+ public partial class MainPage : UserControl
+ {
+ public MainPage()
+ {
+
+ InitializeComponent();
+
+ }
+ private void Start()
+ {
+ List SelectedVideoBooks = new List();
+ // Initialisation des commandes //
+ Commands.Initialize();
+ Commands.FlipView.Executed += new EventHandler(FlipView_Executed);
+ //-----------------------------------------//
+
+
+ // Initialisation des Components //
+ ConsultationViewElement.DataContext = new ConsultationViewVM();
+ NavigationBarElement.DataContext = new NavigationBarVM() { ConsultMenuViewModel = new ConsultMenuVM(SelectedVideoBooks) };
+ HeaderControlElement.DataContext = new HeaderControlVM();
+ ProductionViewElement.DataContext = new HeaderProductionVM();
+ //------------------------------------------------------//
+
+ }
+ void FlipView_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ Commands.VideoViewer.Pause.Execute();
+ FlipTest.ExecuteFlip();
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/Properties/AppManifest.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/Properties/AppManifest.xml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,7 @@
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/src/Iri.Modernisation/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Institut de recherche et d'innovation")]
+[assembly: AssemblyProduct("Iri.Modernisation")]
+[assembly: AssemblyCopyright("Copyright © Institut de recherche et d'innovation 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("365b27ed-9be3-4a62-97ea-a204d1dbfec7")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/App.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/App.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/App.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/App.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,66 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+
+namespace Iri.Modernisation.Test.MainInterface
+{
+ public partial class App : Application
+ {
+
+ public App()
+ {
+ this.Startup += this.Application_Startup;
+ this.Exit += this.Application_Exit;
+ this.UnhandledException += this.Application_UnhandledException;
+
+ InitializeComponent();
+ }
+
+ private void Application_Startup(object sender, StartupEventArgs e)
+ {
+ this.RootVisual = new MainPage();
+ }
+
+ private void Application_Exit(object sender, EventArgs e)
+ {
+
+ }
+ private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
+ {
+ // If the app is running outside of the debugger then report the exception using
+ // the browser's exception mechanism. On IE this will display it a yellow alert
+ // icon in the status bar and Firefox will display a script error.
+ if (!System.Diagnostics.Debugger.IsAttached)
+ {
+
+ // NOTE: This will allow the application to continue running after an exception has been thrown
+ // but not handled.
+ // For production applications this error handling should be replaced with something that will
+ // report the error to the website and stop the application.
+ e.Handled = true;
+ Deployment.Current.Dispatcher.BeginInvoke(delegate { ReportErrorToDOM(e); });
+ }
+ }
+ private void ReportErrorToDOM(ApplicationUnhandledExceptionEventArgs e)
+ {
+ try
+ {
+ string errorMsg = e.ExceptionObject.Message + e.ExceptionObject.StackTrace;
+ errorMsg = errorMsg.Replace('"', '\'').Replace("\r\n", @"\n");
+
+ System.Windows.Browser.HtmlPage.Window.Eval("throw new Error(\"Unhandled Error in Silverlight Application " + errorMsg + "\");");
+ }
+ catch (Exception)
+ {
+ }
+ }
+ }
+}
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-I-bernard_stiegler-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-I-bernard_stiegler-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,548 @@
+
+
+
+
+
+
+
+
+ THD-Culture
+
+
+
+
+ Chapitres
+
+
+
+ 0 / Intermède autour de la notion de technique
+
+
+
+
+
+ 1 / De la nécessité de la philia
+
+
+
+
+
+ 2 / Relations sociales et réseaux sociaux
+
+
+
+
+
+ 3 / Grammatisation, socialisation et contrôle social
+
+
+
+
+
+ 4 / Pharmacologie des réseaux sociaux
+
+
+
+
+
+ 5 / Pour en finir avec les fossés générationnels
+
+
+
+
+
+ 6 / Les appareils critiques collaboratifs: un projet de l'IRI pour une refondation du social à l'ère numérique
+ pour une nouvelle forme de socialisation
+pour un nouveau visage
+
+
+
+
+
+
+ Séquences
+
+
+
+ 0 / Intermède autour de la notion de technique
+
+
+
+ Gille Bertrand
+ Heidegger
+ technique
+
+
+
+ 1.1 / Aristote, la philia et les réseaux sociaux
+
+
+
+ ami
+ amitié
+ amour
+ Aristote
+ philia
+ réseaux sociaux
+ technologie relationnelle
+
+
+
+ 2.1 / Facebook ou l'amitié déclarée
+
+
+
+ amitié
+ extime
+ Facebook
+ performatif
+
+
+
+ 2.2 / Facebook et l'auto-profilage ou auto-sociographie, un outil de renouvellement social?
+
+
+
+ Facebook
+ indexation
+ individuation
+ lien social
+ marketing
+ profilage
+ publicité
+ sociation
+
+
+
+ 2.3 / Le social détruit par les technologies qui le formalisent? Pas sûr.
+
+
+
+ formalisation
+ lien social
+ Lévi-Strauss Claude
+ social networks
+ Tristes Tropiques
+
+
+
+ 3.1 / La philia réflexive, une caractéristique des sociétés politiques
+
+
+
+ auto-anthropologie
+ Facebook
+ individuation réflexive
+ lien social
+
+
+
+ 3.2 / L'écriture, une technologie de formalisation des relations sociales
+
+
+
+ formalisation
+ Hopi
+ langage
+ relation sociale
+ écriture
+
+
+
+ 3.3 / La grammatisation du sociale ou l'Occident
+
+
+
+ citoyenneté
+ grammatisation
+ relation sociale
+ transindividuation
+
+
+
+ 3.4 / Définition de la transindividuation
+
+
+
+ citoyenneté
+ grammatisation
+ relation sociale
+ transindividuation
+
+
+
+ 3.5 / Avec Foucault, l'écriture comme biopouvoir
+
+
+
+ biopouvoir
+ contrôle
+ Foucault Michel
+ individuation
+ société disciplinaire
+ écriture
+
+
+
+ 3.6 / Citation de Foucault: l'examen, un moyen de contrôle des individus par l'écrit
+
+
+
+ biopouvoir
+ examen
+ société de contrôle
+
+
+
+ 3.7 / Le fichage individuel par le marketing ou le danger de contrôle à l'ère numérique
+
+
+
+ contrôle
+ discrétisation
+ liberté
+ marketing
+ numérisation
+ réseaux sociaux
+ société
+ traçabilité
+
+
+
+ 4.1 / Les réseaux sociaux sont "pharmacologiques"
+
+
+
+ contrôle
+ Deleuze Gilles
+ individuation
+ pharmacon
+ réseaux sociaux
+
+
+
+ 4.2 / Pour un avenir des réseaux sociaux comme agents de réflexivité
+
+
+
+ avenir
+ Deleuze Gilles
+ réseaux sociaux
+ société de contrôle
+
+
+
+ 4.3 / Le malaise sociétal et la corrosion de la socialité pré-numérique
+
+
+
+ catastrophe
+ civilisation industrielle
+ psycho-pouvoir
+ réseaux sociaux
+ Tchernobyl
+
+
+
+ 4.4 / Les nouvelles formes de lien social viendront de ce qui a engendré leur délitement
+
+
+
+ attention sociale
+ grammatisation
+ génération
+ individuation
+ réseaux sociaux
+ société
+
+
+
+ 4.5 / Les réseaux sociaux numériques, des substituts au lien social traditionnel
+
+
+
+ critique
+ lien social
+ pharmacon
+ recherche
+ réseaux sociaux
+ Simondon Gilbert
+ substitut
+
+
+
+ 5.1 / Les adolescents et les réseaux sociaux: une philia et un désir d'échanges
+
+
+
+ adolescent
+ consommation
+ peer-to-peer
+ philia
+ réseaux sociaux
+
+
+
+ 5.2 / Les espaces publiques numérisés permettent aux jeunes une rupture avec les réseaux télévisés
+
+
+
+ espace publique numérisé
+ identification secondaire
+ philia
+ réseaux sociaux
+ télévision
+
+
+
+ 5.3 / L'intégration des différents types de réseaux sociaux traditionnels dans la sphère numérique: la fin du fossé intergénérationnel
+
+
+
+ groupe social
+ individuation
+ intergénérationnel
+ réseaux sociaux
+
+
+
+ 5.4 / La nécessité d'une maturité
+
+
+
+ adulte
+ Centre Pompidou
+ culture moderne
+ infantilisation
+ réseaux sociaux
+
+
+
+ 6.1 / L'agencement du web social et sémantique, le projet web 3.0 de l'IRI
+
+
+
+ bottom up
+ IRI (Institut de Recherche et d'Innovation)
+ réseaux sociaux
+ top down
+ transindividuation
+ web 3.0
+
+
+
+ 6.2 / Un projet de combinaison de logiques top down et bottom up pour un espace intergénérationnel
+
+
+
+ groupe social
+ Kant Emmanuel
+ méta-stabilité
+ règles
+ top down
+ transindividuation
+ Université de Tokyo
+
+
+
+ 6.3 / Les appareils critiques de l'IRI, des outils pour une intelligence collective
+
+
+
+ amateur
+ appareil critique
+ cinéaste
+ compétence
+ connaissance
+ expert
+ IRI (Institut de Recherche et d'Innovation)
+ Ligne de Temps
+ synchristallisation
+ transindividuation
+
+
+
+ L'amateur, une figure importante
+
+
+
+ amateur
+ philia
+ société
+
+
+
+ Conclusion et présentation de la suite du séminaire
+
+
+
+
+
+
+
+ Notes et Références
+
+
+
+ Bertrand Gille (1920-1980), archiviste et historien français
+
+
+
+ Gille Bertrand
+
+
+
+ Heidegger et la technique
+
+
+
+
+
+ Aristote
+ amis = base du social
+amitié = lien social sans lequel pas de société
+
+
+ Aristote
+
+
+
+ Gustave Flaubert, "Bouvard et Pécuchet"
+
+
+
+ Bouvard et Pécuchet
+ Flaubert Gustave
+
+
+
+ Facebook croit de 10 millions de membres par mois
+
+
+
+ Facebook
+
+
+
+ Claude Levi-Strauss, expérience de transgression sociale chez les Nambiquara dans "Tristes Tropiques"
+
+
+
+ Lévi-Strauss Claude
+ Nambiquara
+ transgression sociale
+ Tristes Tropiques
+
+
+
+ Les Hopi groupe des Indiens Pueblos d'Amérique du Nord
+
+
+
+
+
+ Aby Moritz Warburg (1866- 1929), historien de l'art
+
+
+
+ Warburg Aby Moritz
+
+
+
+ Michel Foucault
+
+
+
+
+
+ Citation de "Surveiller et punir" de Michel Foucault
+
+
+
+
+
+ Gilles Deleuze et les concepts de société de contrôle et de modulation
+
+
+
+
+
+
+
+
+
+ Beck Ulrich
+ modernité
+
+
+
+ Thomas Gaon, Séminaire IRI "Désir et technologies"- séance du 26 juin 2008
+
+
+
+ Gaon Thomas
+
+
+
+ Sigmund Freud
+
+
+
+ Freud Sigmund
+
+
+
+ Ferdinand de Saussure
+
+
+
+ Saussure Ferdinand de
+
+
+
+ Emmanuel Kant
+
+
+
+ Kant Emmanuel
+
+
+
+ Alain bergala et Jean-Louis Comolli
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-II-antoine_masson-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-II-antoine_masson-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+
+
+ Notes et Références
+
+
+
+ ENMI 2008 / Antoine Masson : Médiation technologique et modalités de désir et de transfert à l'adolescence
+
+
+
+
+
+
+
+
+
+
+
+ Paul Ceylan
+
+
+
+ Ceylan Paul
+
+
+
+ Saudade de Pesoa
+
+
+
+ Pesoa Fernando
+ saudade
+
+
+
+ Baudelaire et le spleen
+
+
+
+ Baudelaire Charles
+ spleen
+
+
+
+ Octavio Paz
+
+
+
+ Paz Octavio
+
+
+
+ Sigmund Freud, impact social de l'invention de la psychanalyse
+
+
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Problématiques de l'adolescence à l'heure d'Internet
+
+
+
+
+
+ 2 / passado.be ou comment dialoguer avec l'adolescence
+
+
+
+
+
+ 3 / Conclusions
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Introduction: passado.be, un dispositif clinique et technique
+ <a href="http://www.passado.be/">site web passado.be</a>
+
+
+ dispositif clinique
+ dispositif technique
+ Internet
+ passado.de
+
+
+
+ 1.2 / Définition de l'adolescence
+
+
+
+ adolescence
+ identité
+ jeunesse
+ société
+ violence
+
+
+
+ 1.3 / Contexte de naissance du projet passado.de
+
+
+
+ adolescence
+ adolescent
+ grammatisation
+ Internet
+ société
+ technologie
+ vectorisation
+
+
+
+ 1.4 / Internet, un espace social paradoxal
+
+
+
+ adolescence
+ Internet
+ lien social
+ sujet
+ vitesse
+
+
+
+ 2.1 / Lecture du texte fondateur de passado.be
+
+
+
+ adolescence
+ construction individuelle
+ individu
+ passado.be
+
+
+
+ 2.2 / passado.be : un espace interactif pour accompagner l'adolescence
+
+
+
+ adolescent
+ appropriation
+ destruction
+ dispositif
+ engagement
+ passado.be
+ pseudonyme
+ site web
+ solitude
+ sujet
+ temporalité
+ trace
+
+
+
+ 2.3 / Fonctionnement du site: la place des adolescents et le rôle des animateurs-psychologues
+
+
+
+ animateur
+ charte
+ discussion clinique
+ inscription
+ message
+ mot de passe
+ échange
+
+
+
+ 2.4 / Objectifs : développer un espace où la médiation permet une adresse à soi-même
+
+
+
+ adolescent
+ altérité
+ charte
+ interlocuteur
+ je
+ médiation
+ suicide
+ écriture
+
+
+
+ 2.5 / Les animateurs-psychologues, garant d'une dynamique de groupe et d'une intervention au cas par cas
+
+
+
+ adolescent
+ animateur
+ attention
+ demande
+ groupe
+ hypomnemata
+ interaction
+ message
+ psychiatre
+
+
+
+ 2.6 / Autre enjeu: éviter la dépendance et la fascination, par la pluralité
+
+
+
+ adolescent
+ amour
+ animateur
+ corps
+ expérience
+ fascination
+ indépendance
+ lire
+ parler
+ responsabilité
+ réalité
+ sexualité
+ symétrie
+ écrire
+
+
+
+ 3.1 / Le dispositif virtuel ne chasse pas la physicalité: "Virtuel en corps"
+ FAIRE LE LIEN VERS LA JOURN2E VIRTUEL ENCORE
+
+
+ corps
+ psychiatre
+ responsabilité
+ réalité
+ virtuel
+
+
+
+ 3.2 / De l'importance que l'adolescent ait sa place dans l'espace social
+
+
+
+ adolescent
+ adulte
+ amateur
+ autorité
+ dissymétrie
+ Freud Sigmund
+ parole
+ rite de passage
+ social
+
+
+
+
+
+ THD-Culture
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-III_elizabethrosse-psychologie_et_reseaux_sociaux-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-III_elizabethrosse-psychologie_et_reseaux_sociaux-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,523 @@
+
+
+
+
+
+
+
+
+ Notes et références
+
+
+
+ plan 0
+
+
+
+
+
+ Herbert Marshall McLuhan (1911-1980), chercheur canadien
+
+
+
+ Mc Luhan Herbert Marshall
+
+
+
+ Centre Médical Marmottant
+ <a href="http://www.hopital-marmottan.fr/">Centre Médical Marmottan</a>
+
+
+ Centre Médical Marmottant
+
+
+
+ addiction à utiliser avec vigilance
+
+
+
+ addiction
+
+
+
+ World of Warcraft réunit plus de 10 millions de personnes en janvier 2008, selon Blizzard (éditeur du jeu)
+
+
+
+ World of Warcraft
+
+
+
+ Paul Ricoeur, "Parcours de la reconnaissance", Editions Stock-2004
+
+
+
+ Ricoeur Paul
+
+
+
+ Michel Maffesoli né en 1944 - sociologue français
+
+
+
+ Maffesoli Michel
+ sociologue
+
+
+
+ Spinoza
+ Spinoza distingue:
- la puissance qui s'attache au contrôle de soi;
- et le pouvoir qui s'exerce sur les autres par la compétence, l'argent ou le sexe
+
+
+ pouvoir
+ puissance
+ Spinoza
+
+
+
+ Les sims
+ <a href="http://www.sims2.fr/pages.view_frontpage.asp">Les Sims</a>
+
+
+ sims
+
+
+
+
+
+ THD-Culture
+
+
+
+
+ Séquences
+
+
+
+ 1.1- Remerciements
+
+
+
+
+
+ 1.2- Avec Mc Luhan, le message, c'est le médium. Comment donc le message est-il modifié par la nouvelle médiation technologique: le numérique
+
+
+
+ MacLuhan
+ médiation technologique
+ technologie numérique
+
+
+
+ 1.3- Le Centre Médical Marmottant et les addictions sans drogue: le jeu vidéo
+
+
+
+ addiction
+ Centre Médical Marmottant
+ hardcore gamer
+
+
+
+ 1.4- Addiction et jeu vidéo: un rapport marginal mais instructif
+
+
+
+ addiction
+ jeu vidéo
+
+
+
+ 1.5- World of Warcraft: le MMORPG le plus pratiqué
+
+
+
+ jeu de rôle en ligne massivement multi-joueurs
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+ World of Warcraft
+
+
+
+ 2.1- Eléments d'addiction des MMORPG: un univers, des mondes persistants, un fonctionnement en groupes
+
+
+
+ addiction
+ jeu de rôle en ligne massivement multi-joueurs
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+
+
+
+ 2.2- Problématique: en quoi le jeu vidéo contribue à la construction créative de l'adolescent et à la destruction parallèle éventuelle, par abus et non pas par nature, de la réalité affective, familliale et sociale?
+
+
+
+ désocialisation
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+ socialisation
+ virtuel
+
+
+
+ 3.1- Plan: avec Paul Ricoeur autour des trois facettes de la notion de reconnaissance
+ désir de reconnaissance = dans un parcours, implique une succesion de processus inter-dépendants.
3 significations de "reconnaissance":
- identifié
- être reconnu
- se reconnaître (reflexivité)
+
+
+ changement social
+ génération
+ réalité affective
+
+
+
+ 3.2- Premièrement, le processus d'identification
+
+
+
+ adolescent
+ désir
+ identification
+ identité
+ intérêt
+ jeu virtuel
+ jeune
+ réalité
+ société de consommation
+ standardisation
+
+
+
+ 3.3- Identification et éléments de socialisation
+
+
+
+ famille
+ jeu vidéo
+ parent
+ socialisation
+
+
+
+ 3.4- Identification et multiplicité
+
+
+
+ agrégation
+ communauté
+ groupe
+ identité
+ socialisation
+
+
+
+ 3.5- Jeux virtuels, fonctionnement en guildes et implication du joueur
+
+
+
+ autorité
+ communauté virtuelle
+ communication
+ forum
+ guilde
+ implication
+ joueur
+ réseau social
+
+
+
+ 3.6- Deuxièmement: se reconnaître, une ouverture à la réflexivité
+
+
+
+ adolescence
+ adolescent
+ consommateur
+ existence sociale
+ temps
+ travail
+
+
+
+ 3.7- Sentiment d'unité et jeux virtuels
+
+
+
+ avatar
+ identité
+ jeu
+ roleplay
+ rôle
+ temps
+ unité
+
+
+
+ 3.8- Jeux virtuels et rôles du joueurs dans le jeu
+
+
+
+ avatar
+ joueur
+ leveling
+ personnage
+ roleplay
+ rôle
+
+
+
+ 3.9- Jeu et sentiment d'"être ensemble"
+
+
+
+ communauté
+ extime
+ identité
+ interaction
+ intime
+ jeu
+
+
+
+ 3.10- Se reconnaître par le pouvoir et la puissance
+ distonction par Spinoza :
- la puissance s'attache au contrôle de soi;
- et le pouvoir s'exerce sur les autres par la compétence, l'argent ou le sexe
+
+
+ histoire
+ joueur
+ pouvoir
+ puissance
+ Spinoza
+ temporalité
+
+
+
+ 3.11- Troisièmement, être reconnu: un phénomène corporel
+
+
+
+ corps
+ norme
+ reconnaissance
+ représentation
+
+
+
+ 3.12- Technologies numériques et dévoilement de soi: tout en discrétion!
+ roisièmement, être reconnu: paraît ce que tu es, soit ce que tu parais / technologies numériques et dévoilement progressif de soi et discrétion, maitrîse
+
+
+ adolescent
+ authenticité
+ communication
+ réel
+ technologie numérique
+ virtuel
+
+
+
+ 3.13- Rapport au sexe féminin
+
+
+
+ adolescent
+ joueur
+ mort
+ sexualité
+ spectaculaire
+
+
+
+ 3.14- Rapport à la mort
+
+
+
+ jeu
+ Les Sims
+ mort
+
+
+
+ 4.1- Conclusion 1/ MMORPG, lien social et rapport à soi
+
+
+
+ identité
+ Internet
+ lien social
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+
+
+
+ 4.2- Conclusion 2 / L'importance de ne pas stigmatiser la différence réalité/jeu virtuel
+
+
+
+ jeu
+ norme
+ pathologie
+ réalité
+ virtuel
+
+
+
+ 4.3- Conclusion 3 / L'avatar, une sortie de la figure bourgeoise de spectateur
+
+
+
+ avatar
+ créateur
+ interactivité
+ joueur
+ participation
+ spectateur
+
+
+
+ 4.4- Conclusion 4 / L'addiction au jeu vidéo et la libido juvénile
+ L'addiction au jeu vidéo serait-elle donc cette dernière ruse du désir errant déterritorialisé, intemporalisé, gaspilleur d'énergie libidinale juvénile et refusant ou plutôt retardant l'insertion dans les réalités sociales et économiques toujours plus virtuelles les unes que les autres?
Auraient-elles d'ailleurs, ces énergies libidinales, choisies sans le savoir Foucault contre Deleuze, c'est-à-dire la réalité d'un plaisir réel et potentiellement déréalisant face à la virtualité d'un désir infini qu'aucune médiation technologique n'arrive à définir ou satisfaire?
+
+
+ addiction
+ adolescent
+ désir
+ réalité
+ réalité sociale
+ réalité économique
+
+
+
+
+
+ Mon découpage
+
+
+
+
+
+
+
+ tibo
+
+
+
+
+
+ Chapitres
+
+
+
+ 1- Le Centre Médical Marmottant, une approche des addictions au MMORPG
+
+
+
+ addiction
+ Centre Médical Marmottant
+ médiation technologique
+ technologie numérique
+
+
+
+ 2- Démonstration et présentation de World of Warcraft
+
+
+
+ addiction
+ désocialisation
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+ socialisation
+ virtuel
+
+
+
+ 3- Jeux virtuels et enjeux identitaires et sociaux
+
+
+
+ adolescent
+ changement social
+ communauté
+ corps
+ désir
+ famille
+ identification
+ identité
+ interaction
+ norme
+ réalité
+ réel
+ réseau social
+ société de consommation
+ standardisation
+ technologie numérique
+ temporalité
+ virtuel
+
+
+
+ 4- Conclusions
+
+
+
+ identité
+ Internet
+ jeu
+ lien social
+ MMORPG (Massively Multiplayer Online Role-Playing Game)
+ norme
+ participation
+ pathologie
+ spectateur
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Pitch
+
+
+
+
+
+
+
+
+
+
+
+
+ Elisabeth Rossé, Psychologue au Centre Médical Marmottant.
Jeux virtuels et reconnaissance identitaire juvénile
Les entretiens du nouveau
monde industriel 2008
- Psychologie et réseaux sociaux -
+
+
+ ENMI08-III_elizabethrosse/iiielizabethrosse.flv
+
+
+ ENMI08-III_elizabethrosse/iiielizabethrosse.flv
+
+
+ ENMI08-III_elizabethrosse/iiielizabethrosse.flv
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-IV-dominiquepasquier-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-IV-dominiquepasquier-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,410 @@
+
+
+
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / La sociabilité juvénile
+
+
+
+ adolescent
+ choix culturel
+ groupe
+ Pasquier Dominique
+ sociabilité
+ technologies relationnelles
+
+
+
+ 2 / La sociabilité intergénérationnelle abîmée
+
+
+
+ adolescent
+ génération
+ individualisation
+ Pasquier Dominique
+ sociabilité
+ socialisation
+ technologies relationnelles
+ transmission
+
+
+
+ 3 / Quantification et monstration de ses relations dans les réseaux sociaux
+
+
+
+ Adolescent
+ capital relationnel
+ marchandisation
+ Pasquier Dominique
+ quantité
+ relation sociale
+ socialisation
+ technologies relationnelles
+
+
+
+ 4 / Pistes de réflexions
+
+
+
+ capital culturel
+ inégalité sociale
+ lien faible
+ Pasquier Dominique
+ sociabilité
+ technologies relationnelles
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Que changent les technologies relationnelles dans la sociabilité juvénile?
+
+
+
+ adolescent
+ sociabilité
+ technologies relationnelles
+
+
+
+ 1.2 / Profils de la sociabilité juvénile
+
+
+
+ adolescent
+ engagement
+ groupe
+ lien faible
+ lien fort
+ réseau social
+ sexe
+ sociabilité
+ âge
+
+
+
+ 1.3 / Le paradoxe de la prégnance d’une socialité superficielle
+
+
+
+ adolescent
+ choix culturel
+ conformisme
+ culture lycéenne
+ individualité
+ lien faible
+ mise en scène
+
+
+
+ 1.4 / Sociabilité juvénile: un rapport à l'intimité différencié par le sexe
+
+
+
+ adolescent
+ clivage
+ groupe
+ intimité
+ réseau social
+ sexe
+ sociabilité
+
+
+
+ 2.1 / Quels changements dans la sociabilité juvénile, les technologies relationnelles apportent-elles dans les relations à distance?
+
+
+
+ adolescent
+ distance
+ interaction
+ sociabilité
+ technologies relationnelles
+
+
+
+ 2.2 / Le développement de l'autonomie culturelle juvénile depuis les années 70
+
+
+
+ adolescent
+ autonomie
+ culture
+ intergénération
+ technologies relationnelles
+ transmission
+ âge
+
+
+
+ 2.3 / D'une autonomie culturelle à une autonomie relationnelle
+
+
+
+ adolescent
+ autonomie
+ conflit
+ conflit de génération
+ culture
+ famille
+ génération
+ individualisation
+ intergénération
+ relation sociale
+ socialisation
+ technologies relationnelles
+
+
+
+ 2.4 / D’un conformisme au père au conformisme des pairs
+
+
+
+ adolescent
+ conformisme
+ génération
+ héritage
+ relation sociale
+ ressemblance
+
+
+
+ 3.1 / La sociabilité juvénile: groupes sociaux et valeur de la popularité
+
+
+
+ adolescent
+ capital relationnel
+ culture juvénile
+ insertion sociale
+ Parsons Talcott Edger
+ popularité
+ socialisation
+
+
+
+ 3.2 / Les réseaux sociaux à l'heure des technologies relationnelles: quantité de liens et leur validation par les pairs
+
+
+
+ Chine
+ existence sociale
+ migrant
+ quantification
+ reconnaissance
+ relation sociale
+ réseau social
+ technologies relationnelles
+ téléphone mobile
+
+
+
+ 3.3 / Lien entre réseaux sociaux et origines sociales
+
+
+
+ capital relationnel
+ origine sociale
+ outil relationnel
+ relation sociale
+ signalement
+ volume
+
+
+
+ 3.4 / Technologies relationnelles et tendance au développement des liens faibles
+
+
+
+ lien faible
+ lien social
+ quantification
+ relation sociale
+ technologies relationnelles
+
+
+
+ 3.5 / De la quantification des relations sociales à leur utilitarisme
+
+
+
+ ''Les sentiments du capitalisme''
+ capital social
+ Illouz Eva
+ marchandisation
+ marketing
+ relation sociale
+ réseau social
+ technologies relationnelles
+ utilité
+
+
+
+ 4.1 / Les technologies relationnelles: facteur d'inégalités sociales et de liens faibles?
+
+
+
+ capital culturel
+ inégalité sociale
+ lien faible
+ sociabilité
+ technologies relationnelles
+
+
+
+
+
+ THD-Culture
+
+
+
+ Hua LINSHAN, Isabelle THIREAU , "Liens personnels, expressions, repères d'identification : Actions expressives et nouveaux supports de communication en Chine" -2005
+ <a href="http://cat.inist.fr/?aModele=afficheN&cpsidt=17519518">Résumé et références de l'étude</a>
+
+
+ Chine
+ existence sociale
+ migrant
+ quantification
+ reconnaissance
+ relation
+ réseau social
+ technologies relationnelles
+ téléphone mobile
+
+
+
+
+
+ Notes et références
+
+
+
+ plan 0
+
+
+
+
+
+ Claire Bidart, sociologue française contemporaine
+
+
+
+ Bidart Claire
+ sociologue
+
+
+
+ Etude du Dominique Pasquier "Cultures lycéennes. La tyrannie de la majorité", Ed. Autrement (Coll. « Mutations » 235), 2005
+ <a href="http://www.sceren.fr/RevueDEES/notelecture/200603-02.htm">Présentation de l'étude "Cultures lycéennes. La tyrannie de la majorité "</a>
+
+
+ culture lycéenne
+ Pasquier Dominique
+
+
+
+ "La tyrannie de la majorité", expression de Hannah Arendt
+
+
+
+
+
+ travaux anglais sur les sous cultures juvéniles des années 50
+
+
+
+
+
+ Talcott Edger Parsons est un sociologue américain (1902-1979)
+
+
+
+ Parsons Talcott Edger
+ sociologue
+
+
+
+ Luc Boltanski et Ève Chiapello, "Le nouvel esprit du capitalisme", Gallimard -1999.
+
+
+
+ Boltanski Luc
+ Chiapello Ève
+
+
+
+ Hua LINSHAN, Isabelle THIREAU , "Liens personnels, expressions, repères d'identification : Actions expressives et nouveaux supports de communication en Chine" -2005
+ <a href="http://cat.inist.fr/?aModele=afficheN&cpsidt=17519518">Résumé et références de l'étude</a>
+
+
+ LINSHAN Hua
+ THIREAU Isabelle
+
+
+
+ Eva Illouz, "Les sentiments du capitalisme.", trad. par Jean-Pierre Ricard, Seuil, 2006
+ <a href="http://www.revue-lebanquet.com/docs/c_0001298.html">Présentation de l'ouvrage</a>
+
+
+ ''Les sentiments du capitalisme''
+ Illouz Eva
+
+
+
+ Jean-Samuel Beuscart, sociologue français contemporain
+
+
+
+ Beuscart Jean-Samuel
+ sociologue
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-IX_bernardbenhamou-jauffret-v03.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-IX_bernardbenhamou-jauffret-v03.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,349 @@
+
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Présentation de Bernard Benhamou par Bernard Stiegler
+
+
+
+
+
+ 1.2 / En quoi l'Internet des réseaux sociaux va entraîner une nouvelle forme économique, sociale et politique?
+
+
+
+ Internet
+ politique
+ réseaux sociaux
+ société
+ économie
+
+
+
+ 1.3 / Internet va se désolidariser du support "ordinateur"
+
+
+
+ Internet
+ ordinateur
+ téléphone mobile
+
+
+
+ 1.4 / L'ordinateur: une plateforme qui exclut pour des raisons cognitives
+
+
+
+ cognition
+ exclusion
+ interface graphique
+ ordinateur
+
+
+
+ 1.5 / Les nouveaux supports de l'Internet mobile: un secteur économique en plein essor
+
+
+
+ application
+ application mobile
+ Internet mobile
+ Iphone
+ modèle économique
+ secteur économique
+ support
+
+
+
+ 2.1 / Développement et nature des réseaux sociaux
+
+
+
+ annuaire
+ changement social
+ Copains d'avant
+ Facebook
+ re-création
+ réseaux sociaux
+
+
+
+ 2.2 / L'avatar, un élément social en devenir
+
+
+
+ adresse e-mail
+ avatar
+ carte de visite
+ enfermement
+ participation
+ protection
+ représentation de soi
+ social
+
+
+
+ 3.1 / L'architecture des réseaux, un choix (politique) déterminant les usages et leurs limites
+
+
+
+ architecture de l'Internet
+ choix politique
+ citoyenneté
+ organisation
+ requests for comments
+ ressources
+ réseau
+ usage
+
+
+
+ plan 0
+
+
+
+
+
+ 3.2 / Principes de fonctionnement du réseau Internet: une décentralisation de l'autorité vers des utilisateurs créateurs
+
+
+
+ application
+ devoirs de l'utilisateur
+ droits de l'utilisateur
+ développement
+ end to end
+ Internet
+ réseau
+ structuration d'Internet
+ système décentralisé
+ utilisateur
+
+
+
+ 3.3 / Facebook ou les limites éthiques des possibilités techniques
+
+
+
+ application
+ Facebook
+ Internet
+ intrusion
+ observation
+ surveillance
+ usager
+ utilisateur
+ vie privée
+ éthique
+
+
+
+ 4.1 / L'avenir est dans la (réalité) vie augmentée
+
+
+
+ objet communiquant
+ radio-identification
+ RFID
+ réalité augmentée
+ service
+ vie augmentée
+
+
+
+ 5.1 / L'Europe, doit jouer un rôle dans la structuration de l'Internet du futur
+
+
+
+ Europe
+ puissance
+ téléphone mobile 3G
+ utilisateur
+ économie structurée
+
+
+
+ 5.2 / La difficile transposition des services entre zones culturelles, un élément positif pour les économies locales
+
+
+
+ acculturation
+ Californie
+ emploi
+ Etats-Unis
+ Europe
+ externalisation
+ informatique
+ infrastructure locale
+ modèle économique
+ patrimoine
+ qualité
+ service local
+ société de services
+ usager
+ éco-système
+
+
+
+ 5.3 / L'implantation de "Meetic" en Italie, exemple d'un échec
+
+
+
+ acculturation
+ barrière à l'entrée
+ chaîne de valeurs
+ coût
+ culture nationale
+ emploi
+ Italie
+ Meetic
+ modèle économique
+ service
+
+
+
+ 6.1 / Conférence de la Présidence Française de l'Union Européenne "Internet des objets, Internet du futur", les 6 et 7 octobre 2008à Nice Acropolis
+ <a href="http://www.internet2008.fr/">Conférence Européenne Internet du Futur, Internet des Objets</a>
+
+
+ Internet des objets
+ Internet du futur
+ Présidence de l'Union Européenne
+
+
+
+ 6.2 / "Le droit au silence des puces", un élément fondamental pour la préservation des libertés
+
+
+
+ confiance
+ contrainte économique
+ droit au silence des puces
+ droit fondamental
+ identité
+ information statistique
+ Internet
+ Internet des objets
+ liberté d'expression
+ liberté individuelle
+ objet communiquant
+ profil
+ profilage
+ puce RFID
+ surveillance
+ vie privée
+ économie
+
+
+
+
+
+ Notes et références
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Internet des réseaux sociaux et Internet des objets: portrait d'un avenir proche
+
+
+
+ Benhamou Bernard
+
+
+
+ 2 / Réseaux sociaux et représentation de soi
+
+
+
+ Benhamou Bernard
+
+
+
+ 3 / Ethique et technique d'Internet
+
+
+
+ Benhamou Bernard
+
+
+
+ 4 / L'avenir est dans la "vie augmentée"
+
+
+
+ Benhamou Bernard
+
+
+
+ 5/ Modèle économique et spécificités culturelles: pour une Europe influente dans l'Internet du Futur
+
+
+
+ Benhamou Bernard
+
+
+
+ 6 /Conclusion: éthique et réussite économique de l'Internet du Futur
+
+
+
+ Benhamou Bernard
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-VIII_michelgensollen-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-VIII_michelgensollen-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,477 @@
+
+
+
+
+
+
+
+
+ Notes et Références
+
+
+
+ François Flahault: l'économie isole le consommateur et néglige ce qui dans la fonction d'utilité serait le rapport à l'autre
+
+
+
+ Flahault François
+
+
+
+ Paul Seabright, "The Company of Strangers" -2005
+
+
+
+ Seabright Paul
+ The Company of Strangers
+
+
+
+ Karl Polanyi (1886-1964), économiste
+
+
+
+
+
+ Michel Crozier, né en 1922, sociologue français
+
+
+
+
+
+ modèle de Girard et Lacan: l'autre désigne ce que je désire
+
+
+
+
+
+ formation culturelle des utilités: j'aime les biens d'autant plus qu'ils sont support de rapports à l'autre ou à moi-même
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Quelles sont les conséquences sur l’économie de l’émergence des réseaux sociaux sur Internet ?
+
+
+
+ Internet
+ modification
+ réseaux sociaux
+ économie
+
+
+
+ 1.2 / Remarque 1: Web2.0 , l’émergence de nouvelles structures interactionnelles
+
+
+
+ interaction
+ Internet
+ praticien
+ structure interactionnelle
+ théoricien
+ vente
+ web 2.0
+ économie
+
+
+
+ 1.3 / Remarque 2: les "social networks" sont utilisés mais massivement vécus comme une nuisance
+
+
+
+ audience
+ logiciel
+ nuisance
+ satisfaction
+ site
+ social networks
+
+
+
+ 1.4 / Remarque 3: Définition des réseaux sociaux contributifs comme "média de masse symétrique"
+
+
+
+ communauté en ligne
+ MMS (Média de Masse Symétrique)
+ plateforme d'interaction
+ régulation
+ réseaux sociaux
+ échange
+
+
+
+ 1.4 / Plan de l'intervention
+ plan :
1) qu’est-ce que le lien social pour un économiste ? comment l’économie se représente le lien social ? en a-t-elle besoin ou pas ?
2) quel est le rôle économique du lien social ? pourquoi l’économie devrait s’y intéresser ? (génération de la confiance et fonctions d’utilité)
3) Rappel de ce que sont les médias de masse asymétriques ?
4) dans quelle mesure les média de masse sont différents ?et donc portent des conséquences différentes sur la macro économie?
5) quelle est cette économie induite par les MMS (Médias de Masse Symétriques) ? non traité.
+
+
+ confiance
+ fonction d'utilité
+ lien social
+ MMA (Média de Masse Asymétrique)
+ MMS (Média de Masse Symétrique)
+ rôle économique
+ économie
+
+
+
+ 2.1 / L'économie néo-classique néglige la place du rapport à l'autre
+
+
+
+ anonymat
+ bien
+ chose
+ fonction d'utilité
+ goût
+ homme
+ lien social
+ marché
+ motivation
+ praticien
+ rapport
+ relation
+ rôle
+ science économique
+ économie libérale
+ économie néoclassique
+
+
+
+ 2.2 / L'économie standard ne peut pas penser la nouvelle économie sur Internet
+
+
+
+ fonction d'utilité
+ goût
+ interaction sociale
+ Internet
+ lien social
+ marché
+ nouvelle économie
+ relation
+ rôle
+ science économique
+ économiste
+
+
+
+ 2.3 / Confiance et "jeu répété" dans l'économie : théorie des jeux et notion de mémoire des acteurs économiques
+
+
+
+ confiance
+ confiance systémique
+ culture
+ doute
+ institution
+ interaction sociale
+ jeu répété
+ lien social
+ marché
+ règle
+ économie
+
+
+
+ 2.4 / L'économie, les règles universelles abstraites et leur détournement social par les acteurs
+
+
+
+ bureaucratie
+ confiance
+ Crozier Michel
+ hiérarchie
+ jeu répété
+ lien social
+ marché
+ rapport commercial
+ règle
+ économie
+ économiste
+
+
+
+ 2.5 / Le « bien » culturel: une consommation fondée sur l’interaction sociale et dont la finalité est l'interaction sociale
+
+
+
+ apprentissage culturel
+ bien
+ bien culturel
+ consommation
+ construit d'interaction
+ critique collective
+ Crozier Michel
+ Internet
+ Lacan Jacques
+ reconnaissance
+ relation sociale
+ usage
+ utilité
+ échange
+
+
+
+ Formation des usages par une critique collective
+
+
+
+ bien
+ critique collective
+ usage
+ échange
+
+
+
+ Formation des usages par un "débuggage collectif"
+
+
+
+
+
+ Formation sociale des goûts
+
+
+
+
+
+ formation culturelle des utilités: j'aime les biens d'autant plus qu'ils sont support de lien social ou de réflexivité
+
+
+
+
+
+ 3.1 / Les médias de masse asymétriques: économie de l'audience, flux et fragilité
+
+
+
+ audience
+ confiance
+ contenu
+ demande
+ fonction d'utilité
+ gestionnaire
+ MMA (Média de Masse Asymétrique)
+ publicité
+ site
+ échange
+ émetteur
+
+
+
+ 3.2 / Les médias de masse symétriques: contenus diversifiés, prédominance du modèle publicitaire et faibles coûts de fonctionnement
+
+
+
+ audience
+ contrainte économique
+ corpus
+ coûts
+ diversité
+ interférence
+ MMS (Média de Masse Symétrique)
+ participation
+ publicité
+ qualité
+ recette commerciale
+ responsabilité
+ site d'interaction
+ stock
+
+
+
+ 4.1 / Lien social sur les plateformes culturelles: un lien fondé sur l’adhésion aux contenus et aux goûts des acteurs
+
+
+
+ corpus
+ goût
+ identité
+ individu
+ lien social
+ média
+ médiateur
+ échange
+
+
+
+ 4.2 / La contribution sur une plateforme culturelle: un coût contributif faible et le désir de reconnaissance
+
+
+
+ altruisme
+ autrui
+ bénéfice
+ coût
+ désir
+ exister
+ identité
+ motivation
+ participation
+
+
+
+ 4.3 / L'utilisation, la maintenance et l’animation d'une plateforme culturelle: les enjeux centraux pour le gestionnaire de site
+
+
+
+ corpus
+ coût
+ gestionnaire
+ organisation
+ plateforme
+ site
+ utilisation
+ échange
+
+
+
+ 4.4 / Lien sur les plateformes sociales: l'identité et la « fermeture transitive »
+
+
+
+ confiance
+ corpus
+ identité
+ individu
+ lien
+ sociogramme
+
+
+
+ 4.5 / Lien sur les plateformes sociales: un désir de confiance
+
+
+
+ confiance
+ lien
+ plateforme sociale
+ systématique
+
+
+
+ L’esprit des avatars produit par Internet ouvre-t-il un champ de responsabilité limitée par le flou planant sur les identités?
+
+
+
+ identité
+ Internet
+ législation
+ responsabilité
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Introduction
+
+
+
+ Internet
+ modification
+ réseaux sociaux
+ social networks
+ web 2.0
+ échange
+ économie
+
+
+
+ 2 / Définition et place du lien social dans la théorie économique néoclassique
+
+
+
+ bien culturel
+ confiance systémique
+ consommation
+ fonction d'utilité
+ goût
+ homme
+ Internet
+ lien social
+ marché
+ motivation
+ nouvelle économie
+ relation
+ règle
+ usage
+ utilité
+ économie
+ économie néoclassique
+
+
+
+ 3 / Comparaison des médias de masse symétriques et asymétriques
+
+
+
+ audience
+ contenu
+ MMA (Média de Masse Asymétrique)
+ MMS (Média de Masse Symétrique)
+ site
+ site d'interaction
+
+
+
+ 4 / Plateformes culturelles et sociales, des espaces d'information et de confiance
+
+
+
+
+
+ L’esprit des avatars produit par Internet ouvre-t-il un champ de responsabilité limitée par le flou planant sur les identités?
+
+
+
+ identité
+ Internet
+ législation
+ responsabilité
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-V_danadiminescu-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-V_danadiminescu-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,434 @@
+
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Faire "réseau": une compétence migratoire
+
+
+
+ compétence
+ migrant
+ réseau
+ économie
+
+
+
+ 1.2 / Malaise ethnologique: la distinction migrant/sédentaire, une distinction caduque
+
+
+
+ ethnologie
+ malaise
+ migrant
+ étude
+
+
+
+ 1.3 / De l'importance d'un nouveau modèle épistémologique autour de la figure du migrant connecté
+
+
+
+ changement
+ ethnologie
+ manifeste
+ migrant connecté
+ migration
+ épistémologie
+
+
+
+ 1.4 / Le concept de "double absence" de Sayad : le migrant déraciné et sans nouvelles attaches, un modèle obsolète
+
+
+
+ Bourdieu Pierre
+ double absence
+ migrant
+ modèle d'étude
+ Sayad Abdelmalek
+ technologies de la communication
+ épistémologie
+
+
+
+ 1.5 / De l'importance de penser la vie du migrant en terme de continuité
+
+
+
+ complexité
+ continuité
+ destin
+ migrant
+ rupture
+ technologies de la communication
+
+
+
+ 2.1 / Le capital d'accès, un matériel prolongeant l'habitat
+
+
+
+ capital d'accès
+ connexion
+ habitat
+ habitèle
+ migrant
+ portabilité
+ réseau
+
+
+
+ 2.2 / Mutation de la nature de l'hospitalité recherchée par le migrant
+
+
+
+ changement
+ connexion
+ fracture numérique
+ habitat
+ habitèle
+ hospitalité
+ intégration
+ migrant
+
+
+
+ 2.3 / L'intégration passe maintenant par le fait de rester connecté
+
+
+
+ connexion
+ intégration
+ migrant
+ réseau numérique
+
+
+
+ 2.4 / De la trajectoire migratoire à la traçabilité migratoire
+
+
+
+ flux migratoire
+ histoire personnelle
+ localisation
+ migrant
+ trajectoire migratoire
+ traçabilité
+ traçabilité migratoire
+
+
+
+ 2.5 / La frontière informatique: une frontière individualisée par les pays d'accueil
+
+
+
+ frontière
+ frontière géographique
+ frontière informatique
+ Kafka Franz
+ migrant
+
+
+
+ 2.6 / La frontière informatique: nouvelle source d'informations pour les pays d'origine
+
+
+
+ base de données
+ information
+ migrant
+ migration
+ nation
+ pays d'origine
+ politique d'émigration
+ projet
+ ressource
+
+
+
+ - 2.7 / Importance des transferts d'argent ou "l’économie des fourmis", (selon Alain Tarius)
+
+
+
+ corridor
+ migrant
+ réseau
+ transfert d'argent
+ économie
+
+
+
+ 2.8 / Un système bancaire appuyé sur le réseau des téléphones mobiles
+ <a href="http://www.prnewswire.co.uk/cgi/news/release?id=190426">Article sur le projet Global Money Transfer </a>
+
+
+ banque
+ corridor
+ migrant
+ transfert d'argent
+ téléphone mobile
+ économie
+
+
+
+ 3.1 / Territoire numérique et migrants
+
+
+
+ diaspora
+ numérique
+ parcours
+ physique
+ web
+
+
+
+ 3.2 / Le web dans les diasporas
+
+
+
+ communauté
+ diaspora
+ document
+ migrant
+ média électronique
+ rencontre
+ web
+ échange
+
+
+
+ 3.3 / Le web 1.0: un espace pour les communautés de diaspora
+
+
+
+ communauté
+ diaspora
+ pays d'origine
+ web1.0
+ webmaster
+
+
+
+ 3.4 / Le web 2.0 ou l'explosion des diasporas
+
+
+
+ diaspora
+ migration
+ plateforme
+ site Internet
+ web 2.0
+
+
+
+ 3.5 / Le web 2.0 ou "vie là-bas est partie prenante de la vie ici"
+
+
+
+ frontière culturelle
+ frontière géographique
+ migrant
+ réseau
+ structuration
+ web 2.0
+
+
+
+ 4.1 / Le web 2.0: lieu d'artisans plutôt que d'amateurs?
+
+
+
+ amateur
+ artisan
+ web 2.0
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Pour une refonte de la figure du migrant
+
+
+
+ changement
+ Diminescu Dana
+ déracinement
+ malaise
+ manifeste
+ migrant
+ réseau
+ technologies de la communication
+ épistémologie
+ étude
+
+
+
+ 2 / Les migrations à l'ère numérique: « habitèle », traçabilité et économie
+
+
+
+ connexion
+ Diminescu Dana
+ fracture numérique
+ frontière
+ habitèle
+ information
+ migrant
+ politique migratoire
+ trajectoire migratoire
+ traçabilité migratoire
+ économie
+
+
+
+ 3 / Du web 1.0 au web 2.0, migrants et diasporas sur Internet
+
+
+
+ Diminescu Dana
+
+
+
+ 4 / Le web 2.0: lieu d'artisans plutôt que d'amateurs?
+
+
+
+ Diminescu Dana
+
+
+
+
+
+ Notes et Références
+
+
+
+ Exemple de présence du lointain dans un logement de migrants philippins
+
+
+
+ migrant
+ philippin
+ réseau numérique
+
+
+
+ Abdelmalek Sayad (1933-1998), sociologue. "La double absence. Des illusions de l'émigré aux souffrances de l'immigré" Paris, Seuil, 1999
+ <a href="http://www.cairn.info/article.php?ID_REVUE=LPM&ID_NUMPUBLIE=LPM_002&ID_ARTICLE=LPM_002_0159">Présentation du livre de A.Sayad: "La Double Absence. Des illusions de l’émigré aux souffrances de l’immigré"</a>
+
+
+ double absence
+ Sayad Abdelmalek
+ sociologue
+
+
+
+ Photographie d'éléments d'un capital d'accès
+
+
+
+ capital d'accès
+
+
+
+ Dominique Boullier, sociologue français né en 1954, notion d'habitèle
+
+
+
+ Boullier Dominique
+ habitèle
+
+
+
+ Franz Kafka, récit d'une nouvelle
+
+
+
+ Kafka Franz
+
+
+
+ Alain Tarius
+
+
+
+ Tarius Alain
+
+
+
+ plan 0
+
+
+
+
+
+ Arjun Appadurai: Ethnoscape
+ Disjuncture and Difference in the Global Cultural Economy:
<a href="http://www.intcul.tohoku.ac.jp/~holden/MediatedSociety/Readings/2003_04/Appadurai.html">Article de Arjun Appadurai</a>
+
+
+ Appadurai
+ Arjun
+ ethnoscape
+
+
+
+ Khachig Tölölyan, sociologue américaine, rédacteur de la revue Diaspora
+
+
+
+ revue Diaspora
+ sociologue
+ Tölölyan Khachig
+
+
+
+
+
+ THD-Culture
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XIII_francoisbourdoncle-jauffret.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XIII_francoisbourdoncle-jauffret.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,356 @@
+
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1 / Introduction et problématique: que peut-on faire avec des réseaux sociaux d'un point de vue industriel?
+
+
+
+ Exalead
+ modèle économique
+ réseaux sociaux
+
+
+
+ 2.1 / Les logiciels d'Exalead: spécificités et tendances
+
+
+
+ application
+ client
+ Exalead
+ information
+ information non structurée
+ modèle économique
+ moteur de recherche
+ service
+
+
+
+ 2.2 / Les clients d'Exalead
+
+
+
+ acteur
+ application
+ client
+ concurrence
+ entreprise
+ Exalead
+ Google
+ grand public
+ online
+ part de marché
+
+
+
+ 2.3 / Le site Internet Exalead.com
+
+
+
+ Exalead.com
+ revenu
+ site Internet
+
+
+
+ 3.1 / Deux types de moteurs de recherche: les modèles généraliste et vertical
+
+
+
+ modèle généraliste
+ modèle vertical
+ modèle économique
+ moteur de recherche
+
+
+
+ 3.2 / Le moteur de recherche généraliste domine les pratiques et l'économie
+
+
+
+ commerce
+ logiciel spécialisé
+ marché
+ moteur de recherche
+ moteur de recherche généraliste
+
+
+
+ 3.3 / Les réseaux sociaux, bientôt un module et plus une application en soi
+
+
+
+ Internet
+ offre technique
+ réseau spécialisé
+ réseaux sociaux
+ spécialisation
+ économie
+ élément
+ élément social
+
+
+
+ 3.4 / Contexte de développement d'Internet et des réseaux sociaux
+
+
+
+ changement de société
+ communauté
+ développement
+ Internet
+ réseaux sociaux
+
+
+
+ 4.1 / Baagz, l'expérimentation d'Exalead sur les réseaux sociaux par centres d'intérêt
+
+
+
+ Baagz
+ bookmark
+ centre d'intérêt
+ classement
+ réseaux sociaux
+ web sémantique
+
+
+
+ 4.2 / Baagz, un outil de mise en relation des internautes par la sémantique
+
+
+
+ Baagz
+ centre d'intérêt
+ classement
+ contenu
+ descripteur
+ description
+ mise en relation
+ réseaux sociaux
+ site Internet
+ utilisateur
+ web sémantique
+
+
+
+ 4.3 / Difficulté rencontrée 1: la logique verticale
+
+
+
+ application
+ diagnostique
+ logique horizontale
+ logique verticale
+ réseaux sociaux
+ utilité
+
+
+
+ 4.4 / Difficulté rencontrée 2: le modèle de publicité
+
+
+
+ annonceur
+ modèle économique
+ moteur de recherche
+ publicité
+ réseaux sociaux
+ taux de clics
+
+
+
+ 5.1 / Repositionnement de Baagz comme ajout de social à de l'existant
+
+
+
+ Baagz
+ contenu
+ Internet
+ outil informatique
+ élément social
+
+
+
+ 5.2 / Le passage d'un logiciel à l'échelle, un objectif compliqué
+
+
+
+ contenu
+ grand public
+ Internet
+ logiciel
+ modèle économique
+ public spécialisé
+ référencement
+ utilisateur
+ échelle économique
+
+
+
+ 5.3 / Baagz version 2: un interface professionnel
+
+
+
+ Baagz
+ blog
+ information
+ interface
+ site de média
+ site Internet
+ web 2.0
+
+
+
+ 5.4 / Baagz version 2: la convergence des outils d'information
+
+
+
+ Baagz
+ convergence
+ interface
+ outil
+ outil d'information
+
+
+
+ 5.5 / Baagz version 2: un outil pour faciliter l'enrichissement des sites Internet
+
+
+
+ agrégateur de contenus
+ Baagz
+ bookmark
+ enrichissement de contenus
+ moteur de recherche
+ site Internet
+ thématique
+ user generated content
+
+
+
+ 5.6 / Baagz version 2: une logique d'information communautaire par centre d'intérêt
+
+
+
+ Baagz
+ contenu
+ enrichissement de contenus
+ feed feature
+ fil Internet
+ site communautaire
+ site Internet
+ thématique
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Introduction et problématique: que peut-on faire avec des réseaux sociaux d'un point de vue industriel?
+
+
+
+ Bourdoncle François
+
+
+
+ 2 / Business model de la société Exalead
+
+
+
+ B to B
+ Bourdoncle François
+
+
+
+ 3 / Moteurs de recherche et réseaux sociaux, quelles tendance?
+
+
+
+ Bourdoncle François
+
+
+
+ 4 / Une expérimentation associant pratiques des réseaux sociaux et moteurs de recherche sémantique
+
+
+
+ annonceur
+ application
+ Bourdoncle François
+ centre d'intérêt
+ classement
+ contenu
+ descripteur
+ mise en relation
+ modèle économique
+ réseaux sociaux
+ utilité
+ web sémantique
+
+
+
+ 5 / Baagz version 2: le logiciel d'Exalead agrégateur de contenus thématiques
+
+
+
+ agrégateur de contenus
+ B to B
+ Baagz
+ Bourdoncle François
+ communauté de bookmarks
+ enrichissement de contenus
+ information
+ interface
+ Internet
+ outil d'information
+ thématique
+ user generated content
+ web 2.0
+ élément social
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XIV_alainmille-jauffret-v01.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XIV_alainmille-jauffret-v01.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,533 @@
+
+
+
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Introduction + plan
+
+
+
+ trace
+
+
+
+ 1.2 / Définition générale de "trace"
+
+
+
+ activité
+ environnement
+ indice
+ processus
+ trace
+
+
+
+ 1.3 / La trace informatique
+
+
+
+ action
+ environnement informatique
+ espace
+ ordinateur
+ séquence informatique
+ temps
+ trace informatique
+ utilisateur
+ évènement informatique
+
+
+
+ 1.4 / L'environnement informatique , c’est quoi ?
+
+
+
+ action
+ application
+ distance
+ environnement informatique
+ réagir
+ réseau informatique
+
+
+
+ 1.5 / Environnement informatique et tendance au développement de l’interaction
+
+
+
+ action
+ activité
+ distance
+ interaction
+ prothèse cognitive
+ serveur informatique
+ simultanéité
+ temps
+ trace
+ utilisateur
+
+
+
+ 2.1 / L'importance des capacités d'un environnement à gérer intelligiblement les traces
+
+
+
+ décision
+ interaction
+ langage
+ lisibilité
+ prévisible
+ service
+ signature d'épisode
+ séquence
+ trace
+ usage
+ utilisateur
+
+
+
+ 2.2 / L'intérêt d'enregistrer les traces: leur possible réutilisation personnelle ou collective
+
+
+
+ activité
+ application
+ contexte
+ cristallisation
+ génèse
+ interaction
+ partage
+ récurrence
+ signature d'épisode
+ séquence informatique
+ trace
+ usage
+ utilisateur
+
+
+
+ 2.3 / Exemple d'application de la modélisation de traces
+
+
+
+ application
+ expérience
+ M-traces
+ modélisation
+ partage
+ simultanéité
+ trace
+
+
+
+ 2.4 / L'affichage de la trace en cours d'activité n'est pas une gêne pour l'utilisateur
+
+
+
+ action
+ affichage
+ design
+ gêne
+ interprétation
+ représentation
+ simultanéité
+ surcharge cognitive
+ trace
+ utilisateur
+
+
+
+ 3.1 / Possibilités de documentariser et reproduire une trace
+
+
+
+ application
+ commentaire
+ documentariser
+ M-traces
+ reproduire
+ trace
+ utilité
+
+
+
+ 3.2 / L'appropriation de la trace par l'utilisateur
+
+
+
+ action
+ appropriation
+ comportement
+ conscience
+ environnement informatique
+ feed back
+ M-traces
+ reproduction
+ trace
+
+
+
+ 3.3 / La trace, un objet informatique qui doit être designée
+
+
+
+ appropriation
+ compréhension
+ connaissance
+ modèle
+ objet informatique
+ trace
+ utilisateur
+
+
+
+ 3.4 / La trace, un support de transindividuation
+
+
+
+ activité
+ confrontation
+ construction individuelle
+ explicitation
+ individuation
+ trace
+ transindividuation
+
+
+
+ 4.1 / La trace, un modèle constitué d'éléments universels et non
+
+
+
+ observation
+ spatialité
+ temporalité
+ trace
+ universalité
+ élément
+ élément observé
+
+
+
+ 4.2 / Intérêt de la modélisation des traces: l'appropriation de l'activité, l'interopérabilité sémantique et la requête dans les traces
+
+
+
+ appropriation
+ contexte
+ interopérabilité
+ modélisation
+ sémantique
+ technique
+ trace
+
+
+
+ 4.3 / La trace informatique est appelée M-trace
+
+
+
+ M-traces
+ modèle
+ trace
+
+
+
+ 4.4 / Système à base de traces : collecte, traces, transformation
+
+
+
+ base de traces
+ collecte
+ système
+ trace
+ transformation
+
+
+
+ 5.1 / L'intérêt des traces est explicatif et de découverte
+
+
+
+ découverte
+ environnement informatique
+ fonctionnement
+ informatique
+ M-traces
+ trace
+ utilisateur
+
+
+
+ 5.2 / M-traces, alter-égo assistant ou l'avenir de la figure de l'avatar
+
+
+
+ action
+ activité
+ alter-égo
+ avatar
+ connaissance
+ interaction
+ langage
+ proto-langage
+ signification
+ trace
+
+
+
+ 5.3 / L'alter-égo assistant est un support d'individuation
+
+
+
+ alter-égo
+ individuation
+ informatique
+ service
+ utilisateur
+ utilité
+
+
+
+ 6.1 / M-traces, un outil pour communiquer via un ordinateur malgré un handicap
+
+
+
+ alter-égo
+ application
+ avatar
+ communication
+ handicap
+ M-traces
+ ordinateur
+ réseau informatique
+
+
+
+ 6.2 / Exemple d'application et observations: une plateforme d'apprentissage du français
+
+
+
+ apprentissage
+ individuation
+ métacognitif
+ éducation
+
+
+
+ 6.3 / Usages envisagées des M-traces
+
+
+
+ application informatique
+ apprentissage
+ appropriation
+ auto-apprentissage
+ avatar
+ fouille de données
+ M-traces
+ meaning
+ transmission de connaissances
+
+
+
+ 7 / Conclusion: comment éviter l'utilisation des M-traces dans une logique de contrôle
+
+
+
+ activité
+ collecte
+ contrôle
+ détournement
+ marketing
+ traces
+
+
+
+
+
+ Notes et Références
+
+
+
+
+ Chapitres
+
+
+
+ 1 / Contexte de naissance des M-traces
+
+
+
+ activité
+ environnement
+ environnement informatique
+ interaction
+ M-traces
+ Mille Alain
+ ordinateur
+ séquence informatique
+ trace
+ trace informatique
+ utilisateur
+ évènement informatique
+
+
+
+ 2 / L'intérêt d'accéder aux traces de son activité
+
+
+
+ action
+ activité
+ affichage
+ application
+ cristallisation
+ design
+ documentariser
+ décision
+ expérience
+ génèse
+ gêne
+ interaction
+ langage
+ lisibilité
+ M-traces
+ Mille Alain
+ modélisation
+ partage
+ reproduire
+ service
+ séquence informatique
+ trace
+ usage
+ utilisateur
+
+
+
+ 3 / Traces informatiques et utilisateur
+
+
+
+ action
+ appropriation
+ connaissance
+ conscience
+ M-traces
+ Mille Alain
+ modèle
+ objet informatique
+ reproduction
+ trace
+ transindividuation
+ utilisateur
+
+
+
+ 4 / Intérêt de modéliser les traces
+
+
+
+ base de traces
+ contexte
+ interopérabilité
+ modélisation
+ système
+ sémantique
+ trace
+ universalité
+ élément
+ élément observé
+
+
+
+ 5 / Intérêt d'accéder à ses traces
+
+
+
+ action
+ alter-égo
+ avatar
+ connaissance
+ découverte
+ individuation
+ informatique
+ interaction
+ langage
+ M-traces
+ trace
+ utilisateur
+
+
+
+ 6 / Utilité des M-traces
+
+
+
+ alter-égo
+ application
+ apprentissage
+ appropriation
+ avatar
+ communication
+ individuation
+ M-traces
+ Mille Alain
+ métacognitif
+ éducation
+
+
+
+ 7 / Conclusion: comment éviter l'utilisation des M-traces dans une logique de contrôle
+
+
+
+ activité
+ collecte
+ contrôle
+ détournement
+ marketing
+ Mille Alain
+ traces
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XXI-scottlash-jauffret-v04.ldt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Content/ENMI08-XXI-scottlash-jauffret-v04.ldt Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,538 @@
+
+
+
+
+
+
+
+
+ Chapitres
+
+
+
+ 1 / La crise du capitalisme financier de 2008: la fin d'un monde
+
+
+
+ Cap Digital
+ Ensci (Ecole Nationale Supérieure de création Industrielle)
+ Etats-Unis d'Amérique
+ finance
+ hégémonie
+ Lash Scott
+ mondialisation
+ nouveau monde industriel
+ néolibéralisme
+ pays de l'Est
+ pays du Sud
+ pouvoir
+ économie
+
+
+
+ 2 / La Chine: structuration économique et sociale
+
+
+
+ Chine
+ croissance
+ espace public
+ Lash Scott
+ marché
+ réseaux sociaux
+ économie
+
+
+
+ 3 / Socialisation contemporaine et pré-réseaux sociaux en Occident et en Chine
+
+
+
+ Chine
+ communisme
+ danwei
+ désir
+ identité
+ Lash Scott
+ lien social
+ symbolique
+ transindividuation
+
+
+
+ 4 / La Chine ou penser par la relation et non par l'individu
+
+
+
+ Chine
+ idéologie
+ individu
+ individuation
+ langue
+ Lash Scott
+ relation
+ symbolique
+
+
+
+ 5 / Démocratie, propriété, économie: la Chine, un modèle "relationnel"
+
+
+
+ Lash Scott
+
+
+
+ 6 / Conclusion: il est temps de passer à une phase d'orientalisation
+
+
+
+ Lash Scott
+
+
+
+
+
+ Notes et Références
+
+
+
+ Toni Negri et Michael Hardt, "Empire" - Exils, 2000
+ <a href="http://books.google.fr/books?id=_Hrwu8KSmBIC&dq=toni+negri+empire&printsec=frontcover&source=bn&hl=fr&ei=EheASsvQOsGMsAamuJnZAg&sa=X&oi=book_result&ct=result&resnum=4#v=onepage&q=&f=false">"Empire", le livre</a>
+
+
+ ''Empire''
+ Hardt Michael
+ Negri Toni
+
+
+
+ "La télécratie contre la démocratie : Lettre ouverte aux représentants politiques", Bernard Stiegler -Flammarion, 2006
+
+
+
+ ''La télécratie contre la démocratie : Lettre ouverte aux représentants politique''
+ Stiegler Bernard
+
+
+
+ Bruno Latour
+ <a href="http://www.bruno-latour.fr/">Site Internet de Bruno Latour</a>
+
+
+ Latour Bruno
+
+
+
+ Jacques Derrida, "Spectres de Marx" - 1993, Galilée
+
+
+
+ ''Spectres de Marx''
+ Derrida Jacques
+
+
+
+ Ken Wark
+
+
+
+ Wark Ken
+
+
+
+ Max Weber - 1864-1920- sociologue et économiste allemand
+
+
+
+
+
+ Maurizio Lazzarato, sociologue et philosophe italien contemporain, résidant à Paris
+
+
+
+
+
+ danwei, définition sur wikipedia
+ <a href="http://fr.wikipedia.org/wiki/Danwei">Article Wikipedia: danwei</a>
+
+
+ danwei
+
+
+
+ Slavoj Žižek - né le 21 mars 1949, est un philosophe et un psychanalyste slovène
+
+
+
+ Žižek Slavoj
+
+
+
+ Walter Benjamin, Walter Bendix Schönflies Benjamin (1892-1940) est un philosophe, critique littéraire, critique d'art et traducteur
+
+
+
+ Benjamin Walter
+
+
+
+ Jeremy Rifkin (né en 1943), est un economiste américain keynesien, spécialiste de prospective économique
+
+
+
+
+
+ Marcel Mauss, Marcel Mauss (1872- 1950), père de l'ethnologie française
+
+
+
+
+
+ François Jullien (né en 1951), philosophe et sinologue français contemporain.
+
+
+
+
+
+ Emil Durkheim, "Les formes élémentaires de la vie religieuse" -"1912
+
+
+
+
+
+ Jean-Jacques Rousseau, 1712-1778 - philosophe du siècle des Lumières
+
+
+
+ Rousseau Jean-Jacques
+
+
+
+
+
+ Séquences
+
+
+
+ 1.1 / Introduction + remerciements: L'intervention portera sur la Chine
+
+
+
+ mondialisation
+ nouveau monde industriel
+
+
+
+ 1.2 / L'importance de penser un "Nouveau monde industriel" et non financier
+
+
+
+ finance
+ implosion
+ mondialisation
+ nouveau monde industriel
+
+
+
+ 1.3 / France et Angleterre, deux pays désindustrialisés mais structurés différemment
+
+
+
+ Angleterre
+ design
+ Ensci (Ecole Nationale Supérieure de création Industrielle)
+ France
+ industrie
+ revenu
+ secteur
+ secteur bancaire
+ stratégie industrielle
+ économie
+
+
+
+ 1.4 / Cap Digital, une organisation intéressante dans le cadre du "Nouveau monde industriel"
+
+
+
+ Cap Digital
+ industrie
+ néolibéralisme
+ stratégie industrielle
+ économie
+
+
+
+ Précision de Bernard Stiegler sur Cap Digital
+
+
+
+
+
+ 1.5 / L'hégémonie d'un seul pays sur tous est terminée, les pays du Sud et de l'Est vont devenir de véritables acteurs
+
+
+
+ crise politique
+ Etat
+ Etats-Unis d'Amérique
+ hégémonie
+ néolibéralisme
+ pays de l'Est
+ pays du Sud
+ pouvoir
+ pouvoir de décision ou décision
+ économie
+
+
+
+ 2.1 / Travail de Scott Lash en Chine
+
+
+
+ Chine
+ culture du risque
+ marché financier
+ nouveau monde industriel
+ économie
+
+
+
+ 2.2 / La Chine, pays à la plus forte croissance au monde, ne repose pas sur des réseaux sociaux
+
+
+
+ architecture
+ Chine
+ croissance
+ espace public
+ marché
+ réseaux sociaux
+
+
+
+ 3.1 / Affaiblissement du lien social et montée concomitante des réseaux sociaux en Occident
+
+
+
+ désir
+ lien social
+ misère symbolique
+ pulsion
+ rationnalité instrumentale
+ réseaux sociaux
+ symbolique
+ transindividuation
+
+
+
+ Bruno Latour
+ <a href="http://www.bruno-latour.fr/">Site Internet de Bruno Latour</a>
+
+
+ Latour Bruno
+
+
+
+ 3.2 / Les réseaux sociaux pensés dans la rationalité instrumentale: un dommage
+
+
+
+ atomisation
+ Castells Manuel
+ Latour Bruno
+ Lazzarato Maurizio
+ monade
+ rationalité instrumentale
+ rationalité substantive
+ unité
+ Weber Max
+
+
+
+ 3.3 / En Chine, déclin du danwei et du parti communiste
+
+
+
+ appartenance
+ Chine
+ communisme
+ danwei
+ identification
+ identité
+ symbolique
+
+
+
+ 4.1 / Précision sur l'utilisation du terme "symbolique"
+
+
+
+ Bedeutung
+ Benjamin Walter
+ cabalistique
+ idéologie
+ Poétique
+ spirituel
+ symbolique
+ sémiotique
+
+
+
+ 4.2 / Le symbolique chinois se trouve dans la langue et n'est pas individualisé
+
+
+
+ Chine
+ langue alphabétique
+ langue iconique
+ pictogramme
+ symbolique
+ écriture
+
+
+
+ 4.3 / La relationalité chinoise est processuelle
+
+
+
+ Chine
+ individualité
+ individuation collective
+ relation
+ relationalité
+ Rifkin Jeremy
+ symbolique
+
+
+
+ 4.5 / Wu wei, wo ming ou la pensée chinoise en dehors du monade et du rationnel
+
+
+
+ Chine
+ Mauss marcel
+ wu ming
+ wu wei
+
+
+
+ 4.6 / Avec les concepts de sacré et de profane d'Emile Durkheim, penser le processus d'individuation en Chine dans la relation
+
+
+
+ Chine
+ Durkheim Emile
+ individu
+ individuation
+ profane
+ relation
+ sacré
+ symbolique
+ totem
+ tribu
+
+
+
+ 4.7 / L'Occident peut apprendre de la Chine et de son rapport au symbolique
+
+
+
+ Chine
+ Occident
+ symbolique
+
+
+
+ 5.1 / Développer la démocratie en Chine passe par la pensée du relationnel
+
+
+
+ Chine
+ danwei
+ démocratie
+ e-démocratie
+ individu
+ mobilisation collective
+ Occident
+ relation
+
+
+
+ 5.2 / La notion de propriété en Chine est relationnelle et non individualiste
+
+
+
+ bien commun
+ Chine
+ contrefaçon
+ copyright
+ droit d'auteur
+ droit de la propriété
+ empirisme
+ individualisme
+ propriété
+ relationnel
+
+
+
+ 5.3 / Le modèle de l'économie relationnelle chinois, une alternative au modèle néolibéral
+
+
+
+ Chine
+ propriété
+ tiers-monde
+ économie néolibérale
+ économie relationnelle
+
+
+
+ 6 / Conclusion: il est temps de passer à une phase d'orientalisation
+
+
+
+ a posteriori
+ Chine
+ démocratie
+ marché chinois
+ modèle chinois
+ occidentalisation
+ orientalisation
+ relationalité
+ universalisme relationnel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bout à bout 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Iri.Modernisation.Test.MainInterface.csproj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Iri.Modernisation.Test.MainInterface.csproj Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,140 @@
+
+
+ Debug
+ AnyCPU
+ 9.0.30729
+ 2.0
+ {05A2B5AA-51FC-4ECC-B0A6-7961CD354DE3}
+ {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Iri.Modernisation.Test.MainInterface
+ Iri.Modernisation.Test.MainInterface
+ v3.5
+ true
+
+
+ true
+ true
+ Iri.Modernisation.Test.MainInterface.xap
+ Properties\AppManifest.xml
+ Iri.Modernisation.Test.MainInterface.App
+ TestPage.html
+ true
+ true
+ true
+ Properties\OutOfBrowserSettings.xml
+ false
+ true
+
+
+
+
+ true
+ full
+ false
+ Bin\Debug
+ DEBUG;TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ Bin\Release
+ TRACE;SILVERLIGHT
+ true
+ true
+ prompt
+ 4
+
+
+
+ False
+ ..\..\..\res\lib\Berico.Windows.Controls.dll
+
+
+ False
+ ..\..\..\res\lib\HackingSilverlightLibrary.dll
+
+
+ False
+ ..\..\..\res\lib\SLExtensions.dll
+
+
+
+
+
+
+
+
+
+
+
+ App.xaml
+
+
+ MainPage.xaml
+
+
+
+
+
+ Designer
+ MSBuild:MarkupCompilePass1
+
+
+ Designer
+ MSBuild:MarkupCompilePass1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {78F73254-9730-418B-84F5-9F7F3EB8F029}
+ Iri.Modernisation.BaseMVVM
+
+
+ {A54E46A6-2438-46A4-8253-9B868F529052}
+ Iri.Modernisation.Controls
+
+
+ {05794257-7163-48E0-B48A-B6666128AC1F}
+ Iri.Modernisation.Data
+
+
+ {7E49C574-7520-4CCD-932C-74D62673702A}
+ Iri.Modernisation.Styles
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/MainPage.xaml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/MainPage.xaml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/MainPage.xaml.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/MainPage.xaml.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,70 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Windows.Browser;
+using Iri.Modernisation.Controls.ViewModel;
+using Iri.Modernisation.BaseMVVM.Commands;
+using Iri.Modernisation.Data.LDTClass;
+using Iri.Modernisation.Data.Models;
+
+namespace Iri.Modernisation.Test.MainInterface
+{
+ public partial class MainPage : UserControl
+ {
+ public MainPage()
+ {
+ List SelectedVideoBooks = new List();
+ /*************** Content Demo ***************/
+ /* Pour pouvoir tester avec des vidéos :
+ * - Placer les video dans le dossier Bin
+ * - Rajouter Application.Current.Host.Source.Host devant le nom du fichier
+ */
+ LDTFile file = new LDTFile();
+ // file.Load(new Uri("Modernisation.FileConvertor;component/ENMI08-I-bernard_stiegler-jauffret.ldt", UriKind.Relative).ToString());
+ file.Load("Content/ENMI08-I-bernard_stiegler-jauffret.ldt");
+
+ LDTFileReader _LDTFR = new LDTFileReader("Content/ENMI08-I-bernard_stiegler-jauffret.ldt");
+ VideoBook temp = _LDTFR.VideoBook;
+ temp.Chapters[0].VideoSequences = new List();
+ temp.Chapters[0].VideoSequences.Add(new VideoSequence());
+ temp.MediaPath = Application.Current.Host.Source.Host+@"/test.wmv";
+ SelectedVideoBooks.Add(temp);
+ temp = new LDTFileReader("Content/ENMI08-II-antoine_masson-jauffret.ldt").VideoBook;
+
+ temp.MediaPath = Application.Current.Host.Source.Host+@"/video.mp4";
+ SelectedVideoBooks.Add(temp);
+ SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-III_elizabethrosse-psychologie_et_reseaux_sociaux-jauffret.ldt").VideoBook);
+ SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-IV-dominiquepasquier-jauffret.ldt").VideoBook);
+ /********************************************/
+
+ /*************** Initialisation des commandes ***************/
+ Commands.Initialize();
+ Commands.FlipView.Executed += new EventHandler(FlipView_Executed);
+ /********************************************/
+
+ /*************** Initialisation des Component ***************/
+ InitializeComponent();
+ ConsultationViewElement.DataContext = new ConsultationViewVM();
+ NavigationBarVM navvm = new NavigationBarVM() { ConsultMenuViewModel = new ConsultMenuVM(SelectedVideoBooks) };
+ NavigationBarElement.DataContext = navvm;
+ HeaderControlElement.DataContext = new HeaderControlVM("L'utilisateur");
+ ProductionViewElement.DataContext = new HeaderProductionVM();
+ /********************************************/
+ }
+
+ void FlipView_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+ {
+ Commands.VideoViewer.Pause.Execute();
+ FlipTest.ExecuteFlip();
+ }
+ }
+
+}
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/AppManifest.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/AppManifest.xml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,7 @@
+
+
+
+
+
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/AssemblyInfo.cs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/AssemblyInfo.cs Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Iri.Modernisation.Test.MainInterface")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Centre Georges Pompidou")]
+[assembly: AssemblyProduct("Iri.Modernisation.Test.MainInterface")]
+[assembly: AssemblyCopyright("Copyright © Centre Georges Pompidou 2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("261023b5-af3a-482f-b5c5-595416d1108c")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff -r 000000000000 -r 249d70e7b32d client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/OutOfBrowserSettings.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/client/test/mainInterface/Iri.Modernisation.Test.MainInterface/Properties/OutOfBrowserSettings.xml Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,7 @@
+
+ Iri.Modernisation.Test.MainInterface Application on your desktop; at home, at work or on the go.
+
+
+
+
+
\ No newline at end of file
diff -r 000000000000 -r 249d70e7b32d client/test/unitTest/stayHere
diff -r 000000000000 -r 249d70e7b32d web/build/stayHere
diff -r 000000000000 -r 249d70e7b32d web/sql/stayHere
diff -r 000000000000 -r 249d70e7b32d web/src/stayHere
diff -r 000000000000 -r 249d70e7b32d web/test/stayHere