//
//  CRPresetsCollectionItem.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 12/9/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

extern NSString* const CRPresetThumbnailGeneratedNotification;

//////////////////////////////////////////////////////////////////////
// Presets collection item (controller)
//////////////////////////////////////////////////////////////////////
@interface CRPresetsCollectionItem : CRCollectionViewItem 
{
}

- (BOOL)isGeneratingPreview;

- (CRCollectionTextField *)nameField;
- (NSOperation *)operationGeneratePreviewWithData:(NSDictionary *)data;
- (void)revertText;

- (IBAction)beginEditSession:(id)sender;
- (IBAction)showParameters:(id)sender;

@end