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;
|
return component;
|
||||||
}
|
}
|
||||||
@@ -162,7 +162,7 @@ public class InstantiationManager {
|
|||||||
* @throws IllegalAccessException
|
* @throws IllegalAccessException
|
||||||
* @throws InvocationTargetException
|
* @throws InvocationTargetException
|
||||||
*/
|
*/
|
||||||
public void setDefaultProperties(Object object) throws IllegalArgumentException,
|
public void fillWithDefaultProperties(Object object) throws IllegalArgumentException,
|
||||||
IllegalAccessException, InvocationTargetException {
|
IllegalAccessException, InvocationTargetException {
|
||||||
// Extract properties.
|
// Extract properties.
|
||||||
List<PropertyWrapper> properties = ComponentProcessor.getInstance().extractProperties(
|
List<PropertyWrapper> properties = ComponentProcessor.getInstance().extractProperties(
|
||||||
|
|||||||
+1
-1
@@ -188,7 +188,7 @@ public class Presenter implements IPlugInPort {
|
|||||||
LOG.info("createNewFile()");
|
LOG.info("createNewFile()");
|
||||||
try {
|
try {
|
||||||
Project project = new Project();
|
Project project = new Project();
|
||||||
instantiationManager.setDefaultProperties(project);
|
instantiationManager.fillWithDefaultProperties(project);
|
||||||
loadProject(project, true);
|
loadProject(project, true);
|
||||||
projectFileManager.fireFileStatusChanged();
|
projectFileManager.fireFileStatusChanged();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user