title: Layout and rotating a shape
body: <p>Is it possible, to rotate a shape inside another shape with CenterLocator?</p>
  
  <pre><code>var shelvingCode = new draw2d.shape.basic.Label({ text: '1.01' });
  myShape.add(this.shelvingCode, new draw2d.layout.locator.CenterLocator());
  </code></pre>
  
  <p>I tried to use the special command for it.</p>
  
  <pre><code>new draw2d.command.CommandRotate(shelvingCode , (shelvingCode .getRotationAngle() + 90) % 360);
  </code></pre>
  
  <p>But it seems doesn't work.</p>