Project

General

Profile

« Previous | Next » 

Revision b393aff8

Added by Andreas Kohlbecker over 6 years ago

fix #6999 generic button state updater for toOne relation field

View differences:

src/main/java/eu/etaxonomy/vaadin/component/ToOneRelatedEntityField.java
17 17
 */
18 18
public interface ToOneRelatedEntityField<V extends Object> {
19 19

  
20
    /**
21
     * Set the enabled state of the edit button
22
     *
23
     * @param enabled
24
     */
25
    public void setEditButtonEnabled(boolean enabled);
26

  
20 27
    /**
21 28
     * Adds the click listener to the add-entity-button.
22 29
     *
......
25 32
     */
26 33
    public void addClickListenerAddEntity(ClickListener listener);
27 34

  
35
    /**
36
     * Set the enabled state of the add button
37
     *
38
     * @param enabled
39
     */
40
    public void setAddButtonEnabled(boolean enabled);
41

  
28 42
    /**
29 43
     * Adds the click listener to the edit-entity-button.
30 44
     *

Also available in: Unified diff