CanvasAdapter.generateNextAdapterName Method

Generate the next available adapter name by seeing what adapter is present on the canvas.
 

Parameters

originalName

Type: String
The original adapter name to generate with.
preventNames

Type: array
ElementType: String
Names to avoid being generated.
options

Type: object - May be null
Extra options
     originalFriendlyName   [type: String, mayBeNull: true, default: null] - if provided, check to see if originalName can be reused first.

Return Value


Type: Adapter
The adapter, or null if none is found.