Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / internal / debug / ui / PHPDebugHover.java
index efd1b93..4c566d6 100644 (file)
@@ -32,7 +32,7 @@ import org.eclipse.jface.text.ITextHoverExtension;
 import org.eclipse.jface.text.ITextViewer;
 import org.eclipse.jface.viewers.ISelection;
 import org.eclipse.jface.viewers.IStructuredSelection;
-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.IPartListener;
@@ -246,23 +246,23 @@ public class PHPDebugHover implements IJavaEditorTextHover,
         * 
         * @see org.eclipse.jface.text.ITextHoverExtension#getInformationControlCreator()
         */
-       public IInformationControlCreator getInformationControlCreator() {
-               // if
-               // (Platform.getPlugin("org.eclipse.jdt.ui").getPluginPreferences().getBoolean(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE))
-               // { //$NON-NLS-1$
-               return new IInformationControlCreator() {
-                       public IInformationControl createInformationControl(Shell parent) {
-//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));
-                       }
-               };
-               // }
-               // return null;
-       }
+//     public IInformationControlCreator getInformationControlCreator() {
+//             // if
+//             // (Platform.getPlugin("org.eclipse.jdt.ui").getPluginPreferences().getBoolean(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE))
+//             // { //$NON-NLS-1$
+//             return new IInformationControlCreator() {
+//                     public IInformationControl createInformationControl(Shell parent) {
+////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));
+//                     }
+//             };
+//             // }
+//             // return null;
+//     }
 
        /*
         * (non-Javadoc)