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;
*
* @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) {
- return new DefaultInformationControl(parent, SWT.NONE,
- new HTMLTextPresenter(true), PHPDebugUiMessages
- .getString("JavaDebugHover.16")); //$NON-NLS-1$
- }
- };
- // }
- // 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)
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));
}
};
}