/*!
 Copyright 2009 Sun Microsystems, Inc.
 */



#import <Cocoa/Cocoa.h>

#import "MacTableEditorInformationSource.h"



class MySQLTableEditorBE;



@interface MacTableEditorColumnsInformationSource : MacTableEditorInformationSource
{
  MySQLTableEditorBE* mBackEnd;
}



- (NSArray*) columnFlagsForRow: (NSInteger) rowIndex;
- (void) setFlag: (BOOL) yn
     forFlagName: (NSString*) flagName
   atColumnIndex: (int) columnIndex;
- (NSImage*) iconAtRow: (NSInteger) rowIndex;
- (void) moveColumnAtRow: (NSInteger) from
                   toRow: (NSInteger) to;

- (id) initWithListModel: (bec::ListModel*) model
            tableBackEnd: (MySQLTableEditorBE*) tableBackend;

- (void) moveColumnAtRow: (NSInteger) from
                   toRow: (NSInteger) to;

@end
