Class SkipEmptySectionTreeTransformation
- java.lang.Object
-
- com._1c.g5.aef2.renderers.ChangelessTreeTransformation
-
- com._1c.g5.v8.dt.md.ui.editor.aef.SkipEmptySectionTreeTransformation
-
- All Implemented Interfaces:
ITreeTransformation
public class SkipEmptySectionTreeTransformation extends ChangelessTreeTransformation
TheITreeTransformation
implementation that skips theSectionViewModel
without children.
-
-
Field Summary
Fields Modifier and Type Field Description static ITreeTransformation
INSTANCE
The shared instance.
-
Method Summary
All 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.-
Methods inherited from class com._1c.g5.aef2.renderers.ChangelessTreeTransformation
getParent, getRoots
-
-
-
-
Field Detail
-
INSTANCE
public static final ITreeTransformation INSTANCE
The shared instance.
-
-
Method Detail
-
getChildren
public Collection<IViewModel> getChildren(IViewModel viewModel)
Description copied from interface:ITreeTransformation
Returns the child view models of the given view model.- Specified by:
getChildren
in interfaceITreeTransformation
- Overrides:
getChildren
in classChangelessTreeTransformation
- Parameters:
viewModel
- the view model.- Returns:
- child view models.
-
-