LuciadCPillar C# 2024.0.04
Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory Interface Reference

Allows you to specify the translate handle that is used by this handles provider. More...

Public Member Functions

Handles.IEditHandle CreateTranslateHandle (Utils.Observable< Models.Features.Feature > feature, Utils.Observable< Luciad.Geometries.Geometry > geometry, Handles.ITranslateEditAction editAction, Features.FeatureEditContext context)
 
bool IsTranslateHandleValid (Handles.IEditHandle translateHandle, Utils.Observable< Models.Features.Feature > feature, Utils.Observable< Luciad.Geometries.Geometry > geometry, Features.FeatureEditContext context)
 

Detailed Description

Allows you to specify the translate handle that is used by this handles provider.

It allows you to:

  • replace the handle with another handle implementation
  • (dynamically) disable or re-enable the translation handles

Note: Other handles are created by the delegate geometry handles provider.

Additional handles can not be added using this factory. The way to do this is to wrap the IEditHandles provided by FeatureHandlesProvider, and to insert additional handles in the IEditHandles.GetList method.

Member Function Documentation

◆ CreateTranslateHandle()

Handles.IEditHandle Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory.CreateTranslateHandle ( Utils.Observable< Models.Features.Feature feature,
Utils.Observable< Luciad.Geometries.Geometry geometry,
Handles.ITranslateEditAction  editAction,
Features.FeatureEditContext  context 
)

◆ IsTranslateHandleValid()

bool Luciad.Edit.Features.FeatureHandlesProvider.IHandleFactory.IsTranslateHandleValid ( Handles.IEditHandle  translateHandle,
Utils.Observable< Models.Features.Feature feature,
Utils.Observable< Luciad.Geometries.Geometry geometry,
Features.FeatureEditContext  context 
)