|
From: <caw...@us...> - 2007-05-29 15:05:49
|
Revision: 2551
http://svn.sourceforge.net/rubyeclipse/?rev=2551&view=rev
Author: cawilliams
Date: 2007-05-29 08:05:48 -0700 (Tue, 29 May 2007)
Log Message:
-----------
fix to show HTML properly after hover gains focus via F2
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/CommentHoverProvider.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/CommentHoverProvider.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/CommentHoverProvider.java 2007-05-29 14:58:33 UTC (rev 2550)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/CommentHoverProvider.java 2007-05-29 15:05:48 UTC (rev 2551)
@@ -3,6 +3,7 @@
import org.eclipse.jface.text.DefaultInformationControl;
import org.eclipse.jface.text.IInformationControl;
import org.eclipse.jface.text.IInformationControlCreator;
+import org.eclipse.jface.text.information.IInformationProviderExtension2;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;
import org.rubypeople.rdt.core.IMember;
@@ -11,12 +12,9 @@
import org.rubypeople.rdt.internal.ui.text.HTMLPrinter;
import org.rubypeople.rdt.internal.ui.text.HTMLTextPresenter;
import org.rubypeople.rdt.internal.ui.text.ruby.IInformationControlExtension4;
-import org.rubypeople.rdt.internal.ui.text.ruby.hover.AbstractReusableInformationControlCreator;
-import org.rubypeople.rdt.internal.ui.text.ruby.hover.AbstractRubyEditorTextHover;
-import org.rubypeople.rdt.internal.ui.text.ruby.hover.BrowserInformationControl;
import org.rubypeople.rdt.ui.RubyElementLabels;
-public class CommentHoverProvider extends AbstractRubyEditorTextHover {
+public class CommentHoverProvider extends AbstractRubyEditorTextHover implements IInformationProviderExtension2 {
private final long LABEL_FLAGS= RubyElementLabels.ALL_FULLY_QUALIFIED | RubyElementLabels.M_PARAMETER_NAMES | RubyElementLabels.USE_RESOLVED;
private final long LOCAL_VARIABLE_FLAGS= LABEL_FLAGS & ~RubyElementLabels.F_FULLY_QUALIFIED | RubyElementLabels.F_POST_QUALIFIED;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|