Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KeanW committed Jul 29, 2018
1 parent 41bab08 commit b097672
Show file tree
Hide file tree
Showing 15 changed files with 983 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Config/CS.props
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" Condition=" Exists('$(SolutionDir)Config/user_local.props') ">
<Import Project="$(SolutionDir)Config/user_local.props" />
</ImportGroup>
<PropertyGroup>
<DynamoCorePath Condition = "!Exists('$(DynamoCorePath)')">$(SolutionDir)\packages\DynamoVisualProgramming.Core.1.0.0-beta3\lib\net45</DynamoCorePath>
<DynamoZeroTouchPath Condition = "!Exists('$(DynamoZeroTouchPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.0.0-beta3\lib\net45</DynamoZeroTouchPath>
<DynamoWpfUIPath Condition = "!Exists('$(DynamoWpfUIPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.WpfUILibrary.1.0.0-beta4\lib\net45</DynamoWpfUIPath>
<DynamoWpfUINodesPath Condition = "!Exists('$(DynamoWpfUINodesPath)')">$(DynamoWpfUIPath)</DynamoWpfUINodesPath>
<DynamoServicesPath Condition = "!Exists('$(DynamoServicesPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.DynamoServices.1.0.0-beta3\lib\net45</DynamoServicesPath>
<DynamoTestPackagePath Condition = "!Exists('$(DynamoTestPackagePath)')">$(SolutionDir)\packages\DynamoVisualProgramming.Tests.1.0.0-beta4\lib\net45</DynamoTestPackagePath>
</PropertyGroup>
</Project>
12 changes: 12 additions & 0 deletions src/Config/user_local.props
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DYNAMOAPI Condition="'$(DYNAMOAPI)' == ''">$(SolutionDir)..\..\Dynamo\bin\$(Platform)\$(Configuration)</DYNAMOAPI>
<DynamoCorePath Condition = "'$(DynamoCorePath)'== ''">$(DYNAMOAPI)</DynamoCorePath>
<DynamoZeroTouchPath Condition = "'$(DynamoZeroTouchPath)' == ''">$(DYNAMOAPI)</DynamoZeroTouchPath>
<DynamoWpfUIPath Condition = "'$(DynamoWpfUIPath)' == ''">$(DYNAMOAPI)</DynamoWpfUIPath>
<DynamoWpfUINodesPath Condition = "'$(DynamoWpfUINodesPath)' == ''">$(DYNAMOAPI)\nodes</DynamoWpfUINodesPath>
<DynamoServicesPath Condition = "'$(DynamoServicesPath)' == ''">$(DYNAMOAPI)</DynamoServicesPath>
<DynamoTestPackagePath Condition = "'$(DynamoTestPackagePath)' == ''">$(DYNAMOAPI)</DynamoTestPackagePath>
</PropertyGroup>
</Project>
14 changes: 14 additions & 0 deletions src/WarningsViewExtension/Config/CS.props
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" Condition=" Exists('$(SolutionDir)Config/user_local.props') ">
<Import Project="$(SolutionDir)Config/user_local.props" />
</ImportGroup>
<PropertyGroup>
<DynamoCorePath Condition = "!Exists('$(DynamoCorePath)')">$(SolutionDir)\packages\DynamoVisualProgramming.Core.1.0.0-beta3\lib\net45</DynamoCorePath>
<DynamoZeroTouchPath Condition = "!Exists('$(DynamoZeroTouchPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.0.0-beta3\lib\net45</DynamoZeroTouchPath>
<DynamoWpfUIPath Condition = "!Exists('$(DynamoWpfUIPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.WpfUILibrary.1.0.0-beta4\lib\net45</DynamoWpfUIPath>
<DynamoWpfUINodesPath Condition = "!Exists('$(DynamoWpfUINodesPath)')">$(DynamoWpfUIPath)</DynamoWpfUINodesPath>
<DynamoServicesPath Condition = "!Exists('$(DynamoServicesPath)')">$(SolutionDir)\packages\DynamoVisualProgramming.DynamoServices.1.0.0-beta3\lib\net45</DynamoServicesPath>
<DynamoTestPackagePath Condition = "!Exists('$(DynamoTestPackagePath)')">$(SolutionDir)\packages\DynamoVisualProgramming.Tests.1.0.0-beta4\lib\net45</DynamoTestPackagePath>
</PropertyGroup>
</Project>
12 changes: 12 additions & 0 deletions src/WarningsViewExtension/Config/user_local.props
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DYNAMOAPI Condition="'$(DYNAMOAPI)' == ''">$(SolutionDir)..\..\Dynamo\bin\$(Platform)\$(Configuration)</DYNAMOAPI>
<DynamoCorePath Condition = "'$(DynamoCorePath)'== ''">$(DYNAMOAPI)</DynamoCorePath>
<DynamoZeroTouchPath Condition = "'$(DynamoZeroTouchPath)' == ''">$(DYNAMOAPI)</DynamoZeroTouchPath>
<DynamoWpfUIPath Condition = "'$(DynamoWpfUIPath)' == ''">$(DYNAMOAPI)</DynamoWpfUIPath>
<DynamoWpfUINodesPath Condition = "'$(DynamoWpfUINodesPath)' == ''">$(DYNAMOAPI)\nodes</DynamoWpfUINodesPath>
<DynamoServicesPath Condition = "'$(DynamoServicesPath)' == ''">$(DYNAMOAPI)</DynamoServicesPath>
<DynamoTestPackagePath Condition = "'$(DynamoTestPackagePath)' == ''">$(DYNAMOAPI)</DynamoTestPackagePath>
</PropertyGroup>
</Project>
61 changes: 61 additions & 0 deletions src/WarningsViewExtension/NodeInfo.cs
@@ -0,0 +1,61 @@
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;

namespace WarningsViewExtension
{
public class NodeInfo : INotifyPropertyChanged
{
private int _id;
private string _name;
private Guid _guid;

public event PropertyChangedEventHandler PropertyChanged;

private void NotifyPropertyChanged([CallerMemberName] String propertyName = "")
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}

public NodeInfo(int id, string name, Guid guid)
{
_id = id;
_name = name;
_guid = guid;
NotifyPropertyChanged();
}

public int ID
{
get { return _id; }
set
{
_id = value;
NotifyPropertyChanged();
}
}

public string Name
{
get { return _name; }
set
{
_name = value;
NotifyPropertyChanged();
}
}

public Guid GUID
{
get { return _guid; }
set
{
_guid = value;
NotifyPropertyChanged();
}
}
}
}
36 changes: 36 additions & 0 deletions src/WarningsViewExtension/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
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("WarningsViewExtension")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WarningsViewExtension")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[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("FFC2A603-DD4F-49D0-8FCC-E65AA313BA6D")]

// 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 Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.1.0")]
[assembly: AssemblyFileVersion("0.0.1.0")]

0 comments on commit b097672

Please sign in to comment.