Class ALspDynamicCreateHandle


public abstract class ALspDynamicCreateHandle extends ALspCreateHandle
A create handle that dynamically adds handles. This is useful when the list of handles is not known a-priori. An example of an editor that uses a dynamic create handle is the TLsp2DPointListEditor, where a new handle is constructed whenever a new point is added to the point list under creation. Since the number of points in the list is unknown beforehand, a static create handle cannot be used.

This class can be extended by implementing createNewEditHandle. Since hasNext always returns true by default, requestsDeactivation can be used to end the creation.

Implementations of this class typically respond to TLspNextCreateStepEvent that is used to programmatically end a dynamic creation step (see also TLspCreateController.finish().

Since:
2012.0