04-10-2013 05:35 AM
04-10-2013 07:30 AM
04-10-2013 04:15 PM
04-10-2013 04:19 PM
04-11-2013 07:42 AM
activeEditor.getEditingDomain().getCommandStack()
.execute(new RecordingCommand(activeEditor.getEditingDomain()) {
@Override
protected void doExecute() {
final AddContext context = new AddContext(new AreaContext(), userTask);
final IAddFeature addFeature = featureProvider.getAddFeature(context);
context.setNewObject(userTask);
context.setLocation(x, y);
context.setTargetContainer(diagram);
if (addFeature.canAdd(context)) {
final PictogramElement add = addFeature.add(context);
featureProvider.link(add, new Object[] { userTask });
}
}
});
The userTask object is also added to the flowElement list of the process in the model.04-11-2013 09:21 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.