Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / internal / ui / text / java / hover / AbstractJavaEditorTextHover.java
index de83858..ba23080 100644 (file)
@@ -26,7 +26,7 @@ import org.eclipse.jface.text.IInformationControl;
 import org.eclipse.jface.text.IInformationControlCreator;
 import org.eclipse.jface.text.IRegion;
 import org.eclipse.jface.text.ITextViewer;
-import org.eclipse.swt.SWT;
+//import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.IEditorPart;
 //import org.eclipse.ui.PlatformUI;
@@ -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));
                        }
                };
        }