forked from qt-creator/qt-creator
Remove 'Analyze' mode.
- Introduce a shared analysis output pane using a stacked widgets, layouts for the tools' output panes and toolbar widgets. - Introduce IAnalyzerOutputPaneAdapter interface returned by IAnalyzerTool to manage them. - Remove mode and its mainwindow contents (depending on enum constants should use cases for it occur). Reviewed-by: con
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "analyzerplugin.h"
|
||||
#include "analyzerconstants.h"
|
||||
#include "analyzermanager.h"
|
||||
#include "analyzeroutputpane.h"
|
||||
|
||||
#include <coreplugin/imode.h>
|
||||
#include <coreplugin/coreconstants.h>
|
||||
@@ -76,7 +77,9 @@ void AnalyzerPlugin::AnalyzerPluginPrivate::initialize(const QStringList &argume
|
||||
{
|
||||
Q_UNUSED(arguments)
|
||||
Q_UNUSED(errorString)
|
||||
m_manager = new AnalyzerManager(q);
|
||||
AnalyzerOutputPane *outputPane = new AnalyzerOutputPane;
|
||||
q->addAutoReleasedObject(outputPane);
|
||||
m_manager = new AnalyzerManager(outputPane, q);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user