Remove method createMethodConfiguration with methodElementProperty
diff --git a/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/ILibraryService.java b/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/ILibraryService.java
index d06c2c0..4d5fd72 100644
--- a/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/ILibraryService.java
+++ b/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/ILibraryService.java
@@ -225,22 +225,6 @@
public MethodConfiguration createMethodConfiguration(String name,
MethodLibrary library) throws LibraryServiceException;
-
- /**
- * Creates a new method configuration.
- *
- * @param name
- * a name for the new method configuration
- * @param library
- * the containing method library
- * @param property
- * method element property
- * @return a method configuration
- * @throw <code>LibraryServiceException</code> if an error occurs while
- * performing the operation
- */
- public MethodConfiguration createMethodConfiguration(String name,
- MethodLibrary library, MethodElementProperty property) throws LibraryServiceException;
/**
* Gets the current method configuration.
*
diff --git a/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/LibraryService.java b/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/LibraryService.java
index ecc164c..fc121bd 100644
--- a/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/LibraryService.java
+++ b/1.5/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/LibraryService.java
@@ -541,44 +541,6 @@
/**
- * Creates a new method configuration with the HIDE property
- *
- * @param name
- * a name for the new method configuration
- * @param library
- * the containing method library
- * @param configWizard
- * Flag to indicate that this config is created thru config wizard
- * @return a method configuration
- * @throw <code>LibraryServiceException</code> if an error occurs while
- * performing the operation
- */
- public MethodConfiguration createMethodConfiguration(String name,
- MethodLibrary library, MethodElementProperty property) throws LibraryServiceException {
- if (name == null || library == null) {
- throw new IllegalArgumentException();
- }
-
- MethodConfiguration config;
- List configs = library.getPredefinedConfigurations();
- for (Iterator it = configs.iterator(); it.hasNext();) {
- config = (MethodConfiguration) it.next();
- if (name.equals(config.getName())) {
- throw new ConfigurationAlreadyExistsException();
- }
- }
-
- config = UmaFactory.eINSTANCE.createMethodConfiguration();
- config.setName(name);
- configs.add(config);
-
- config.getMethodElementProperty().add(property);
-
-
- return config;
- }
-
- /**
* Gets the current method configuration.
*
* @return a method configuration