Revision 960c17a3
Added by Katja Luther almost 3 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java | ||
---|---|---|
631 | 631 |
|
632 | 632 |
private void createDescriptionElementSection(RootElement parent, Object activePart) { |
633 | 633 |
DescriptionElementDetailSection descriptionElementDetailSection = formFactory.createDescriptionElementDetailSection(getConversationHolder(), parent, this, StoreUtil.getSectionStyle(DescriptionElementDetailSection.class, getInput().getClass().getCanonicalName(), true)); |
634 |
descriptionElementDetailSection.setEnabled(this.detailsEnabled); |
|
634 |
|
|
635 | 635 |
|
636 | 636 |
// IntextReferenceSection intextReferenceSection = formFactory.createIntextReferenceSection(getConversationHolder(), parent, getSectionStyle(.class, getInput().getClass().getCanonicalName())); |
637 | 637 |
|
... | ... | |
643 | 643 |
|
644 | 644 |
}else{ |
645 | 645 |
descriptionElementSourceSection = formFactory.createDescriptionElementSourceSection(getConversationHolder(), parent, StoreUtil.getSectionStyle(DescriptionElementSourceSection.class, getInput().getClass().getCanonicalName()) ); |
646 |
descriptionElementSourceSection.setEnabled(this.detailsEnabled); |
|
647 |
descriptionElementDetailSection.setEnabled(this.detailsEnabled); |
|
646 | 648 |
} |
647 |
descriptionElementSourceSection.setEnabled(this.detailsEnabled); |
|
649 |
|
|
648 | 650 |
|
649 | 651 |
formFactory.createHorizontalSeparator(parent, SWT.BORDER); |
650 | 652 |
|
Also available in: Unified diff
some more enable/disable elements issues