RunConfigurationAspects: Move method to create config widget

Move the method used to create a config widget for a
RunConfigurationAspect from the RunControlFactory into the aspect
itself. This allows for aspects that are not bound to any factory,
which is what I eventually want to use to hold the environment for
run configurations.

Change-Id: Icceb5f44ca9eb63a87b9c7bb6468ff30dab943c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-03-27 17:17:24 +01:00
parent 533644290f
commit fd1f284892
15 changed files with 177 additions and 184 deletions

View File

@@ -104,6 +104,12 @@ bool ProcessHandle::equals(const ProcessHandle &rhs) const
}
RunConfigWidget *IRunConfigurationAspect::createConfigurationWidget()
{
return 0;
}
/*!
\class ProjectExplorer::RunConfiguration
\brief Base class for a run configuration. A run configuration specifies how a
@@ -396,11 +402,6 @@ IRunConfigurationAspect *IRunControlFactory::createRunConfigurationAspect(RunCon
return 0;
}
RunConfigWidget *IRunControlFactory::createConfigurationWidget(RunConfiguration *)
{
return 0;
}
/*!
\class ProjectExplorer::RunControl
\brief Each instance of this class represents one item that is run.