//-*-c++-*-
#ifndef TULIP_COLORSPROXY_H
#define TULIP_COLORSPROXY_H

#include "PropertyProxy.h"
#include "MethodFactory.h"
#include "TemplateFactory.h"


class PropertyContext;

///
class ColorsProxy:public PropertyProxy<ColorType,ColorType>
{ 
  ///
  friend class Colors;

public:
  static TemplateFactory<ColorsFactory,Colors,PropertyContext *> factory;

private:
  ///
  Colors *currentColors;

public :
  ///
  ColorsProxy (PropertyContext *context);
  ///
  ~ColorsProxy();
  ///
  bool select(std::string , std::string &);
  ///
  void reset_handler();
  ///
  void recompute_handler();

};

#endif

