|
From: <caw...@us...> - 2007-03-16 13:21:34
|
Revision: 2187
http://svn.sourceforge.net/rubyeclipse/?rev=2187&view=rev
Author: cawilliams
Date: 2007-03-16 06:21:29 -0700 (Fri, 16 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java 2007-03-16 13:21:06 UTC (rev 2186)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyUI.java 2007-03-16 13:21:29 UTC (rev 2187)
@@ -12,6 +12,7 @@
import org.eclipse.jface.util.Assert;
import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.texteditor.IDocumentProvider;
import org.rubypeople.rdt.core.IRubyElement;
import org.rubypeople.rdt.internal.ui.RubyPlugin;
import org.rubypeople.rdt.internal.ui.SharedImages;
@@ -126,4 +127,15 @@
public static IWorkingCopyManager getWorkingCopyManager() {
return RubyPlugin.getDefault().getWorkingCopyManager();
}
+ /**
+ * Returns the DocumentProvider used for Ruby compilation units.
+ *
+ * @return the DocumentProvider for Ruby compilation units.
+ *
+ * @see IDocumentProvider
+ * @since 2.0
+ */
+ public static IDocumentProvider getDocumentProvider() {
+ return RubyPlugin.getDefault().getRubyDocumentProvider();
+ }
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|