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:
Friedemann Kleint
2011-03-10 16:11:20 +01:00
committed by con
parent 3ab75ac979
commit 11311b6e94
11 changed files with 837 additions and 254 deletions

View File

@@ -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);
}