This commit is contained in:
bancika
2011-01-20 21:47:09 +00:00
parent c875060e6a
commit 90f760dcd1
2 changed files with 3 additions and 3 deletions
@@ -147,7 +147,7 @@ public class InstantiationManager {
}
}
setDefaultProperties(component);
fillWithDefaultProperties(component);
return component;
}
@@ -162,7 +162,7 @@ public class InstantiationManager {
* @throws IllegalAccessException
* @throws InvocationTargetException
*/
public void setDefaultProperties(Object object) throws IllegalArgumentException,
public void fillWithDefaultProperties(Object object) throws IllegalArgumentException,
IllegalAccessException, InvocationTargetException {
// Extract properties.
List<PropertyWrapper> properties = ComponentProcessor.getInstance().extractProperties(
@@ -188,7 +188,7 @@ public class Presenter implements IPlugInPort {
LOG.info("createNewFile()");
try {
Project project = new Project();
instantiationManager.setDefaultProperties(project);
instantiationManager.fillWithDefaultProperties(project);
loadProject(project, true);
projectFileManager.fireFileStatusChanged();
} catch (Exception e) {