return false;
}
public void createDebugConfiguration(DBMethod method) {
RunManagerEx runManager = (RunManagerEx) RunManagerEx.getInstance(method.getProject());
DBProgramRunConfigurationType configurationType = getConfigurationType();
RunnerAndConfigurationSettings runConfigurationSetting = null;
RunnerAndConfigurationSettings[] configurationSettings = runManager.getConfigurationSettings(configurationType);
for (RunnerAndConfigurationSettings configurationSetting : configurationSettings) {
DBProgramRunConfiguration availableRunConfiguration = (DBProgramRunConfiguration) configurationSetting.getConfiguration();
if (method.equals(availableRunConfiguration.getMethod())) {
runConfigurationSetting = configurationSetting;
break;
}
}
// check whether a configuration already exists for the given method
if (runConfigurationSetting == null) {
DBProgramRunConfigurationFactory configurationFactory = configurationType.getConfigurationFactory();
DBProgramRunConfiguration runConfiguration = configurationFactory.createConfiguration(method);
runConfigurationSetting = runManager.createConfiguration(runConfiguration, configurationFactory);
runManager.addConfiguration(runConfigurationSetting, false);
runManager.setTemporaryConfiguration(runConfigurationSetting);