logic: rewrote messages handling token activation for correct restoring on undo
* saving search query to undo stack with MessageSearch * saving node and edge with name to undo stack with MessageActivateNode and MessageActivateEdge * added FeatureController that handels distribution of MessageActivateTokens * clearing views when refreshing or changing project * clearing undo stack when changing project * added StorageCache derived from StorageAccessProxy
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
class ViewFactory;
|
||||
class MainView;
|
||||
class StorageAccessProxy;
|
||||
class StorageCache;
|
||||
|
||||
class Application
|
||||
: public MessageListener<MessageFinishedParsing>
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
virtual void handleMessage(MessageSaveProject* message);
|
||||
|
||||
std::shared_ptr<Project> m_project;
|
||||
std::shared_ptr<StorageAccessProxy> m_storageAccessProxy;
|
||||
std::shared_ptr<StorageCache> m_storageCache;
|
||||
|
||||
std::shared_ptr<MainView> m_mainView;
|
||||
std::shared_ptr<ComponentManager> m_componentManager;
|
||||
|
||||
Reference in New Issue
Block a user