Project

General

Profile

« Previous | Next » 

Revision f5b66699

Added by Patrick Plitzner over 7 years ago

ref #6333 Add generic support for entity collection sections to allow
adding existing entities

  • this is done by two abstract methods allowAddExisting() and addExisting()

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/classification/TaxonNodeAgentRelationCollectionSection.java
26 26

  
27 27

  
28 28

  
29
    /**
30
     * @param formFactory
31
     * @param conversation
32
     * @param parentElement
33

  
34
     * @param style
35
     */
36 29
    public TaxonNodeAgentRelationCollectionSection (CdmFormFactory formFactory, ConversationHolder conversation,
37 30
            ICdmFormElement parentElement, int style) {
38 31
        super(formFactory, conversation, parentElement,  "Related persons or teams", style);
......
80 73
        return false;
81 74
    }
82 75

  
76
    /**
77
     * {@inheritDoc}
78
     */
79
    @Override
80
    public TaxonNodeAgentRelation addExisting() {
81
        return null;
82
    }
83

  
84
    /**
85
     * {@inheritDoc}
86
     */
87
    @Override
88
    public boolean allowAddExisting() {
89
        return false;
90
    }
91

  
83 92
}

Also available in: Unified diff