Use context parameter for the parentNode
This commit is contained in:
parent
566515ca88
commit
05c5f3c914
138 changed files with 450 additions and 375 deletions
|
|
@ -19,5 +19,6 @@ interface FeatureEntryPoint
|
|||
* Can be used when the feature only exposes a simple node without the need of plugins.
|
||||
*/
|
||||
fun interface SimpleFeatureEntryPoint : FeatureEntryPoint {
|
||||
fun createNode(parentNode: Node, buildContext: BuildContext): Node
|
||||
context(parentNode: Node)
|
||||
fun createNode(buildContext: BuildContext): Node
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue