for (Anchor anchor : gatewayShape.getAnchors()) {
for (Connection connection : anchor.getIncomingConnections() ) {
IUpdateContext updateCtx = new UpdateContext(connection);
IUpdateFeature updateFeature = featureProvider.getUpdateFeature(updateCtx);
if (updateFeature != null) {
boolean ret = updateFeature.canUpdate(updateCtx);
if (ret)
return ret;
}
}
for (Connection connection : anchor.getOutgoingConnections() ) {