1 11 package org.eclipse.jdt.internal.junit.refactoring; 12 13 import org.eclipse.core.runtime.CoreException; 14 15 import org.eclipse.debug.core.ILaunchConfiguration; 16 17 public class LaunchConfigurationContainer { 18 19 public LaunchConfigurationContainer(ILaunchConfiguration configuration) { 20 fConfiguration= configuration; 21 } 22 23 private ILaunchConfiguration fConfiguration; 24 25 public String getName() { 26 return fConfiguration.getName(); 27 } 28 29 public ILaunchConfiguration getConfiguration() { 30 return fConfiguration; 31 } 32 33 public void setConfiguration(ILaunchConfiguration configuration) { 34 fConfiguration= configuration; 35 } 36 37 public String getAttribute(String attribute, String defaultValue) throws CoreException { 38 return fConfiguration.getAttribute(attribute, defaultValue); 39 } 40 } | Popular Tags |