From 07f7382e56921b187b7081b3cd4df3b58ed705b3 Mon Sep 17 00:00:00 2001 From: Bane Stojkovic Date: Tue, 15 Nov 2022 22:57:47 +0100 Subject: [PATCH] Naming sync --- diylc/diylc-core/src/org/diylc/common/IPlugInPort.java | 4 ++-- diylc/diylc-core/src/org/diylc/presenter/Presenter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/diylc/diylc-core/src/org/diylc/common/IPlugInPort.java b/diylc/diylc-core/src/org/diylc/common/IPlugInPort.java index 62ce979a..55c920ee 100644 --- a/diylc/diylc-core/src/org/diylc/common/IPlugInPort.java +++ b/diylc/diylc-core/src/org/diylc/common/IPlugInPort.java @@ -309,10 +309,10 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP * * @param componentType * @param template optional - * @param parameters optional + * @param model optional datasheet model * @param forceInstatiate */ - void setNewComponentTypeSlot(ComponentType componentType, Template template, String[] parameters, boolean forceInstatiate); + void setNewComponentTypeSlot(ComponentType componentType, Template template, String[] model, boolean forceInstatiate); /** * Locks or unlocks the specified layer. All components within +- 0.5 range will be affected by diff --git a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java index 2469a71a..481f4d1d 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java +++ b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java @@ -721,7 +721,7 @@ public class Presenter implements IPlugInPort { } } - private void addPendingComponentsToProject(Point2D scaledPoint, ComponentType componentTypeSlot, Template template, String[] parameters) { + private void addPendingComponentsToProject(Point2D scaledPoint, ComponentType componentTypeSlot, Template template, String[] model) { List> componentSlot = instantiationManager.getComponentSlot(); Point2D firstPoint = componentSlot.get(0).getControlPoint(0); // don't allow to create component with the same points @@ -745,7 +745,7 @@ public class Presenter implements IPlugInPort { editSelection(); } if (configManager.readBoolean(IPlugInPort.CONTINUOUS_CREATION_KEY, false)) { - setNewComponentTypeSlot(componentTypeSlot, template, parameters, false); + setNewComponentTypeSlot(componentTypeSlot, template, model, false); } else { setNewComponentTypeSlot(null, null, null, false); }