private void _createCP() throws Exception{
if (controlPoint != null)
return;
- if (getPipeRun() != null) {
- controlPoint = ControlPointFactory.create(this);
- // TODO : these should not be needed.
- controlPoint.setDeletable(false);
- controlPoint.setFixed(true);
- }
+ controlPoint = ControlPointFactory.create(this);
+ // TODO : these should not be needed.
+ controlPoint.setDeletable(false);
+ controlPoint.setFixed(true);
+ syncNext();
+ syncPrevious();
}
@RelatedSetObj(Plant3D.URIs.HasPipeRun)