sdedic commented on a change in pull request #2996:
URL: https://github.com/apache/netbeans/pull/2996#discussion_r651136394



##########
File path: platform/openide.loaders/src/org/openide/loaders/DataFolder.java
##########
@@ -835,10 +835,11 @@ protected DataObject handleCreateFromTemplate (
         DataFolder newFolder = (DataFolder)super.handleCreateFromTemplate (f, 
name);
         Enumeration<DataObject> en = children ();
 
+        Map<String, Object> params = CreateAction.getCallParameters(null);

Review comment:
       Good, this is consistent with `MultiDataObject.create` ... would it be 
appropriate to also call `FileBuilder.createFromTemplate` on the folder's 
FileObject ifself ? If no handler is interested 
(`CreateFromTemplateHandler.accept`) then creation can proceed recursively; 
otherwise, handlers can be defined for custom folder processing.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to