|
From: Christopher W. <caw...@us...> - 2005-11-29 19:38:08
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4508/src/org/rubypeople/rdt/core Modified Files: IRubyScript.java Log Message: define and implement a getTypes method Index: IRubyScript.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyScript.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IRubyScript.java 12 Mar 2005 15:30:03 -0000 1.6 --- IRubyScript.java 29 Nov 2005 19:38:00 -0000 1.7 *************** *** 33,37 **** public interface IRubyScript extends IRubyElement, ISourceReference, IParent, IOpenable { ! public String[] EXTENSIONS = { "rb", "rbw", "rhtml"}; /** --- 33,37 ---- public interface IRubyScript extends IRubyElement, ISourceReference, IParent, IOpenable { ! public String[] EXTENSIONS = { "rb", "rbw", "rhtml", "rjs", "rxml"}; /** *************** *** 349,351 **** --- 349,361 ---- */ WorkingCopyOwner getOwner(); + + /** + * Returns the top-level types declared in this compilation unit + * in the order in which they appear in the source. + * + * @return the top-level types declared in this compilation unit + * @throws RubyModelException if this element does not exist or if an + * exception occurs while accessing its corresponding resource + */ + IType[] getTypes() throws RubyModelException; } \ No newline at end of file |