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:ITreeTransformation
Returns the transformed root view models.- Specified by:
getRoots
in interfaceITreeTransformation
- Returns:
- the root view models.
-
getChildren
Description copied from interface:ITreeTransformation
Returns the child view models of the given view model.- Specified by:
getChildren
in interfaceITreeTransformation
- Parameters:
viewModel
- the view model.- Returns:
- child view models.
-
getParent
Description copied from interface:ITreeTransformation
Returns the parent view model of the given one.- Specified by:
getParent
in interfaceITreeTransformation
- Parameters:
viewModel
- the view model.- Returns:
- the parent.
-