Project

General

Profile

« Previous | Next » 

Revision f789bc46

Added by Patrick Plitzner over 6 years ago

Fix potential NPE and widget disposed exception

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/details/DetailsViewerE4.java
9 9

  
10 10
package eu.etaxonomy.taxeditor.view.e4.details;
11 11

  
12
import java.util.HashSet;
12 13
import java.util.Set;
13 14

  
14 15
import org.eclipse.jface.viewers.ISelection;
......
154 155
                input = DerivedUnitFacade.NewInstance(derivedUnit,
155 156
                        PreferencesUtil.getDerivedUnitConfigurator());
156 157
            } catch (DerivedUnitFacadeNotSupportedException e) {
157
//                MessagingUtils.error(getClass(), e); //nothing should happen, later on the Details View will show an according information that it is not possible to open this data
158
                //                MessagingUtils.error(getClass(), e); //nothing should happen, later on the Details View will show an according information that it is not possible to open this data
158 159
            }
159 160
        }
160 161
        else if(input instanceof FieldUnit){
......
237 238

  
238 239
                }
239 240
            }
240
        } else if (input instanceof DescriptionElementBase) {
241
            Set<Marker> descriptionMarkers = ((DescriptionElementBase) input).getInDescription().getMarkers();
241
        } else if (input instanceof DescriptionElementBase){
242
            Set<Marker> descriptionMarkers = new HashSet<>();
243
            if(((DescriptionElementBase) input).getInDescription()!=null) {
244
                descriptionMarkers = ((DescriptionElementBase) input).getInDescription().getMarkers();
245
            }
242 246

  
243 247
            Boolean isUseDescription = false;
244 248
            for (Marker marker : descriptionMarkers) {
......
345 349
    @Override
346 350
    public void setSelection(ISelection selection, boolean reveal) {
347 351

  
348
    		this.selection = selection;
352
        this.selection = selection;
349 353

  
350
	        if(this.selection!=null){
351
	            SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, selection);
352
	            fireSelectionChanged(selectionChangedEvent);
353
	        }
354
        if(this.selection!=null){
355
            SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, selection);
356
            fireSelectionChanged(selectionChangedEvent);
357
        }
354 358

  
355 359
    }
356 360

  
......
360 364
        ParsingMessagesSection parsingMessagesSection = formFactory.createParsingMessagesSection(getConversationHolder(), parent, this,
361 365
                ExpandableComposite.EXPANDED | ExpandableComposite.EXPANDED);
362 366
        if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION)){
363
        	TaxonBaseDetailSection taxonBaseDetailSection = formFactory.createTaxonBaseDetailSection(getConversationHolder(), parent, this,
364
	        ExpandableComposite.TWISTIE	| ExpandableComposite.EXPANDED);
365
	        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
366
	        addPart(taxonBaseDetailSection);
367
            TaxonBaseDetailSection taxonBaseDetailSection = formFactory.createTaxonBaseDetailSection(getConversationHolder(), parent, this,
368
                    ExpandableComposite.TWISTIE	| ExpandableComposite.EXPANDED);
369
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
370
            addPart(taxonBaseDetailSection);
367 371
        }else{
368
        	if (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_TAXON)){
369
	            TaxonBaseDetailSection taxonBaseDetailSection = formFactory.createTaxonBaseDetailSection(getConversationHolder(), parent, this,
370
	            		ExpandableComposite.TWISTIE	| ExpandableComposite.EXPANDED);
371
	            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
372
            if (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_TAXON)){
373
                TaxonBaseDetailSection taxonBaseDetailSection = formFactory.createTaxonBaseDetailSection(getConversationHolder(), parent, this,
374
                        ExpandableComposite.TWISTIE	| ExpandableComposite.EXPANDED);
375
                formFactory.createHorizontalSeparator(parent, SWT.BORDER);
372 376

  
373
	            addPart(taxonBaseDetailSection);
374
        	}
377
                addPart(taxonBaseDetailSection);
378
            }
375 379
        }
376 380
        NonViralNameDetailSection nonViralNameSection = formFactory
