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



#import "sigobjc++.h"
#include "workbench/wb_context_ui.h"




typedef enum {
  PROPERTY_TYPE_UNDEFINED = 0,
  PROPERTY_TYPE_STRING = 1,
  PROPERTY_TYPE_BOOL = 2,
  PROPERTY_TYPE_COLOR = 3
} PropertyType;



@interface WBObjectPropertiesController : NSObject
{
  IBOutlet NSTableView* mTableView;
  
  NSCell* mColorCell;
  NSButtonCell * mCheckBoxCell;
  
  wb::WBContextUI *_wbui;
  bec::ValueInspectorBE* mValueInspector;
}


- (void) updateForForm: (bec::UIForm*) form;
- (void) setWBContext: (wb::WBContextUI*) be;

- (PropertyType) propertyTypeForRowIndex: (NSInteger) rowIndex;


@end





