Refactory: replaced deprecated constructor DefaultInformationControl(Shell, int,...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / internal / debug / ui / PHPDebugHover.java
index d9053a9..efd1b93 100644 (file)
@@ -252,9 +252,12 @@ public class PHPDebugHover implements IJavaEditorTextHover,
                // { //$NON-NLS-1$
                return new IInformationControlCreator() {
                        public IInformationControl createInformationControl(Shell parent) {
-                               return new DefaultInformationControl(parent, SWT.NONE,
-                                               new HTMLTextPresenter(true), PHPDebugUiMessages
-                                                               .getString("JavaDebugHover.16")); //$NON-NLS-1$
+//incastrix
+                               //                              return new DefaultInformationControl(parent, SWT.NONE,
+//                                             new HTMLTextPresenter(true), PHPDebugUiMessages
+//                                                             .getString("JavaDebugHover.16")); //$NON-NLS-1$
+                               return new DefaultInformationControl(parent, PHPDebugUiMessages.getString("JavaDebugHover.16"),
+                                               new HTMLTextPresenter(true));
                        }
                };
                // }
@@ -271,9 +274,12 @@ public class PHPDebugHover implements IJavaEditorTextHover,
                                PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE)) { //$NON-NLS-1$
                        return new IInformationControlCreator() {
                                public IInformationControl createInformationControl(Shell parent) {
-                                       return new DefaultInformationControl(parent, SWT.NONE,
-                                                       new HTMLTextPresenter(true), PHPDebugUiMessages
-                                                                       .getString("PHPDebugHover.16")); //$NON-NLS-1$
+//incastrix
+                                       //                                      return new DefaultInformationControl(parent, SWT.NONE,
+//                                                     new HTMLTextPresenter(true), PHPDebugUiMessages
+//                                                                     .getString("PHPDebugHover.16")); //$NON-NLS-1$
+                                       return new DefaultInformationControl(parent, PHPDebugUiMessages.getString("JavaDebugHover.16"),
+                                                       new HTMLTextPresenter(true));
                                }
                        };
                }