30 #include "../core/pattern/mvc/OutsideModelObservable.h"
31 #include "../core/pattern/singleton/Context.h"
32 #include "../core/pattern/mvc/Observable.h"
64 if(!property.isNull())
66 if(property.getOptionChoices().empty())
68 if(property.getValue() != variant)
80 if(property.getOptionByCurrentChoice() != variant)
82 property.setOptionChoice(variant);
Abstract class to represent an observable. "Model" part of MVC component.
virtual ~GridSettingsController()
virtual bool updateProperty(Property prop, EnumType *enumType)
GridSettingsController(Observable *o)
virtual te::layout::Property containsProperty(std::string name, EnumType *enumType)
Class acts like a union for some C++/TerraLib5 data types. Responsible for storing the value...
virtual Property getProperty(std::string name, EnumType *enumType)
Abstract class to represent an observable. "Model" part of MVC widget. All classes representing the m...
void setValue(ValueType value, EnumType *type)
Stores a copy of value.
Class that represents the value of an enumeration. An enumeration is made of "1..n" objects EnumType...
virtual Property updateProperty(std::string name, Variant variant, EnumType *enumType)
Abstract class to represent a controller. "Controller" part of MVC widget. All classes representing t...
A property acts like a attribute member of a object and stores the state of this attribute. A set of properties stores the state of an object. Any data type, not included in the convertValue method in the class te::layout::Variant, it will be by default "std::string" value.