Revision 0fa0610e
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/event/EventUtility.java | ||
---|---|---|
37 | 37 |
} |
38 | 38 |
|
39 | 39 |
@Inject |
40 |
@Optional |
|
41 | 40 |
private void updateCurrentActivePart(@Named(IServiceConstants.ACTIVE_PART)MPart activePart){ |
42 |
EventUtility.activePart = activePart; |
|
41 |
if(activePart!=null){ |
|
42 |
EventUtility.activePart = activePart; |
|
43 |
} |
|
43 | 44 |
} |
44 | 45 |
|
45 | 46 |
@Inject |
Also available in: Unified diff
ref #6913 Remove org.eclipse.ui dependency from AbstractUtility