Revision ea1b3d44
Added by Patrick Plitzner almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewPart.java | ||
---|---|---|
42 | 42 |
import eu.etaxonomy.taxeditor.model.IPartContentHasSupplementalData; |
43 | 43 |
import eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin; |
44 | 44 |
import eu.etaxonomy.taxeditor.view.AbstractCdmEditorViewPart; |
45 |
import eu.etaxonomy.taxeditor.workbench.WorkbenchUtility; |
|
45 | 46 |
|
46 | 47 |
/** |
47 | 48 |
* <p>DetailsViewPart class.</p> |
... | ... | |
68 | 69 |
@Override |
69 | 70 |
protected void selectionChanged_internal(IWorkbenchPart workbenchPart, ISelection selection){ |
70 | 71 |
Object part = workbenchPart; |
71 |
Object wrappedPart = AbstractUtility.getE4WrappedPart(part);
|
|
72 |
Object wrappedPart = WorkbenchUtility.getE4WrappedPart(part);
|
|
72 | 73 |
if(wrappedPart!=null){ |
73 | 74 |
part = wrappedPart; |
74 | 75 |
} |
... | ... | |
250 | 251 |
TaxonRelationship rel = rels.iterator().next(); |
251 | 252 |
if (rel.getType().equals(TaxonRelationshipType.MISAPPLIED_NAME_FOR())){ |
252 | 253 |
getViewer().setInput(rel); |
253 |
showViewer(); |
|
254 |
showViewer(); |
|
255 |
// super.showViewer(part, selection); |
|
254 | 256 |
return; |
255 | 257 |
} |
256 | 258 |
} |
... | ... | |
261 | 263 |
} |
262 | 264 |
getViewer().setInput(element); |
263 | 265 |
showViewer(); |
266 |
// super.showViewer(part, selection); |
|
264 | 267 |
} |
265 | 268 |
} |
266 | 269 |
|
Also available in: Unified diff
ref #6596 Add new utility class WorkbenchUtility in workbench plugin