Refactory: replaced deprecated constructor DefaultInformationControl(Shell, int,...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / text / java / hover / AbstractJavaEditorTextHover.java
index de83858..d0576c1 100644 (file)
@@ -137,9 +137,12 @@ public abstract class AbstractJavaEditorTextHover implements
        public IInformationControlCreator getHoverControlCreator() {
                return new IInformationControlCreator() {
                        public IInformationControl createInformationControl(Shell parent) {
-                               return new DefaultInformationControl(parent, SWT.NONE,
-                                               new HTMLTextPresenter(true),
-                                               getTooltipAffordanceString());
+                               //incastrix
+                               //                              return new DefaultInformationControl(parent, SWT.NONE,
+//                                             new HTMLTextPresenter(true),
+//                                             getTooltipAffordanceString());
+                               return new DefaultInformationControl(parent, getTooltipAffordanceString(),
+                                               new HTMLTextPresenter(true));
                        }
                };
        }