Package com._1c.g5.aef2.renderers
Interface ITreeTransformation
-
- All Known Implementing Classes:
AlphabeticalTreeTransformation
,CategoreisTreeTransformation
,ChangelessTreeTransformation
,SkipEmptySectionTreeTransformation
public interface ITreeTransformation
Defines contract for transformation of the view model tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<IViewModel>
getChildren(IViewModel viewModel)
Returns the child view models of the given view model.IContainerViewModel
getParent(IViewModel viewModel)
Returns the parent view model of the given one.Iterable<IViewModel>
getRoots(Iterable<IViewModel> roots)
Returns the transformed root view models.
-
-
-
Method Detail
-
getRoots
Iterable<IViewModel> getRoots(Iterable<IViewModel> roots)
Returns the transformed root view models.- Returns:
- the root view models.
-
getChildren
Iterable<IViewModel> getChildren(IViewModel viewModel)
Returns the child view models of the given view model.- Parameters:
viewModel
- the view model.- Returns:
- child view models.
-
getParent
IContainerViewModel getParent(IViewModel viewModel)
Returns the parent view model of the given one.- Parameters:
viewModel
- the view model.- Returns:
- the parent.
-
-