This class provides a common interface to the documents of the map, GUI or model editor. More...
#include "DocumentAdapter.hpp"
Public Member Functions | |
virtual const ArrayT < EditorMaterialI * > & | GetMaterials () const =0 |
virtual void | GetUsedMaterials (ArrayT< EditorMaterialI * > &UsedMaterials) const =0 |
virtual void | OnMarkMaterial (EditorMaterialI *Mat) const =0 |
virtual void | OnReplaceMaterial (EditorMaterialI *Mat) const =0 |
virtual void | UpdateAllObservers_VarChanged (const cf::TypeSys::VarBaseT &Var)=0 |
This class provides a common interface to the documents of the map, GUI or model editor.
Using this interface, it is possible to have shared code (like the material browser, parts of the component system, and some commands) that can access a document without knowing whether it deals with (and does its work for) a map, a GUI or a model document. In summary, the shared code is nicely separated from the editor documents.