Package com._1c.g5.aef2.renderers
Class ChangelessTreeTransformation
java.lang.Object
com._1c.g5.aef2.renderers.ChangelessTreeTransformation
- All Implemented Interfaces:
ITreeTransformation
- Direct Known Subclasses:
AlphabeticalTreeTransformation,CategoreisTreeTransformation,SkipEmptySectionTreeTransformation
The
ITreeTransformation that makes no changes.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChildren(IViewModel viewModel) Returns the child view models of the given view model.getParent(IViewModel viewModel) Returns the parent view model of the given one.getRoots(Iterable<IViewModel> viewModels) Returns the transformed root view models.
-
Field Details
-
INSTANCE
Shared instance.
-
-
Constructor Details
-
ChangelessTreeTransformation
protected ChangelessTreeTransformation()Creates a new instace.
-
-
Method Details
-
getRoots
Description copied from interface:ITreeTransformationReturns the transformed root view models.- Specified by:
getRootsin interfaceITreeTransformation- Returns:
- the root view models.
-
getChildren
Description copied from interface:ITreeTransformationReturns the child view models of the given view model.- Specified by:
getChildrenin interfaceITreeTransformation- Parameters:
viewModel- the view model.- Returns:
- child view models.
-
getParent
Description copied from interface:ITreeTransformationReturns the parent view model of the given one.- Specified by:
getParentin interfaceITreeTransformation- Parameters:
viewModel- the view model.- Returns:
- the parent.
-