//
//  KSTKSmartListRowController.h
//  GumiToolKit
//
//  Created by Pierre Oleo on 20/04/05.
//  Copyright 2005 GumiTech. All rights reserved.
//
//  $Id: KSTKSmartListRowController.h,v 1.12 2006/03/06 18:37:34 guigui Exp $

#import <Cocoa/Cocoa.h>

@interface KSTKSmartListAllRowsView : NSView {IBOutlet id parentController;}
@end


@class KSTKSmartListMaker;

@interface KSTKSmartListRowController : NSObject 
{
	NSView * rowView;
	IBOutlet NSArrayController	* dataTypeArrayController,* searchTypeArrayController,* arrayValueController,* popUpArrayController,* numbersArrayController,* stringValueController,* dateValueController,* unitValueController;
	IBOutlet id rowTabView;
	
	BOOL canRemove;
	NSArray				* conditionsArray;
	KSTKSmartListMaker			* parentController;	
}

@property (assign)	BOOL canRemove;
@property (retain,nonatomic) NSArray * conditionsArray;
@property (retain,nonatomic) KSTKSmartListMaker * parentController;	
@property (retain,nonatomic) IBOutlet NSView * rowView;

- (id)initWithArray:(NSArray *)modelArray andParent:(KSTKSmartListMaker *)parentController;

   
- (NSView *)rowView;

-(IBAction)addNewRow:(id)sender;
-(IBAction)removeRow:(id)sender;
-(void )fillWithData:(NSDictionary *)dataDico;

@end
