|
From: Christopher W. <caw...@us...> - 2006-03-28 23:15:47
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18128/src/org/rubypeople/rdt/core Modified Files: IRubyScript.java Added Files: ICodeAssist.java Log Message: start laying groundwork for the F3/Open action where users can easily navigate from text selections and menus with IRubyElements to the source. Index: IRubyScript.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyScript.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** IRubyScript.java 25 Mar 2006 02:27:36 -0000 1.9 --- IRubyScript.java 28 Mar 2006 23:15:43 -0000 1.10 *************** *** 31,35 **** * */ ! public interface IRubyScript extends IRubyElement, ISourceReference, IParent, IOpenable { public String[] EXTENSIONS = { "rb", "rbw", "rhtml", "rjs", "rxml"}; --- 31,35 ---- * */ ! public interface IRubyScript extends IRubyElement, ISourceReference, IParent, IOpenable, ICodeAssist { public String[] EXTENSIONS = { "rb", "rbw", "rhtml", "rjs", "rxml"}; --- NEW FILE: ICodeAssist.java --- package org.rubypeople.rdt.core; public interface ICodeAssist { public IRubyElement[] codeSelect(int offset, int length) throws RubyModelException; public IRubyElement[] codeSelect(int offset, int length, WorkingCopyOwner workingCopyOwner) throws RubyModelException; } |