Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2025 Google, Inc. and others.
* Copyright (c) 2011, 2026 Google, Inc. and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -56,7 +56,6 @@
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPart;

Expand Down Expand Up @@ -452,7 +451,6 @@ boolean internal_refreshGEF() {
}

private void internal_refreshGEF_withProgress() throws Exception {
final Display display = Display.getCurrent();
IRunnableWithProgress runnable = new IRunnableWithProgress() {
@Override
@SuppressWarnings("removal")
Expand All @@ -462,16 +460,7 @@ public void run(final IProgressMonitor monitor) throws InvocationTargetException
//
try {
DesignPageSite.setProgressMonitor(monitor);
display.syncExec(new Runnable() {
@Override
public void run() {
try {
internal_refreshGEF(monitor);
} catch (Throwable e) {
ReflectionUtils.propagate(e);
}
}
});
internal_refreshGEF(monitor);
} catch (Throwable e) {
ReflectionUtils.propagate(e);
} finally {
Expand Down
Loading