code: @Override
      public void redo() {
  
          // Build a node according to the shape type
          switch (this.shapeType) {
              case Circle:
                  this.createdNode = CircleBuilder.create().fill(Color.BLUE).layoutX(60).layoutY(60).radius(30).build();
                  break;
              case Square:
                  this.createdNode = RectangleBuilder.create().fill(Color.BLUEVIOLET).layoutX(50).layoutY(100).width(30).height(30).build();
                  break;
              case Rectangle:
                  this.createdNode = RectangleBuilder.create().fill(Color.AZURE).layoutX(100).layoutY(150).width(30).height(15).build();
                  break;
          }
  
          // Add to editor
          getModel(UndoModel.class).addShape(this.createdNode);
  
      }
docs: {@inheritDoc}