Change from KeywordFilter property to ICustomSearch
This commit is contained in:
parent
28333b5926
commit
f88b04b7bc
11 changed files with 78 additions and 47 deletions
|
|
@ -35,12 +35,17 @@ using MatterHackers.DataConverters3D;
|
|||
|
||||
namespace MatterHackers.MatterControl.Library
|
||||
{
|
||||
public interface ICustomSearch
|
||||
{
|
||||
void ApplyFilter(string filter, ILibraryContext libraryContext);
|
||||
void ClearFilter();
|
||||
}
|
||||
|
||||
public interface ILibraryContainer : IDisposable
|
||||
{
|
||||
string ID { get; }
|
||||
string Name { get; }
|
||||
string StatusMessage { get; }
|
||||
string KeywordFilter { get; set; }
|
||||
bool IsProtected { get; }
|
||||
|
||||
Type DefaultView { get; }
|
||||
|
|
@ -49,6 +54,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
|
||||
List<ILibraryContainerLink> ChildContainers { get; }
|
||||
List<ILibraryItem> Items { get; }
|
||||
ICustomSearch CustomSearch { get; }
|
||||
|
||||
ILibraryContainer Parent { get; set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue