-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pr/1266' into NetStandard
- Loading branch information
Showing
10 changed files
with
274 additions
and
115 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
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
FRBDK/Glue/OfficialPlugins/AnimationChainPlugin/Managers/PropertyGridManager.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 @@ | ||
using OfficialPlugins.AnimationChainPlugin.ViewModels; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using WpfDataUi; | ||
|
||
namespace OfficialPlugins.AnimationChainPlugin.Managers | ||
{ | ||
public static class PropertyGridManager | ||
{ | ||
static DataUiGrid PropertyGrid; | ||
|
||
internal static void Initialize(DataUiGrid propertyGrid) | ||
{ | ||
PropertyGrid = propertyGrid; | ||
} | ||
|
||
internal static void ShowInPropertyGrid(AnimationChainViewModel selectedAnimationChain) | ||
{ | ||
PropertyGrid.Instance = selectedAnimationChain; | ||
MemberCategoryManager.SetMemberCategories(PropertyGrid, selectedAnimationChain); | ||
PropertyGrid.Refresh(); | ||
} | ||
|
||
internal static void ShowInPropertyGrid(AnimationFrameViewModel selectedAnimationFrame) | ||
{ | ||
PropertyGrid.Instance = selectedAnimationFrame; | ||
MemberCategoryManager.SetMemberCategories(PropertyGrid, selectedAnimationFrame); | ||
PropertyGrid.Refresh(); | ||
} | ||
|
||
} | ||
} |
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
Oops, something went wrong.