public interface ICanvasObjectInstaller
CanvasControl
.
This interface is most prominently used by ModelManager
and its descendants to manage visuals in the canvas.
Modifier and Type | Method and Description |
---|---|
ICanvasObject |
addCanvasObject(ICanvasContext context,
ICanvasObjectGroup group,
Object item)
This the main method of the interface that performs the installation of an item's visual representation in the
canvas
by adding ICanvasObject s. |
ICanvasObject addCanvasObject(ICanvasContext context, ICanvasObjectGroup group, Object item)
canvas
by adding ICanvasObject
s.context
- The context that contains the information required to install the visual representation.group
- The canvas object group to add the newly generated ICanvasObject
to.item
- The item to install.ICanvasObject
for the item's visual representation. null
if nothing was installed.