|
|
@ -173,10 +173,9 @@ public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
comboItemsMap = new HashMap<>(); |
|
|
|
comboItemsMap = new HashMap<>(); |
|
|
|
|
|
|
|
|
|
|
|
Set<SubmitProvider> providers = ExtraDesignClassManager.getInstance().getArray(SubmitProvider.MARK_STRING); |
|
|
|
Set<SubmitProvider> providers = ExtraDesignClassManager.getInstance().getArray(SubmitProvider.MARK_STRING); |
|
|
|
providers.add(new DefaultSubmit()); |
|
|
|
addSubmitPane(new DefaultSubmit()); |
|
|
|
for (SubmitProvider provider : providers) { |
|
|
|
for (SubmitProvider provider : providers) { |
|
|
|
customSubmitPanes.put(provider.keyForSubmit(), provider.appearanceForSubmit()); |
|
|
|
addSubmitPane(provider); |
|
|
|
comboItemsMap.put(provider.keyForSubmit(), provider.dataForSubmit()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
configTypes = new ArrayList<>(); |
|
|
|
configTypes = new ArrayList<>(); |
|
|
@ -211,6 +210,11 @@ public class SubmitVisitorListPane extends ObjectJControlPane { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void addSubmitPane(SubmitProvider provider) { |
|
|
|
|
|
|
|
customSubmitPanes.put(provider.keyForSubmit(), provider.appearanceForSubmit()); |
|
|
|
|
|
|
|
comboItemsMap.put(provider.keyForSubmit(), provider.dataForSubmit()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void populateBean(WClassSubmiterProvider ob) { |
|
|
|
public void populateBean(WClassSubmiterProvider ob) { |
|
|
|
editing = ob; |
|
|
|
editing = ob; |
|
|
|