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
 
 public class ChangelessTreeTransformation extends Object implements ITreeTransformation TheITreeTransformationthat makes no changes.
- 
- 
Field SummaryFields Modifier and Type Field Description static ITreeTransformationINSTANCEShared instance.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedChangelessTreeTransformation()Creates a new instace.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<IViewModel>getChildren(IViewModel viewModel)Returns the child view models of the given view model.IContainerViewModelgetParent(IViewModel viewModel)Returns the parent view model of the given one.Collection<IViewModel>getRoots(Iterable<IViewModel> viewModels)Returns the transformed root view models.
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final ITreeTransformation INSTANCE Shared instance.
 
- 
 - 
Method Detail- 
getRootspublic Collection<IViewModel> getRoots(Iterable<IViewModel> viewModels) Description copied from interface:ITreeTransformationReturns the transformed root view models.- Specified by:
- getRootsin interface- ITreeTransformation
- Returns:
- the root view models.
 
 - 
getChildrenpublic Collection<IViewModel> getChildren(IViewModel viewModel) Description copied from interface:ITreeTransformationReturns the child view models of the given view model.- Specified by:
- getChildrenin interface- ITreeTransformation
- Parameters:
- viewModel- the view model.
- Returns:
- child view models.
 
 - 
getParentpublic IContainerViewModel getParent(IViewModel viewModel) Description copied from interface:ITreeTransformationReturns the parent view model of the given one.- Specified by:
- getParentin interface- ITreeTransformation
- Parameters:
- viewModel- the view model.
- Returns:
- the parent.
 
 
- 
 
-