-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature to select how the project are added over wizard: new grou…
…ps are create based on project path, name includes project path or do not assign groups.
- Loading branch information
1 parent
9bce73f
commit 5cbdeb2
Showing
18 changed files
with
437 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/Soloplan.WhatsON.GUI.Common/IAdditionalWindowSettingsSupport.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
// <copyright file="IAdditionalWindowSettingsSupport.cs" company="Soloplan GmbH"> | ||
// Copyright (c) Soloplan GmbH. All rights reserved. | ||
// </copyright> | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
|
||
namespace Soloplan.WhatsON.GUI.Common | ||
{ | ||
using System.Windows; | ||
using Soloplan.WhatsON.GUI.Common.VisualConfig; | ||
|
||
/// <summary> | ||
/// Adds support for storing additional window settings values. | ||
/// </summary> | ||
public interface IAdditionalWindowSettingsSupport | ||
{ | ||
/// <summary> | ||
/// Applies the additional window settings to the <see cref="Window"/> instance. | ||
/// </summary> | ||
/// <param name="getAdditionalSettingValue">The get additional setting value.</param> | ||
void Apply(WindowSettings.GetAdditionalSettingValueDelegate getAdditionalSettingValue); | ||
|
||
/// <summary> | ||
/// Parses the specified additional setting values from <see cref="Window"/> instance on which the interface is implemented. | ||
/// </summary> | ||
/// <param name="setAdditionalSettingValue">The set additional setting value.</param> | ||
void Parse(WindowSettings.SetAdditionalSettingValueDelegate setAdditionalSettingValue); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/Soloplan.WhatsON.GUI/Configuration/Wizard/GrouppingSetting.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
// <copyright file="GrouppingSetting.cs" company="Soloplan GmbH"> | ||
// Copyright (c) Soloplan GmbH. All rights reserved. | ||
// </copyright> | ||
// -------------------------------------------------------------------------------------------------------------------- | ||
|
||
namespace Soloplan.WhatsON.GUI.Configuration.Wizard | ||
{ | ||
/// <summary> | ||
/// The grouping settings item. | ||
/// </summary> | ||
public class GrouppingSetting | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="GrouppingSetting"/> class. | ||
/// </summary> | ||
/// <param name="caption">The caption.</param> | ||
/// <param name="id">The identifier.</param> | ||
public GrouppingSetting(string caption, string id) | ||
{ | ||
this.Caption = caption; | ||
this.Id = id; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the caption. | ||
/// </summary> | ||
public string Caption { get; } | ||
|
||
/// <summary> | ||
/// Gets the identifier. | ||
/// </summary> | ||
public string Id { get; } | ||
} | ||
} |
Oops, something went wrong.