The DefaultRendering class
A DefaultRendering composite is a specialized UI control that transforms a
given host screen region using a rendering set. A rendering set is
defined in the Rendering tab of the Project Settings editor.
Based
on the selected rendering set, SWT widgets are generated and placed on the DefaultRendering
composite. The following code example illustrates the concept:
DefaultRendering defaultRendering = new DefaultRendering(this, SWT.NONE);
defaultRendering.setScreenCapture(this.screenCapture);
defaultRendering.setRenderingSetName("main");
defaultRendering.setApplyTextReplacement(true);
defaultRendering.setApplyGlobalRules(true);
defaultRendering.setRegion
(new com.ibm.hats.transform.regions.BlockScreenRegion(1,1,24,80));