Community
Participate
Working Groups
Build Identifier: Convenient way to create editparts at runtime In the forums I see very often that users need to create editparts at runtime. These editparts do not be connected to domain elements. Currently there is no way to create such an editpart at runtime. My use case for example: I need to dynamicaly add labels to a line. These labels need to be able to be moved. Manipulating a figure is not enough in this case, because the labels cannot be moved to. The user cann display any information he likes in these labels. So I do not always present the same things in these labels. The user can define own mappings at runtime. As the number of labels and their content is arbitray I cannot predefine these labels in the gmfmap. The solution to my problem would be a EditPartFactory that can be used like this: Wrapping Label wl = EditPartFactory.createEditPart(WrappingLabel.class) wl.setTex("My Text"). Reproducible: Always