//
//  GSFilterPropertiesController.h
//  GlyphsCore
//
//  Created by Georg Seifert on 01.05.16.
//  Copyright © 2016 schriftgestaltung.de. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <GlyphsCore/GSDialogController.h>
@class GSFont;

@interface GSFilterPropertiesController : NSViewController <GSDialogDelegateProtocol>

@property (weak) IBOutlet NSTextField *nameTextField;
@property (weak) IBOutlet NSPredicateEditor *predicateEditor;
@property (weak) IBOutlet NSLayoutConstraint *predicateHeightConstrain;
@property (strong, nonatomic) NSPredicate *predicate;

- (instancetype)initWithFont:(GSFont *)font;

- (void)predicateChanged:(NSNotification *)notification;
@end
