コード例 #1
0
  private ArrayList<ElementLayout> createSummaryFooterBarElements(
      ABrickLayoutConfiguration layoutTemplate) {

    ArrayList<ElementLayout> footerBarElements = new ArrayList<ElementLayout>();

    GLBrick brick = layoutTemplate.getBrick();

    ElementLayout dimensionBarLaylout = new ElementLayout("dimensionBar");
    dimensionBarLaylout.setPixelSizeY(DIMENSION_BAR_HEIGHT_PIXELS);
    dimensionBarLaylout.setRatioSizeX(1);
    dimensionBarLaylout.setRenderer(
        new DimensionBarRenderer(
            brick.getDataDomain().getTable().getDefaultDimensionPerspective(true).getVirtualArray(),
            brick.getTablePerspective().getDimensionPerspective().getVirtualArray()));

    footerBarElements.add(dimensionBarLaylout);

    return footerBarElements;
  }
コード例 #2
0
 @Override
 public void addDataSpecificContextMenuEntries(ContextMenuCreator creator, GLBrick brick) {
   TablePerspectiveActions.add(creator, brick.getTablePerspective(), this, true);
 }