Revision f6fe3908
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorE4.java | ||
---|---|---|
35 | 35 |
import org.eclipse.jface.viewers.StructuredSelection; |
36 | 36 |
import org.eclipse.nebula.widgets.nattable.NatTable; |
37 | 37 |
import org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommand; |
38 |
import org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommandHandler; |
|
38 | 39 |
import org.eclipse.nebula.widgets.nattable.config.AbstractUiBindingConfiguration; |
39 | 40 |
import org.eclipse.nebula.widgets.nattable.config.ConfigRegistry; |
40 | 41 |
import org.eclipse.nebula.widgets.nattable.config.DefaultNatTableStyleConfiguration; |
... | ... | |
312 | 313 |
|
313 | 314 |
@Focus |
314 | 315 |
public void setFocus() { |
316 |
//make sure to bind again if maybe in another view the conversation was unbound |
|
317 |
if(conversation!=null && !conversation.isBound()){ |
|
318 |
conversation.bind(); |
|
319 |
} |
|
320 |
if(input.getCdmEntitySession()!= null) { |
|
321 |
input.getCdmEntitySession().bind(); |
|
322 |
} |
|
323 |
|
|
315 | 324 |
//make sure to bind again if maybe in another view the conversation was unbound |
316 | 325 |
eventBroker.post(WorkbenchEventConstants.CURRENT_ACTIVE_EDITOR, this); |
317 | 326 |
} |
... | ... | |
447 | 456 |
} |
448 | 457 |
else if (element instanceof CdmBase) { |
449 | 458 |
getEditorInput().addSaveCandidate((CdmBase)element); |
459 |
input.replaceInModel((CdmBase) element); |
|
450 | 460 |
} |
451 | 461 |
dirty.setDirty(true); |
452 | 462 |
} |
Also available in: Unified diff
ref #7439 Update entity in bulk editor when editing details