Project

General

Profile

« Previous | Next » 

Revision 6f501be5

Added by Cherian Mathew almost 9 years ago

ConceptRelationshipComposite : made direction aware
EditConceptRelationshipComposite : made direction aware and added arrows as hints
StatusComposite, ConceptRelationshipView : moved taxon table drop handler from status composite to view
edit.scss, styles.css : added arrow styles

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/component/ConceptRelationshipComposite.java
28 28
import eu.etaxonomy.cdm.vaadin.jscomponent.D3ConceptRelationshipTree;
29 29
import eu.etaxonomy.cdm.vaadin.jscomponent.D3ConceptRelationshipTree.Direction;
30 30
import eu.etaxonomy.cdm.vaadin.presenter.ConceptRelationshipPresenter;
31
import eu.etaxonomy.cdm.vaadin.session.BasicEvent;
32 31
import eu.etaxonomy.cdm.vaadin.session.CdmChangeEvent;
33 32
import eu.etaxonomy.cdm.vaadin.session.CdmChangeEvent.Action;
34 33
import eu.etaxonomy.cdm.vaadin.session.ICdmChangeListener;
......
123 122
                       fromTaxonIun,
124 123
                       null,
125 124
                       null,
126
                       Action.Create);
127
               CdmVaadinSessionUtilities.getCurrentBasicEventService()
128
               .fireBasicEvent(new BasicEvent(UPDATE_START_ID, ConceptRelationshipComposite.class), false);
125
                       Action.Create,
126
                       view.getDirection());
129 127
            }
130 128
        });
131 129
    }
......
138 136
                EditConceptRelationshipComposite.showInDialog(EDIT_CR_TITLE,
139 137
                        fromTaxonIun,
140 138
                        selectedTaxonRelUuid,
141
                        Action.Update);
142
                CdmVaadinSessionUtilities.getCurrentBasicEventService()
143
                .fireBasicEvent(new BasicEvent(UPDATE_START_ID, ConceptRelationshipComposite.class), false);
139
                        Action.Update,
140
                        view.getDirection());
144 141
            }
145 142
        });
146 143
    }
......
153 150
                EditConceptRelationshipComposite.showInDialog(DELETE_CR_TITLE,
154 151
                        fromTaxonIun,
155 152
                        selectedTaxonRelUuid,
156
                        Action.Delete);
157
                CdmVaadinSessionUtilities.getCurrentBasicEventService()
158
                .fireBasicEvent(new BasicEvent(UPDATE_START_ID, ConceptRelationshipComposite.class), false);
153
                        Action.Delete,
154
                        view.getDirection());
159 155
            }
160 156
        });
161 157
    }

Also available in: Unified diff