aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Editors
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-06 18:39:56 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-06 18:39:56 +0300
commit47c0f9224c370009c3b37f6db83ec99c31d859f8 (patch)
tree5b70c05f2254a3edd8b9af26eb19d61efb450c27 /Software/Visual_Studio/Tango.Editors
parent038e6c51a405b39f35f70f9481a4277f39517204 (diff)
downloadTango-47c0f9224c370009c3b37f6db83ec99c31d859f8.tar.gz
Tango-47c0f9224c370009c3b37f6db83ec99c31d859f8.zip
Added support for Win7 for stubs UI.
Added Dancers, Winders, PID Controls on tech module. Some code cleanups.
Diffstat (limited to 'Software/Visual_Studio/Tango.Editors')
-rw-r--r--Software/Visual_Studio/Tango.Editors/ElementsEditor.xaml.cs1
-rw-r--r--Software/Visual_Studio/Tango.Editors/HybridControl.cs1
-rw-r--r--Software/Visual_Studio/Tango.Editors/ISupportEditingOperations.cs1
-rw-r--r--Software/Visual_Studio/Tango.Editors/ISupportUndoRedoOperations.cs1
-rw-r--r--Software/Visual_Studio/Tango.Editors/RelayCommand.cs6
-rw-r--r--Software/Visual_Studio/Tango.Editors/Tango.Editors.csproj2
6 files changed, 11 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Editors/ElementsEditor.xaml.cs b/Software/Visual_Studio/Tango.Editors/ElementsEditor.xaml.cs
index abd5e5929..98a813fc0 100644
--- a/Software/Visual_Studio/Tango.Editors/ElementsEditor.xaml.cs
+++ b/Software/Visual_Studio/Tango.Editors/ElementsEditor.xaml.cs
@@ -9,6 +9,7 @@ using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
+using Tango.Core.Commands;
using Tango.Editors;
namespace Tango.Editors
diff --git a/Software/Visual_Studio/Tango.Editors/HybridControl.cs b/Software/Visual_Studio/Tango.Editors/HybridControl.cs
index 8b1da701e..0d2fe5336 100644
--- a/Software/Visual_Studio/Tango.Editors/HybridControl.cs
+++ b/Software/Visual_Studio/Tango.Editors/HybridControl.cs
@@ -9,6 +9,7 @@ using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Imaging;
+using Tango.Core.Commands;
namespace Tango.Editors
{
diff --git a/Software/Visual_Studio/Tango.Editors/ISupportEditingOperations.cs b/Software/Visual_Studio/Tango.Editors/ISupportEditingOperations.cs
index 539c1f5f9..40c746115 100644
--- a/Software/Visual_Studio/Tango.Editors/ISupportEditingOperations.cs
+++ b/Software/Visual_Studio/Tango.Editors/ISupportEditingOperations.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Tango.Core.Commands;
namespace Tango.Editors
{
diff --git a/Software/Visual_Studio/Tango.Editors/ISupportUndoRedoOperations.cs b/Software/Visual_Studio/Tango.Editors/ISupportUndoRedoOperations.cs
index 1e67b2fa5..459f15ba4 100644
--- a/Software/Visual_Studio/Tango.Editors/ISupportUndoRedoOperations.cs
+++ b/Software/Visual_Studio/Tango.Editors/ISupportUndoRedoOperations.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Tango.Core.Commands;
namespace Tango.Editors
{
diff --git a/Software/Visual_Studio/Tango.Editors/RelayCommand.cs b/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
index 6042fad93..63a776238 100644
--- a/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
+++ b/Software/Visual_Studio/Tango.Editors/RelayCommand.cs
@@ -18,6 +18,7 @@ namespace Tango.Editors
readonly Predicate<object> canExecute;
readonly Action<object> execute;
private Action<string> saveProject;
+ private RelayCommand syncHardwareConfigurationCommand;
#endregion fields
#region constructors
@@ -46,6 +47,11 @@ namespace Tango.Editors
this.saveProject = saveProject;
}
+ public RelayCommand(RelayCommand syncHardwareConfigurationCommand)
+ {
+ this.syncHardwareConfigurationCommand = syncHardwareConfigurationCommand;
+ }
+
#endregion constructors
#region methods
diff --git a/Software/Visual_Studio/Tango.Editors/Tango.Editors.csproj b/Software/Visual_Studio/Tango.Editors/Tango.Editors.csproj
index 02a18d94f..8b8e8d802 100644
--- a/Software/Visual_Studio/Tango.Editors/Tango.Editors.csproj
+++ b/Software/Visual_Studio/Tango.Editors/Tango.Editors.csproj
@@ -137,7 +137,7 @@
<Compile Include="IUndoRedoState.cs" />
<Compile Include="IUndoRedoStatesProvider.cs" />
<Compile Include="PixelRuler.cs" />
- <Compile Include="RelayCommand.cs" />
+ <None Include="RelayCommand.cs" />
<Compile Include="UndoRedoStateExecutedEventArgs.cs" />
</ItemGroup>
<ItemGroup>