Class IdPattern

All Implemented Interfaces:
IFeatureProviderHolder, IAdd, ICreate, ICreateInfo, IDelete, IDirectEditing, ILayout, IMoveShape, IRemove, IResizeShape, IUpdate, IPattern

public abstract class IdPattern extends TypedPattern implements IPattern
Base class for ID patterns. The basic idea behind is to tag single parts of a pattern shape with IDs (using Property objects). These IDs are used to identify the parts of that shape and to call the update and layout methods for the shapes with IDs. Clients do not need to search through the shape hierarchy to find the shapes to update and layout.

Besides IDs this pattern base implementation also supports tagging PictogramElements with an index property that allows to number a sequence of children using the same ID, e.g. a list of attributes inside a class.

Since:
0.10