377 381
                .createNonViralNameDetailSection(getConversationHolder(), parent, this, true,
378 382
                        ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
379 383
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
380 384
        if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_REFERENCE))){
381
	            NomenclaturalReferenceDetailSection referenceDetailSection = formFactory.createNomenclaturalReferenceDetailSection(getConversationHolder(), parent, this,
382
	            		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
383
	            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
384
	            addPart(referenceDetailSection);
385
            NomenclaturalReferenceDetailSection referenceDetailSection = formFactory.createNomenclaturalReferenceDetailSection(getConversationHolder(), parent, this,
386
                    ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
387
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
388
            addPart(referenceDetailSection);
385 389

  
386 390
        }
387 391
        if ( !PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_STATUS))){
388
	            NomenclaturalStatusSection nomenclaturalStatusSection = formFactory.createNomenclaturalStatusSection(getConversationHolder(), parent,
389
	            		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
390
	            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
391
	            addPart(nomenclaturalStatusSection);
392
            NomenclaturalStatusSection nomenclaturalStatusSection = formFactory.createNomenclaturalStatusSection(getConversationHolder(), parent,
393
                    ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
394
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
395
            addPart(nomenclaturalStatusSection);
392 396
        }
393 397

  
394
    	if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_PROTOLOGUE))){
395
    		ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
396
    		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
397
    		addPart(protologSection);
398
    	}
398
        if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_PROTOLOGUE))){
399
            ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
400
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
401
            addPart(protologSection);
402
        }
399 403

  
400
    	if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) &&  PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_TYPE_DESIGNATION))){
401
    		TypeDesignationSection typeDesignationSection = formFactory.createTypeDesignationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
402
    		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
403
    		addPart(typeDesignationSection);
404
    	}
404
        if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) &&  PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_TYPE_DESIGNATION))){
405
            TypeDesignationSection typeDesignationSection = formFactory.createTypeDesignationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
406
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
407
            addPart(typeDesignationSection);
408
        }
405 409

  
406
    	if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NAME_RELATIONSHIP))){
407
    		NameRelationshipDetailSection nameRelationshipSection = formFactory.createNameRelationshipDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
408
    		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
409
    		addPart(nameRelationshipSection);
410
    	}
410
        if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NAME_RELATIONSHIP))){
411
            NameRelationshipDetailSection nameRelationshipSection = formFactory.createNameRelationshipDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
412
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
413
            addPart(nameRelationshipSection);
414
        }
411 415

  
412 416

  
413 417
        addPart(parsingMessagesSection);
......
420 424
        destroySections();
421 425
        NonViralNameDetailSection nonViralNameSection = formFactory.createNonViralNameDetailSection(
422 426
                getConversationHolder(), parent, this, false, ExpandableComposite.TWISTIE
423
                        | ExpandableComposite.EXPANDED);
427
                | ExpandableComposite.EXPANDED);
