Commit 30927d11 authored by Adrien's avatar Adrien Committed by GitHub

fix(connectors): redraw definition table when category change (#2519)

parent 3098f60b
......@@ -16,10 +16,12 @@ package;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.layout.GridLayoutFactory;
import org.eclipse.jface.viewers.ArrayContentProvider;
......@@ -113,7 +115,13 @@ public class TreeExplorer extends Composite implements SWTBotConstants {
leftTree.addSelectionChangedListener(event -> {
final Object selection = ((IStructuredSelection) event.getSelection()).getFirstElement();
if (selection != null) {
// Necessary since the MacOS Big Sur update -> Seems that table with StyledCellLabelProvider aren't redraw automatically
// TODO Hopefully this could be removed on the futur (current date: 19/11/2020)
if (Objects.equals(Platform.OS_MACOSX, Platform.getOS())) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment