private void materializeChildren ( ElementBase parent , LayoutElement node , boolean ignoreInternal ) { for ( LayoutNode child : node . getChildren ( ) ) { PluginDefinition def = child . getDefinition ( ) ; ElementBase element = ignoreInternal && def . isInternal ( ) ? null : createElement ( parent , child ) ; if ( element != null ) { materializeChildren ( element , ( LayoutElement ) child , false ) ; } } for ( LayoutTrigger trigger : node . getTriggers ( ) ) { ElementTrigger trg = new ElementTrigger ( ) ; trg . addTarget ( ( ElementUI ) parent ) ; createElement ( trg , trigger . getChild ( LayoutTriggerCondition . class ) ) ; createElement ( trg , trigger . getChild ( LayoutTriggerAction . class ) ) ; ( ( ElementUI ) parent ) . addTrigger ( trg ) ; } }
Materializes the layout under the specified parent .