diff --git a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs index de5c6d6..f57c56f 100644 --- a/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs +++ b/Ringhel.Procesio.Action.Core/ActionDecorators/FEDecoratorAttribute.cs @@ -41,5 +41,11 @@ 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; } } 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; + + } +} diff --git a/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj b/Ringhel.Procesio.Action.Core/Ringhel.Procesio.Action.Core.csproj index 1a27cb4..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.6 + 1.0.3.8 Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core Ringhel.Procesio.Action.Core