Project

General

Profile

« Previous | Next » 

Revision 5b4537c4

Added by Andreas Kohlbecker about 7 years ago

ref #6169 replacing declarative WorkflowViewDesign

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/component/registration/RegistrationItem.java
95 95
        messageButton.setEnabled(false);
96 96
        openButton.setStyleName(ValoTheme.BUTTON_TINY);
97 97
        openButton.addStyleName(ValoTheme.BUTTON_PRIMARY);
98
        openButton.addClickListener(e -> parentView.getEventBus().publishEvent(new NavigationEvent(
99
                RegistrationWorkflowViewBean.NAME,
100
                RegistrationWorkflowViewBean.ACTION_EDIT,
101
                regDto.getSpecificIdentifier().toString()
102
                )));
98

  
103 99
        buttonGroup.setStyleName(ValoTheme.LAYOUT_COMPONENT_GROUP);
104 100
        addComponent(buttonGroup, 2, 0);
105 101
        setComponentAlignment(buttonGroup, Alignment.TOP_RIGHT);

Also available in: Unified diff