class BasePropertyReader implements PropertyReader {

    @Override
    public RectangleDimensionsSet getRectangleDimensionsSet() {
        if (shape == null) {
            return new RectangleDimensionsSet();
        }
        org.eclipse.dd.dc.Bounds bounds = shape.getBounds();
        return new RectangleDimensionsSet(bounds.getWidth() * resolutionFactor,
                                          bounds.getHeight() * resolutionFactor);
    }

    public  BasePropertyReader(final BaseElement element,
                              final BPMNDiagram diagram,
                              final BPMNShape shape,
                              final double resolutionFactor);

}