Class LwtPropertyPaletteRenderer
- java.lang.Object
-
- com._1c.g5.aef2.renderers.Renderer<ILightControl,LwtRenderingParameters>
-
- com._1c.g5.aef2.lwt.LwtRenderer
-
- com._1c.g5.aef2.standard.lwt.renderers.LwtStandardRenderer
-
- com._1c.g5.v8.dt.ui.aef.lwt.DtLwtRenderer
-
- com._1c.g5.v8.dt.md.ui.aef.lwt.MdLwtRenderer
-
- com._1c.g5.v8.dt.md.ui.properties.renderers.LwtPropertyPaletteRenderer
-
- All Implemented Interfaces:
IRenderer<LwtRenderingParameters>
public class LwtPropertyPaletteRenderer extends MdLwtRenderer
IRenderer
implementation for property palette.
-
-
Constructor Summary
Constructors Constructor Description LwtPropertyPaletteRenderer()
Creates a new renderer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ILightLayoutData
convertLayoutData(IAefLayoutData layoutData, ILightControl lightControl)
Converts the AEF layout data to layout data for the given native control.protected boolean
viewCanBeReused(IView<?,?,?> view, IViewModel oldViewModel, IViewModel newViewModel)
Checks if the specified view associated with theoldViewModel
can be reused for the givennewViewModel
.-
Methods inherited from class com._1c.g5.v8.dt.md.ui.aef.lwt.MdLwtRenderer
containsHeavyControls
-
Methods inherited from class com._1c.g5.aef2.standard.lwt.renderers.LwtStandardRenderer
applyLayout, convertLayout, createLightControl, disposeLightControl, getFocusedEventChannel, render
-
Methods inherited from class com._1c.g5.aef2.lwt.LwtRenderer
dispose, getTargetId, initialize, relayout
-
Methods inherited from class com._1c.g5.aef2.renderers.Renderer
createView, findViewClass, getParameters, getTreeTransformation, loadMappings, setMapping, setTreeTransformation
-
-
-
-
Method Detail
-
viewCanBeReused
protected boolean viewCanBeReused(IView<?,?,?> view, IViewModel oldViewModel, IViewModel newViewModel)
Description copied from class:LwtRenderer
Checks if the specified view associated with theoldViewModel
can be reused for the givennewViewModel
.Default implementation always returns
false
.- Overrides:
viewCanBeReused
in classLwtRenderer
- Parameters:
view
- the view associated with theoldViewModel
, cannot benull
.oldViewModel
- the old view model, cannot benull
.newViewModel
- the new view model, cannot benull
.- Returns:
true
if the view can be reused for thenewViewModel
,false
- otherwise.
-
convertLayoutData
protected ILightLayoutData convertLayoutData(IAefLayoutData layoutData, ILightControl lightControl)
Description copied from class:Renderer
Converts the AEF layout data to layout data for the given native control.- Overrides:
convertLayoutData
in classLwtStandardRenderer
- Parameters:
layoutData
- the AEF layout data.- Returns:
- the converted layout data object.
-
-