public void configureRegistry(IConfigRegistry configRegistry) {
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.TOP, new ImagePainter(
GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_ONE_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.BOTTOM,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_TWO_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.LEFT, new ImagePainter(
GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_THREE_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.RIGHT,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_FOUR_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.TOP_LEFT,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_FIVE_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.TOP_RIGHT,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_SIX_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.BOTTOM_LEFT,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_SEVEN_LABEL);
configRegistry.registerConfigAttribute(
CellConfigAttributes.CELL_PAINTER, new CellPainterDecorator(
new TextPainter(), CellEdgeEnum.BOTTOM_RIGHT,
new ImagePainter(GUIHelper.getImage("plus")),
this.paintDecorationdepentend), DisplayMode.NORMAL,
CellPainterDecorator_Example.COLUMN_EIGHT_LABEL);
}