*/
void saveDocument(const QString& theName, std::list<std::string>& theFileNames);
+ /*
+ * If there is an active (uncommited) operation shows a prompt to abort it
+ * and performs abortion if user agreed. Returns true if
+ * - operation aborted successfully
+ * - there is no active operation
+ */
+ bool isActiveOperationAborted();
+
signals:
void salomeViewerSelection();
void errorOccurred(const QString&);
void activateLastPart();
- /// Display all results of the current document
- void displayAllResults();
-
protected:
//Event-loop processing methods:
void addFeature(const Config_FeatureMessage*);
QList<QAction*> getModuleCommands() const;
+ void displayAllResults();
void displayDocumentResults(DocumentPtr theDoc);
void displayGroupResults(DocumentPtr theDoc, std::string theGroup);