Revision 45d128dd
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/e4/AbstractCdmEditorPartE4.java | ||
---|---|---|
141 | 141 |
} |
142 | 142 |
|
143 | 143 |
protected void showViewer(IStructuredSelection selection, MPart activePart, Viewer viewer){ |
144 |
long start = System.currentTimeMillis(); |
|
145 | 144 |
if(viewer!=null){ |
146 | 145 |
Object element = selection.getFirstElement(); |
147 | 146 |
if(selection.getFirstElement()!=null){ |
... | ... | |
174 | 173 |
} |
175 | 174 |
selectionProvidingPart = activePart; |
176 | 175 |
} |
177 |
long stop = System.currentTimeMillis(); |
|
178 |
System.out.println(thisPart.getObject().getClass().getSimpleName()+": "+(stop-start)); |
|
179 | 176 |
} |
180 | 177 |
|
181 | 178 |
protected Object createPartObject(MPart activePart) { |
Also available in: Unified diff
Remove debug message