/** * {@inheritDoc} * * @see * org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer#getGridDescription(SWTGridDescription) */ @Override public SWTGridDescription getGridDescription(SWTGridDescription gridDescription) { if (rendererGridDescription == null) { rendererGridDescription = GridDescriptionFactory.INSTANCE.createSimpleGrid(1, 1, this); } return rendererGridDescription; }
@Override public SWTGridDescription getGridDescription(SWTGridDescription gridDescription) { if (rendererGridDescription == null) { rendererGridDescription = GridDescriptionFactory.INSTANCE.createSimpleGrid(1, 2, this); for (int i = 0; i < rendererGridDescription.getGrid().size() - 1; i++) { final SWTGridCell swtGridCell = rendererGridDescription.getGrid().get(i); swtGridCell.setHorizontalGrab(false); } } return rendererGridDescription; }