Project

General

Profile

« Previous | Next » 

Revision 4e19a89d

Added by Andreas Kohlbecker over 5 years ago

ref #7648 using CdmEntityInstantiator to disentangle the handling the creation of new taxon names for registrations

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/event/AbstractEditorAction.java
21 21
 * Base implementation for an event which represents the request to start
22 22
 * an editor to enable the user to perform the <code>action</code> transported
23 23
 * with this event.
24
 * <p>
25
 * Which the {@link #context) stack the action can keep track of the chain of editors which where opened before and which lead
26
 * to this action. This is important information when working with popup editors for which EntitySave events etc
27
 * need to be also handled by the base view (e.g. see {@link eu.etaxonomy.cdm.vaadin.view.registration.RegistrationWorkingsetPresenter}
28
 * from which the the first popup editor of the chain has been opened. So the {@link #context) stack is just like a breadcrumbs information.
24 29
 *
25 30
 * @author a.kohlbecker
26 31
 * @since Mar 22, 2017
......
42 47
        this(action, null, source, target, sourceView);
43 48
    }
44 49

  
50
    /**
51
     *
52
     * @deprecated Consider using the constructor with Stack<EditorActionContext> context, so that the context is set for all popupeditors!!!
53
     */
54
    @Deprecated
45 55
    public AbstractEditorAction(EditorActionType action, UUID entityUuid, Button source, Field<V> target, AbstractView sourceView) {
46 56
        this(action, entityUuid, source, target, sourceView, null);
47 57
    }
......
97 107
    }
98 108

  
99 109
    /**
110
     * Which the {@link #context) stack the action can keep track of the chain of editors
111
     * which where opened before and which lead
112
     * to this action.
113
     *
100 114
     * @return the context
101 115
     */
102 116
    public Stack<EditorActionContext> getContext() {

Also available in: Unified diff