1 | package de.uka.ipd.sdq.cip.runtime.runconfig; |
2 | |
3 | import org.eclipse.core.runtime.CoreException; |
4 | import org.eclipse.debug.core.ILaunchConfiguration; |
5 | |
6 | import de.uka.ipd.sdq.cip.runtime.configuration.CompletionRunConfiguration; |
7 | import de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedRunConfiguration; |
8 | import de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowConfigurationBuilder; |
9 | |
10 | public class CipLaunchConfigurationBasedConfigBuilder extends AbstractWorkflowConfigurationBuilder { |
11 | |
12 | public CipLaunchConfigurationBasedConfigBuilder(ILaunchConfiguration configuration, String mode) |
13 | throws CoreException { |
14 | super(configuration, mode); |
15 | } |
16 | |
17 | @Override |
18 | public void fillConfiguration( |
19 | AbstractWorkflowBasedRunConfiguration configuration) |
20 | throws CoreException { |
21 | CipConfiguration cipConfiguration = (CipConfiguration) configuration; |
22 | |
23 | cipConfiguration.setCompletionConfiguration(new CompletionRunConfiguration(properties)); |
24 | } |
25 | |
26 | } |