424 428
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
425 429

  
426 430
        NomenclaturalReferenceDetailSection referenceDetailSection = formFactory.createNomenclaturalReferenceDetailSection(getConversationHolder(), parent, this,
427
        		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
431
                ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
428 432
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
429 433

  
430 434
        NomenclaturalStatusSection nomenclaturalStatusSection = formFactory.createNomenclaturalStatusSection(getConversationHolder(), parent,
431
        		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
435
                ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
432 436
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
433 437

  
434 438
        addPart(nonViralNameSection);
435 439
        addPart(nomenclaturalStatusSection);
436 440
        addPart(referenceDetailSection);
437 441

  
438
		ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
442
        ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
439 443
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
440 444

  
441 445
        TypeDesignationSection typeDesignationSection = formFactory.createTypeDesignationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
......
453 457
        destroySections();
454 458

  
455 459
        ReferenceDetailSection referenceDetailSection = formFactory.createReferenceDetailSection(getConversationHolder(), parent, this,
456
        		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
460
                ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
457 461

  
458 462
        addPart(referenceDetailSection);
459 463
    }
......
483 487

  
484 488
        DescriptionElementDetailSection descriptionElementDetailSection = formFactory.createDescriptionElementDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
485 489

  
486
      //  IntextReferenceSection intextReferenceSection = formFactory.createIntextReferenceSection(getConversationHolder(), parent,  ExpandableComposite.TWISTIE);
490
        //  IntextReferenceSection intextReferenceSection = formFactory.createIntextReferenceSection(getConversationHolder(), parent,  ExpandableComposite.TWISTIE);
487 491

  
488 492
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
489 493

  
......
510 514

  
511 515
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
512 516

  
513
//        DescribedSpecimenSection describedSpecimenSection = formFactory.createDescribedSpecimenSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
514
//
515
//        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
517
        //        DescribedSpecimenSection describedSpecimenSection = formFactory.createDescribedSpecimenSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
518
        //
519
        //        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
516 520

  
517 521
        //		DescriptionSourceSection descriptionSourceSection = (DescriptionSourceSection) formFactory
518 522
        //				.createEntityDetailSection(EntityDetailType.DESCRIPTIONSOURCE,
......
526 530

  
527 531
        addPart(descriptionDetailSection);
528 532
        addPart(naturalLanguageSection);
529
//        addPart(describedSpecimenSection);
533
        //        addPart(describedSpecimenSection);
530 534
        //		addPart(descriptionSourceSection);
531 535
        addPart(scopeSection);
532 536
    }
......
770 774

  
771 775
        TaxonRelationshipDetailSection taxonRelationshipDetailSection = formFactory.createTaxonRelationshipDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
772 776

  
773
       // ReferencedEntityDetailSection referencedEntityBaseDetailSection = formFactory.createReferencedEntityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
777
        // ReferencedEntityDetailSection referencedEntityBaseDetailSection = formFactory.createReferencedEntityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
774 778
        addPart(taxonRelationshipDetailSection);
775 779
        //addPart(referencedEntityBaseDetailSection);
776 780

  
......
781 785
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
782 786
        //if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_REFERENCE))){
783 787
        NomenclaturalReferenceDetailSection referenceDetailSection = formFactory.createNomenclaturalReferenceDetailSection(getConversationHolder(), parent, this,
784
        		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
788
                ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
785 789
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
786 790
        addPart(referenceDetailSection);
787 791

  
788 792
        //if ( !PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NOMENCLATURAL_STATUS))){
789
            NomenclaturalStatusSection nomenclaturalStatusSection = formFactory.createNomenclaturalStatusSection(getConversationHolder(), parent,
790
            		ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
791
            formFactory.createHorizontalSeparator(parent, SWT.BORDER);
792
            addPart(nomenclaturalStatusSection);
793
    //}
793
        NomenclaturalStatusSection nomenclaturalStatusSection = formFactory.createNomenclaturalStatusSection(getConversationHolder(), parent,
794
                ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
795
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
796
        addPart(nomenclaturalStatusSection);
797
        //}
794 798

  
795
	//if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_PROTOLOGUE))){
796
		ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
797
		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
798
		addPart(protologSection);
799
	//}
799
        //if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_PROTOLOGUE))){
800
        ProtologueSection protologSection = formFactory.createProtologueSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
801
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
802
        addPart(protologSection);
803
        //}
800 804

  
801
	//if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) &&  PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_TYPE_DESIGNATION))){
802
		TypeDesignationSection typeDesignationSection = formFactory.createTypeDesignationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
803
		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
804
		addPart(typeDesignationSection);
805
	//}
805
        //if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) &&  PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_TYPE_DESIGNATION))){
806
        TypeDesignationSection typeDesignationSection = formFactory.createTypeDesignationSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
807
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
808
        addPart(typeDesignationSection);
809
        //}
806 810

  
807
	//if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NAME_RELATIONSHIP))){
808
		NameRelationshipDetailSection nameRelationshipSection = formFactory.createNameRelationshipDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
809
		formFactory.createHorizontalSeparator(parent, SWT.BORDER);
810
		addPart(nameRelationshipSection);
811
	//}
811
        //if (!PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) || (PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_SIMPLE_NAME_DETAILS_SECTION) && PreferencesUtil.getPreferenceStore().getBoolean(IPreferenceKeys.SHOW_NAME_DETAILS_SECTION_NAME_RELATIONSHIP))){
812
        NameRelationshipDetailSection nameRelationshipSection = formFactory.createNameRelationshipDetailSection(getConversationHolder(), parent, ExpandableComposite.TWISTIE);
813
        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
814
        addPart(nameRelationshipSection);
815
        //}
812 816

  
813 817

  
814 818
        //}
815 819
    }
816 820

  
817 821
    private void createTaxonRelationshipSection(RootElement parent) {
818
    	destroySections();
822
        destroySections();
819 823

  
820
    	TaxonRelationshipDetailSection taxonRelationshipDetailSection = formFactory.createTaxonRelationshipDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
824
        TaxonRelationshipDetailSection taxonRelationshipDetailSection = formFactory.createTaxonRelationshipDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
821 825

  
822 826
        ReferencedEntityDetailSection referencedEntityBaseDetailSection = formFactory.createReferencedEntityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
823 827
        addPart(taxonRelationshipDetailSection);
......
837 841
        addPart(definedTermDetailSection);
838 842
    }
839 843

  
840
	@Override
841
	public void update(CdmDataChangeMap arg0) {
844
    @Override
845
    public void update(CdmDataChangeMap arg0) {
842 846

  
843
	}
847
    }
844 848

  
845 849
}

Also available in: Unified diff