It is a Ellipse that contains both a Ellipse and a Rectangle.
Now as per the tutorial resizing the ellipse does not resize the shapes inside of it.
I have looked at the Layout feature however I can't find out how to access the Ellipse and Rectangles contained within the outer ellipse (within the layout feature) let alone attempt to scale them.
Also, I'm not trying to do anything special with the scaling I just want it to be the same as if it was drawn again at that size in the editor. If there any shortcut method I could use to implement this other than scaling everything.
in my case the inner Ellipse and Rectangle are children of the outer Ellipses GA (not the outer ellipse itself), unlike in the tutorial. That may be different for you, but you can still try it out.
//Look at the children the rectangle and the ellipse
for (GraphicsAlgorithm shapeGraphicsAlgorithm : containerGa.getGraphicsAlgorithmChildren())
if (shapeGraphicsAlgorithm instanceof Ellipse)
Ellipse innerCircle = (Ellipse) shapeGraphicsAlgorithm;
innerCircle.setHeight((int)(size.getHeight() * 0.);
innerCircle.setWidth((int)(size.getWidth() * 0.);
innerCircle.setX((int)(size.getWidth() * 0.1));
innerCircle.setY((int)(size.getHeight() * 0.1));
//Now resize text, which for some reason works differently than normal shapes...
Shape textbox = containerShape.getChildren().get(0);
textbox.getGraphicsAlgorithm().setY((int)(size.getHeight() * 0.4));