GridData gd;
if (maxMediaWidth != null) {
gd = new GridData(SWT.CENTER, SWT.FILL, false, false);
// TODO, manage size
GridData gd;
if (maxMediaWidth != null) {
gd = new GridData(SWT.CENTER, SWT.FILL, false, false);
// TODO, manage size
} else {
gd = new GridData(SWT.CENTER, SWT.FILL, false, false);
// gd.widthHint = video.getWidth();
} else {
gd = new GridData(SWT.CENTER, SWT.FILL, false, false);
// gd.widthHint = video.getWidth();
} catch (RepositoryException e) {
throw new JcrException("Cannot add new image " + node, e);
}
} catch (RepositoryException e) {
throw new JcrException("Cannot add new image " + node, e);
}
- protected Paragraph sectionTitleSplitted(DbkSectionTitle sectionTitle, Node newNode)
- throws RepositoryException {
+ protected Paragraph sectionTitleSplitted(DbkSectionTitle sectionTitle, Node newNode) throws RepositoryException {
updateContent(sectionTitle);
Paragraph newParagraph = newParagraph(sectionTitle.getSection(), newNode);
// we assume beforeFirst is not null since there was a sectionTitle
updateContent(sectionTitle);
Paragraph newParagraph = newParagraph(sectionTitle.getSection(), newNode);
// we assume beforeFirst is not null since there was a sectionTitle