27 #include <MemoryX/gui-plugins/GridFSFileEditor/ui_GridFSFileEditorWidget.h>
34 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
35 #include <MemoryX/interface/components/LongtermMemoryInterface.h>
75 void loadSettings(QSettings* settings)
override;
80 void saveSettings(QSettings* settings)
override;
88 return "MemoryX.GridFSFileEditor";
92 return QIcon {
"://icons/server.svg"};
100 void onInitComponent()
override;
108 void onConnectComponent()
override;
115 void onDisconnectComponent()
override;
120 void loadFileNames(QString dbName =
"");
121 void loadFileContent(
const QString& fileName);
122 void saveContentToFile();
123 void deleteUnreferencedFiles();
135 void replaceFileDocID(QString fileId,
const QString&
newId);
137 std::string whereQuery(std::string fileId)
const;
141 Ui::GridFSFileEditorWidget widget;
146 memoryx::CommonStorageInterfacePrx commonStoragePrx;