//
//  EquipmentStructureTableViewCell.h
//
//  Created by Ram Madichetty on 3/11/13.
//  Copyright (c) 2013 Infor. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "R5STRUCTURES.H"

@protocol EquipmentStructureDelegate

- (void)refreshData:(id)cell;

@end

@interface EquipmentStructureTableViewCell : UITableViewCell

@property (strong, nonatomic) IBOutlet UIButton *buttonNode;
@property (strong, nonatomic) IBOutlet UIButton *buttonNode2;

@property (strong, nonatomic) IBOutlet UIButton *buttonToggle;
@property (strong, nonatomic) IBOutlet UIButton *buttonIcon;
@property (strong,nonatomic) NSString *buttonIconPath;
@property (nonatomic) BOOL hasChildren;
@property (nonatomic) BOOL selectedNode;
@property (nonatomic) int level;
@property (strong, nonatomic) R5STRUCTURES *value;
@property (weak, nonatomic) id delegate;

- (IBAction)buttonTogglePressed:(id)sender;
- (IBAction)buttonNodePressed:(id)sender;
- (void)refresh;

@end
