public void createControls(Composite parent) {
body = parent;
resourceManager = new LocalResourceManager(JFaceResources.getResources(), body);
public void createControls(Composite parent) {
body = parent;
resourceManager = new LocalResourceManager(JFaceResources.getResources(), body);
}
public Control getSingleChild() {
if(children.size() != 1) throw new IllegalStateException("SWTRoot should have exactly one child (has " + children.size() + ").");
}
public Control getSingleChild() {
if(children.size() != 1) throw new IllegalStateException("SWTRoot should have exactly one child (has " + children.size() + ").");