Commit 143ef555 authored by Laszlo Kishalmi's avatar Laszlo Kishalmi
Browse files

[NETBEANS-4438] Fix new action wizard

parent abc559e4
......@@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
OpenIDE-Module: org.netbeans.modules.apisupport.wizards
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/project/ui/wizard/common/Bundle.properties
OpenIDE-Module-Layer: org/netbeans/modules/apisupport/project/ui/wizard/common/layer.xml
OpenIDE-Module-Specification-Version: 1.28
OpenIDE-Module-Specification-Version: 1.28.1
......@@ -621,7 +621,7 @@ final class DataModel extends BasicWizardIterator.BasicDataModel {
this.edContextSeparatorBefore = separator;
}
static class ActionReferenceModel implements Serializable {
public static class ActionReferenceModel implements Serializable {
String parentPath;
String name;
int beforeSep;
......@@ -630,7 +630,7 @@ final class DataModel extends BasicWizardIterator.BasicDataModel {
public ActionReferenceModel(String parentPath, String name, int beforeSep, int afterSep, int position) {
this.parentPath = parentPath;
this.name = name;
this.name = name != null ? name : "";
this.beforeSep = beforeSep;
this.afterSep = afterSep;
this.position = position;
......@@ -645,7 +645,7 @@ final class DataModel extends BasicWizardIterator.BasicDataModel {
}
public String name() {
return name == null ? "" : name;
return name;
}
public int separatorBefore() {
......@@ -658,7 +658,7 @@ final class DataModel extends BasicWizardIterator.BasicDataModel {
@Override
public String toString() {
return "ActionReferenceModel{" + "parentPath=" + parentPath + ", name=" + name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", position=" + position + '}';
return "ActionReferenceModel{" + "path=" + parentPath + ", name=" + name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", position=" + position + '}';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment