Class AbstractDslUiHandler
java.lang.Object
org.qubership.atp.dataset.model.utils.AbstractDslUiHandler
- All Implemented Interfaces:
TraverseHandler<DataSetList,,Attribute> TraverseVisitor<DataSetList,Attribute>
- Direct Known Subclasses:
DslUiHandler
public abstract class AbstractDslUiHandler
extends Object
implements TraverseVisitor<DataSetList,Attribute>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidattributeStarts(Attribute attr) Invoked when iteration goes upper to parents in a tree hierarchy.forwardToNewParent(DataSetList parent) Invoked when iteration goes deeper to children which becomes new parent in a tree hierarchy.getChildren(DataSetList item) Explains how to get children from parent.protected abstract voidNot invoked for leafs.protected abstract voidNot invoked for leafs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.qubership.atp.dataset.model.utils.tree.TraverseVisitor
notifyChildrenProcessed, notifyItemEnds, notifyItemStarts, notifyProcessingChildren
-
Constructor Details
-
AbstractDslUiHandler
public AbstractDslUiHandler(boolean expandAll)
-
-
Method Details
-
attributeStarts
-
goForwardUnderAttribute
protected abstract void goForwardUnderAttribute()Not invoked for leafs. -
goBackFromAttribute
protected abstract void goBackFromAttribute()Not invoked for leafs. -
attributeEnds
protected abstract void attributeEnds() -
getChildren
Description copied from interface:TraverseHandlerExplains how to get children from parent. May return null. Invoked when iteration goes deeper.- Specified by:
getChildrenin interfaceTraverseHandler<DataSetList,Attribute> - Parameters:
item- go get children from- Returns:
- children
-
backToPreviousParent
Description copied from interface:TraverseHandlerInvoked when iteration goes upper to parents in a tree hierarchy.- Specified by:
backToPreviousParentin interfaceTraverseHandler<DataSetList,Attribute> - Specified by:
backToPreviousParentin interfaceTraverseVisitor<DataSetList,Attribute> - Returns:
- handler of previous depth.
-
forwardToNewParent
Description copied from interface:TraverseHandlerInvoked when iteration goes deeper to children which becomes new parent in a tree hierarchy.- Specified by:
forwardToNewParentin interfaceTraverseHandler<DataSetList,Attribute> - Specified by:
forwardToNewParentin interfaceTraverseVisitor<DataSetList,Attribute> - Returns:
- handler of deeper depth level.
-