From 994ea9cd32edacdc8c31226d779ac3e91f35eda1 Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Thu, 25 Mar 2021 20:09:43 +0200 Subject: [PATCH 1/4] Add FETabDecoratorAttribute.cs with OrderId Add RowId and ColumnId in FEDecoratorAttribute --- .../ActionDecorators/FEDecoratorAttribute.cs | 13 ++++++++++ .../FETabDecoratorAttribute.cs | 25 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Ringhel.Procesio.Action.Core/ActionDecorators/FETabDecoratorAttribute.cs diff --git a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs index de5c6d6..2194cfb 100644 --- a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs +++ b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs @@ -41,5 +41,18 @@ public class FEDecoratorAttribute : Attribute /// /// public FeComponentType Type { get; set; } + + /// + /// Property Row number. Used when showing the property in the Action configuration panel. + /// If not set, all properties will be placed on the same default row. + /// + public int RowId { get; set; } = 0; + + /// + /// Column number. Used when showing the property in the Action configuration panel. + /// This is required for properties that are on the same rowId. + /// If not set, all properties will be placed on the same default column. + /// + public int ColumnId { get; set; } = 0; } } diff --git a/Ringhel.Procesio.Action.Core/ActionDecorators/FETabDecoratorAttribute.cs b/Ringhel.Procesio.Action.Core/ActionDecorators/FETabDecoratorAttribute.cs new file mode 100644 index 0000000..d9b470e --- /dev/null +++ b/Ringhel.Procesio.Action.Core/ActionDecorators/FETabDecoratorAttribute.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Ringhel.Procesio.Action.Core.ActionDecorators +{ + /// + /// Attribute used to set some vital informations for FE + /// + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] + public class FETabDecoratorAttribute : Attribute + { + /// + /// Tab where properties are found + /// + public string TabName { get; set; } + + /// + /// Tab order number. It will be used to sort the action's tabs. + /// If not used, All tabs will have the same order value = 0 + /// + public int OrderId { get; set; } = 0; + + } +} From 45131048ecd2266c0baa2f9c3162631dd143b19e Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Thu, 25 Mar 2021 20:10:08 +0200 Subject: [PATCH 2/4] bump to 1.0.3.7 --- .../Ringhel.Procesio.Action.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj index 1a27cb4..09db7f5 100644 --- a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj +++ b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj @@ -7,7 +7,7 @@ Ringhel Procesio https://github.com/PROCESIO/Action-Core.git - 1.0.3.6 + 1.0.3.7 Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core From ea38be162d4ad5ab3f35041ad2f8028f328d5eef Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Fri, 26 Mar 2021 19:19:07 +0200 Subject: [PATCH 3/4] Remove ColumnId --- .../ActionDecorators/FEDecoratorAttribute.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs index 2194cfb..f57c56f 100644 --- a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs +++ b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs @@ -47,12 +47,5 @@ public class FEDecoratorAttribute : Attribute /// If not set, all properties will be placed on the same default row. /// public int RowId { get; set; } = 0; - - /// - /// Column number. Used when showing the property in the Action configuration panel. - /// This is required for properties that are on the same rowId. - /// If not set, all properties will be placed on the same default column. - /// - public int ColumnId { get; set; } = 0; } } From 55ee6b1a8fdb00cc85efdc4988cb62fc27908fc0 Mon Sep 17 00:00:00 2001 From: Alexandru Gal Date: Fri, 26 Mar 2021 19:19:28 +0200 Subject: [PATCH 4/4] Bump to 1.0.3.8 --- .../Ringhel.Procesio.Action.Core.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj index 09db7f5..2530baf 100644 --- a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj +++ b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj @@ -7,7 +7,7 @@ Ringhel Procesio https://github.com/PROCESIO/Action-Core.git - 1.0.3.7 + 1.0.3.8 Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core