X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.swt%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fswt%2FTabbedPropertyPage.java;h=dd554571681513ba4d13c220d6431569a9ce83b7;hb=70d03af6b040eee42d3461907e9ea2c8ad4cfb77;hp=81e0898488d656434cfa697aa16542adab8429c3;hpb=48488ea548a7cf254a4b9a5fa3ed89f717dfd7ef;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/TabbedPropertyPage.java b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/TabbedPropertyPage.java index 81e089848..dd5545716 100644 --- a/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/TabbedPropertyPage.java +++ b/bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/TabbedPropertyPage.java @@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.List; import org.eclipse.core.commands.util.Tracing; +import org.eclipse.core.runtime.Adapters; import org.eclipse.core.runtime.Assert; import org.eclipse.core.runtime.ISafeRunnable; import org.eclipse.core.runtime.SafeRunner; @@ -1001,7 +1002,7 @@ public abstract class TabbedPropertyPage extends ViewPart { // see bug 138823 - prevent some subclasses from causing // an infinite loop if (innerEditor != null && innerEditor != this) { - result = Util.getAdapter(innerEditor, adapter); + result = Adapters.adapt(innerEditor, adapter); } } return result;