Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gdl-gruendig committed Nov 19, 2024
2 parents 281b3e5 + 662fa1a commit bccbdaa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ public interface INavigationManager
void SetGroupOrder(string groupName, int order);

void SetGroupIcon(string groupName, object icon);
void SetSingleClick(string groupName, bool singleClick);
void SetSubGroupOrder(string groupName, string subGroupName, int order);
}
3 changes: 1 addition & 2 deletions Gandalan.IDAS.WebApi.Client/Navigation/INavigationGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ public interface INavigationGroup
{
object Icon { get; set; }
string Caption { get; set; }
ObservableCollection<INavigationItem> Items { get; set; }
ObservableCollection<INavigationSubGroup> SubGroups { get; set; }
int Order { get; set; }
bool IsVisible { get; set; }
bool SingleClick { get; set; }
}
3 changes: 2 additions & 1 deletion Gandalan.IDAS.WebApi.Client/Navigation/INavigationItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ namespace Gandalan.Client.Contracts.Navigation;
public interface INavigationItem
{
string Group { get; }
string SubGroup { get; }
string Caption { get; }
object Icon { get; }
int Order { get; }
bool IsVisible { get; set; }

Func<Task> Execute { get; }
}
}
12 changes: 12 additions & 0 deletions Gandalan.IDAS.WebApi.Client/Navigation/INavigationSubGroup.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System.Collections.ObjectModel;

namespace Gandalan.Client.Contracts.Navigation;

public interface INavigationSubGroup
{
string Caption { get; set; }
int Order { get; set; }
ObservableCollection<INavigationItem> Items { get; set; }
bool IsVisible { get; set; }
bool IsFirst { get; set; }
}

0 comments on commit bccbdaa

Please sign in to comment.