3.3.1. GEF toolkit figure canvas
Prev | 3.3. GEF toolkit component overview | Next

### 3.3.1. GEF toolkit figure canvas

The figure canvas component is an editor where figures, connections and anchors are displayed.

Testing GEF components involves mapping this figure canvas component and locating the figures based on their textpath.

Use the GEF Inspector View to find out the textpath of the figures in the canvas component.

The figure canvas component itself contains various items which can be addressed.

- Individual figures

- Tools

- Connections

- Connection anchors. These are the points where connections join to figures. Connection anchors are considered as figures. As such, they can be addressed (clicked, checked etc.) using a textpath.

| Please keep in mind that it is not possible to object map single components within the figure canvas component but to object map the figure canvas component as a whole only. In order to interact with certain components within the figure canvas component you have to use the according actions.

Available Actions

- Check Anchor Count

- Check Enablement (General Components)

- Check Existence (General Components)

- Check Existence in GEF Figure Canvas

- Check Focus

- Check Anchor has Connection in GEF Figure Canvas

- Check Property

- Check Figure Property

- Check Selection of Context Menu Entry (General Components)

- Click (General Components)

- Click in GEF Figure Canvas

- Drag and Drop (General Components)

- Drag and Drop in GEF Figure Canvas

- Select in Context Menus

- Select Tool

- Show text

- Store Property/Value (General Components)

- Wait for Component (General)