forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user