]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.swt/src/org/simantics/browsing/ui/swt/TabbedPropertyPage.java
(refs #7358) Initial 4.7 update commit
[simantics/platform.git] / bundles / org.simantics.browsing.ui.swt / src / org / simantics / browsing / ui / swt / TabbedPropertyPage.java
index 81e0898488d656434cfa697aa16542adab8429c3..dd554571681513ba4d13c220d6431569a9ce83b7 100644 (file)
@@ -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;