Skip to content
Snippets Groups Projects
Commit 4a843211 authored by Nicolas Arnaud-Cormos's avatar Nicolas Arnaud-Cormos Committed by hjk
Browse files

Analyzer: create a run control factory for all tools.


Having one factory per tool (or plugin) created some bugs:
 * analyzer project settings being created twice
 * per-project analyzer settings widget duplicated
Also, most of the code from the run control factory were copied.

Now, the Analyzer only creates one run control factory shared among all tools, and the IAnalyzerTool
has two new virtual method: canRun and createStartParameters. It simplify the code a bit, and
creating a new analyzer tool is easier (only two classes to subclass: IAnalyzerTool and IAnalyzerEngine).

Change-Id: I4e180846a26b74b2b77cb99bc97534d680a80a4d
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 26ae954f
No related branches found
No related tags found
No related merge requests found
Showing
with 366 additions and 326 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment