Project

General

Profile

« Previous | Next » 

Revision 7f6f8587

Added by Andreas Kohlbecker over 2 years ago

ref #9884 refactoring UI enablement:

  • ui beans never are null
  • disabled beans have state.enabled=false
  • uis throw UIDisabledException
  • ErrorView to show UIDisabledException
  • UIDisabledErrorHandle delegates to the ErrorView

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/ui/ConceptRelationshipUI.java
26 26
 *
27 27
 */
28 28
@Theme("valo")
29
@SpringUI(path="concept")
29
@SpringUI(path=ConceptRelationshipUI.NAME)
30 30
@Widgetset("eu.etaxonomy.cdm.vaadin.AppWidgetSet")
31 31
public class ConceptRelationshipUI extends AbstractAuthenticatedUI {
32 32

  
33 33
    Navigator navigator;
34 34

  
35
    public static final String NAME = "concept";
36

  
35 37
    private static final String FIRST_VIEW = "editcr";
36 38

  
37 39
    private final static Logger logger = Logger.getLogger(ConceptRelationshipUI.class);

Also available in: Unified diff