Ignore:
Timestamp:
Jun 4, 2010, 9:20:17 AM (12 years ago)
Author:
kopal
Message:
  • added ColorHelper to Model (returns colors for given types)
  • ConnectorViews and CryptoLineViews now have colors depending on their data types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Model/PluginModel.cs

    r1581 r1584  
    116116                    {
    117117                        ConnectorModel connectorModel = new ConnectorModel();
    118                         connectorModel.ConnectorType = propertyInfoAttribute.PropertyInfo.DeclaringType;
     118                        connectorModel.ConnectorType = propertyInfoAttribute.PropertyInfo.PropertyType;
    119119                        connectorModel.WorkspaceModel = WorkspaceModel;
    120120                        connectorModel.PluginModel = this;
     
    129129                    {
    130130                        ConnectorModel connectorModel = new ConnectorModel();
    131                         connectorModel.ConnectorType = propertyInfoAttribute.PropertyInfo.DeclaringType;
     131                        connectorModel.ConnectorType = propertyInfoAttribute.PropertyInfo.PropertyType;
    132132                        connectorModel.WorkspaceModel = WorkspaceModel;
    133133                        connectorModel.PluginModel = this;
Note: See TracChangeset for help on using the changeset viewer.