Example #1
0
    private void addToChildrenResourceGrid(ExplorerGrid grid, Item item) {

      Object[] cols = new Object[2];
      cols[0] = item.getName();
      cols[1] = item.getType();

      grid.addRow(grid.getRowCount(), cols);
    }
Example #2
0
    private void addToPropertyGrid(ExplorerGrid grid, Item item) {
      Object[] cols = new Object[4];
      cols[0] = item.getName();
      cols[1] = item.getType();
      cols[2] = item.getValue();
      cols[3] = item.isMutli().toString();

      grid.addRow(grid.getRowCount(), cols);
    }