Go to the documentation of this file.
6#ifndef imod_IModelEditor_included
7#define imod_IModelEditor_included
Common interface for an model editor.
ChangeFlags
Data model change notification flags.
@ CF_INIT_EDITOR
Called at begin of editor initialization.
virtual void UpdateEditor(const istd::IChangeable::ChangeSet &changeSet)=0
Updates editor with model data.
virtual bool IsReadOnly() const =0
Returns true if the model data can be changed.
virtual void UpdateModelFromEditor() const =0
Updates model from editor.
virtual void SetReadOnly(bool state)=0
Set flag that the model data can be changed.
Set of change flags (its IDs).
This namespace containes basic implementation of Model/Observer design pattern This package is system...
© Witold Gantzke and Kirill Lepskiy