}
private void createSourceSection(RootElement parent){
- SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ int expandStyle = getSectionStyle(SourceSection.class, false);
+ SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
addPart(sourceSection);
}
private void createAnnotationSections(RootElement parent) {
- AnnotationSection annotationSection = formFactory.createAnnotationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ int expandStyle = getSectionStyle(AnnotationSection.class, false);
+ AnnotationSection annotationSection = formFactory.createAnnotationSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-
+ expandStyle = getSectionStyle(MarkerSection.class, false);
MarkerSection markerSection = formFactory.createMarkerSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
}
private void createIdentifiableSections(RootElement parent) {
-
- SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ int expandStyle = getSectionStyle(SourceSection.class, false);
+ SourceSection sourceSection = formFactory.createSourceSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-
- IdentifierSection identifierSection = formFactory.createIdentifierDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ expandStyle = getSectionStyle(IdentifierSection.class, false);
+ IdentifierSection identifierSection = formFactory.createIdentifierDetailSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-
- ExtensionSection extensionSection = formFactory.createExtensionSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ expandStyle = getSectionStyle(ExtensionSection.class, false);
+ ExtensionSection extensionSection = formFactory.createExtensionSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-
- CreditSection creditSection = formFactory.createCreditSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ expandStyle = getSectionStyle(CreditSection.class, false);
+ CreditSection creditSection = formFactory.createCreditSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
-
- RightsSection rightsSection = formFactory.createRightsSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ expandStyle = getSectionStyle(RightsSection.class, false);
+ RightsSection rightsSection = formFactory.createRightsSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);
}
private void createIdentifiableMediaSections(RootElement parent) {
- MediaSection mediaSection = formFactory.createMediaSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
+ int expandStyle = getSectionStyle(MediaSection.class, false);
+ MediaSection mediaSection = formFactory.createMediaSection(getConversationHolder(), parent, expandStyle);
formFactory.createHorizontalSeparator(parent, SWT.BORDER);