Ejemplo n.º 1
0
  @Override
  protected void initAttributes() {

    BAttributeCoordinates aCoordinates = new BAttributeCoordinates(null);
    aCoordinates.setGroup(AbstractAttribute.ROOT);
    aCoordinates.setShow(false);
    aCoordinates.setEditable(false);
    initAttribute(aCoordinates);

    BAttributeSize aSize = new BAttributeSize(null);
    aSize.setGroup(AbstractAttribute.ROOT);
    aSize.setShow(false);
    aSize.setEditable(false);
    initAttribute(aSize);

    BAttributeHeight aHeight = new BAttributeHeight(12);
    aHeight.setGroup(BAttributeSize.ID);
    aHeight.setShow(false);
    aHeight.setEditable(false);
    initAttribute(aHeight);

    BAttributeWidth aWidth = new BAttributeWidth(12);
    aWidth.setGroup(BAttributeSize.ID);
    aWidth.setShow(false);
    aWidth.setEditable(false);
    initAttribute(aWidth);

    initAttribute(new BAttributeBackgroundColor(ColorConstants.lightGray.getRGB()));
  }