CanvasService.createAdapterViewModel Method

Creates an adapter view model that can be added to the canvas.
 

Parameters

options

Type: Object
The options for this adapter canvas view model.
 adapterObjectName [type:String] - The name of the adapter object (i.e. "dundas.controls.SomeControl")
 adapterData [type: Object] - Any optional settings for the adapter object
 or
 adapter [type:dundas.view.controls.Adapter] - The adapter to be added.
 

Return Value


Type: CanvasSelectableViewModel
A view model for the specified canvas.