Class AlphabeticalTreeTransformation
- java.lang.Object
-
- com._1c.g5.aef2.renderers.ChangelessTreeTransformation
-
- com._1c.g5.properties.ui.transformation.AlphabeticalTreeTransformation
-
- All Implemented Interfaces:
ITreeTransformation
public class AlphabeticalTreeTransformation extends ChangelessTreeTransformation
ITreeTransformation
implementation adapted foralphabetically
mode of property pallete.
-
-
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.IContainerViewModel
getParent(IViewModel viewModel)
Returns the parent view model of the given one.-
Methods inherited from class com._1c.g5.aef2.renderers.ChangelessTreeTransformation
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.
-
getParent
public IContainerViewModel getParent(IViewModel viewModel)
Description copied from interface:ITreeTransformation
Returns the parent view model of the given one.- Specified by:
getParent
in interfaceITreeTransformation
- Overrides:
getParent
in classChangelessTreeTransformation
- Parameters:
viewModel
- the view model.- Returns:
- the parent.
-
-