Started work on Item Filter Preview module
This commit is contained in:
@@ -6,8 +6,6 @@ namespace Filtration.ObjectModel.Enums
|
||||
{
|
||||
[Description("=")]
|
||||
Equal,
|
||||
[Description("!=")]
|
||||
NotEqual,
|
||||
[Description("<")]
|
||||
LessThan,
|
||||
[Description("<=")]
|
||||
|
||||
@@ -88,12 +88,7 @@ namespace Filtration.ObjectModel
|
||||
return false;
|
||||
}
|
||||
|
||||
if (startingBlockGroup.ParentGroup != null)
|
||||
{
|
||||
return HasBlockGroupInParentHierarchy(targetBlockGroup, startingBlockGroup.ParentGroup);
|
||||
}
|
||||
|
||||
return false;
|
||||
return startingBlockGroup.ParentGroup != null && HasBlockGroupInParentHierarchy(targetBlockGroup, startingBlockGroup.ParentGroup);
|
||||
}
|
||||
|
||||
private void OnBlockGroupStatusChanged(object sender, EventArgs e)
|
||||
|
||||
@@ -7,7 +7,19 @@ using Filtration.ObjectModel.ThemeEditor;
|
||||
|
||||
namespace Filtration.ObjectModel
|
||||
{
|
||||
public class ItemFilterScript
|
||||
public interface IItemFilterScript
|
||||
{
|
||||
ObservableCollection<ItemFilterBlock> ItemFilterBlocks { get; }
|
||||
ObservableCollection<ItemFilterBlockGroup> ItemFilterBlockGroups { get; }
|
||||
ThemeComponentCollection ThemeComponents { get; set; }
|
||||
string FilePath { get; set; }
|
||||
string Description { get; set; }
|
||||
DateTime DateModified { get; set; }
|
||||
List<string> Validate();
|
||||
void ReplaceColors(ReplaceColorsParameterSet replaceColorsParameterSet);
|
||||
}
|
||||
|
||||
public class ItemFilterScript : IItemFilterScript
|
||||
{
|
||||
public ItemFilterScript()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user