//
//  BasePanelViewController.h
//  HMSMobile
//
//  Created by Weikang Ding on 3/7/13.
//  Copyright (c) 2013 Infor Global Solutions. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Utility.h"
#import "BaseModalViewController.h"
#define kShadowViewTag 998

@interface BasePanelViewController:BaseModalViewController{
    NSString *panelID;
    NSString *panelIcon;
    BOOL showCloseButton;  //Default false, only set when the close button is needed.
}

@property (nonatomic) int panelIndex;
@property (nonatomic) BOOL readOnlyView;
@property (nonatomic, strong) NSMutableDictionary *screenDesignerJSON;
-(void)refreshPanel;
-(void)addCloseButton;
-(NSString *)getPanelIcon;
-(void)closeAction:(id)sender;   //Override if one want to handle the close event
- (BOOL) shouldShowFooterForScrollView:(UIScrollView *)scrollView;
- (UIView *) footerView;
@end
