- CmsLink toHtml = new CmsLink("To HTML", "/html/dbk" + context.getPath()+"/index.html");
- toHtml.createUiPart(parent, context);
+ Composite links = new Composite(parent, SWT.NONE);
+ FillLayout linksLayout = new FillLayout();
+ linksLayout.spacing = 2;
+ links.setLayout(linksLayout);
+ CmsLink toHtml = new CmsLink("to HTML", "/html/dbk" + context.getPath() + "/index.html");
+ toHtml.createUiPart(links, context);
+ CmsLink toPdf = new CmsLink("to PDF", "/html/dbk" + context.getPath() + "/index.pdf");
+ toPdf.createUiPart(links, context);