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;
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));
}
};
}