|
|
@ -18,6 +18,9 @@ import java.util.Arrays; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
public class ParameterArrayPane extends JListControlPane { |
|
|
|
public class ParameterArrayPane extends JListControlPane { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final String DEFAULT_PARAMETER_NAME_PREFIX = "para"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Constructor. |
|
|
|
* Constructor. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -63,7 +66,7 @@ public class ParameterArrayPane extends JListControlPane { |
|
|
|
new NameableSelfCreator(Toolkit.i18nText("Fine-Design_Basic_Engine_Parameter_Name"), Parameter.class, ParameterPane.class) { |
|
|
|
new NameableSelfCreator(Toolkit.i18nText("Fine-Design_Basic_Engine_Parameter_Name"), Parameter.class, ParameterPane.class) { |
|
|
|
public Parameter createNameable(UnrepeatedNameHelper helper) { |
|
|
|
public Parameter createNameable(UnrepeatedNameHelper helper) { |
|
|
|
// 返回参数设置面板.
|
|
|
|
// 返回参数设置面板.
|
|
|
|
return new Parameter(helper.createUnrepeatedName("p")); |
|
|
|
return new Parameter(helper.createUnrepeatedName(DEFAULT_PARAMETER_NAME_PREFIX)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|