use of org.eclipse.e4.ui.di.UISynchronize in project whole by wholeplatform.
the class FramesChangeEventHandler method resfreshNotation.
public void resfreshNotation(final IEntity source) {
EntityEditDomain editDomain = context.get(IEntityPartViewer.class).getEditDomain();
if (editDomain.isDisabled() || !isVariabilityDescendant(source))
return;
UISynchronize uiSynchronize = context.get(UISynchronize.class);
uiSynchronize.syncExec(() -> editDomain.setDisabled(true));
FramesUtils.updateSubset(source);
uiSynchronize.asyncExec(() -> editDomain.setDisabled(false));
}
Aggregations