mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
naming
This commit is contained in:
+2
-2
@@ -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(
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user