|
From: <caw...@us...> - 2007-07-20 16:17:12
|
Revision: 2809
http://svn.sourceforge.net/rubyeclipse/?rev=2809&view=rev
Author: cawilliams
Date: 2007-07-20 09:17:09 -0700 (Fri, 20 Jul 2007)
Log Message:
-----------
fix the type hierarchy view a bit
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/plugin.xml
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/corext/util/TypeInfoFactory.java
Modified: trunk/org.rubypeople.rdt.ui/plugin.xml
===================================================================
--- trunk/org.rubypeople.rdt.ui/plugin.xml 2007-07-20 15:24:55 UTC (rev 2808)
+++ trunk/org.rubypeople.rdt.ui/plugin.xml 2007-07-20 16:17:09 UTC (rev 2809)
@@ -489,6 +489,10 @@
commandId="org.rubypeople.rdt.ui.edit.text.ruby.open.editor"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
<key
+ sequence="F4"
+ commandId="org.rubypeople.rdt.ui.edit.text.ruby.open.type.hierarchy"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/>
+ <key
sequence="M1+M2+T"
contextId="org.rubypeople.rdt.ui.rubyEditorScope"
commandId="org.rubypeople.rdt.ui.edit.text.ruby.open.type"
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/corext/util/TypeInfoFactory.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/corext/util/TypeInfoFactory.java 2007-07-20 15:24:55 UTC (rev 2808)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/corext/util/TypeInfoFactory.java 2007-07-20 16:17:09 UTC (rev 2809)
@@ -14,6 +14,7 @@
import java.util.Comparator;
import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.Path;
import org.rubypeople.rdt.core.IRubyModel;
import org.rubypeople.rdt.core.IRubyProject;
import org.rubypeople.rdt.core.RubyCore;
@@ -37,6 +38,7 @@
}
public TypeInfo create(char[] packageName, char[] typeName, char[][] enclosingName, boolean isModule, String path) {
+ path = new Path(path).toPortableString();
String pn= getPackageName(packageName);
String tn= new String(typeName);
TypeInfo result= null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|