|
From: Christopher W. <caw...@us...> - 2006-03-25 02:27:40
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6145/src/org/rubypeople/rdt/core Modified Files: IRubyScript.java IRubyElement.java IRubyProject.java RubyCore.java Log Message: my initial working version of a Ruby Browsing Perspective Index: IRubyScript.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyScript.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** IRubyScript.java 13 Dec 2005 19:58:55 -0000 1.8 --- IRubyScript.java 25 Mar 2006 02:27:36 -0000 1.9 *************** *** 374,376 **** --- 374,378 ---- */ IRubyElement getElementAt(int position) throws RubyModelException; + + IType findPrimaryType(); } \ No newline at end of file Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** RubyCore.java 22 Feb 2006 21:05:32 -0000 1.30 --- RubyCore.java 25 Mar 2006 02:27:36 -0000 1.31 *************** *** 190,193 **** --- 190,203 ---- public static final String DO_NOT_INSERT = "do not insert"; //$NON-NLS-1$ + /** + * Value of the content-type for Ruby source files. Use this value to retrieve the Ruby content type + * from the content type manager, and to add new Ruby-like extensions to this content type. + * + * @see org.eclipse.core.runtime.content.IContentTypeManager#getContentType(String) + * @see #getRubyLikeExtensions() + * @since 0.8.0 + */ + public static final String RUBY_SOURCE_CONTENT_TYPE = RubyCore.PLUGIN_ID+".rubySource" ; //$NON-NLS-1$ + private SymbolIndex symbolIndex; private ISymbolFinder symbolFinder; Index: IRubyElement.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyElement.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IRubyElement.java 10 Feb 2006 18:30:37 -0000 1.6 --- IRubyElement.java 25 Mar 2006 02:27:36 -0000 1.7 *************** *** 33,42 **** public static final int RUBY_MODEL = 0; ! public static final int PROJECT = 1; public static final int SCRIPT = 2; public static final int TYPE = 3; public static final int METHOD = 4; public static final int GLOBAL = 5; ! public static final int IMPORT = 6; public static final int CONSTANT = 7; public static final int CLASS_VAR = 8; --- 33,42 ---- public static final int RUBY_MODEL = 0; ! public static final int RUBY_PROJECT = 1; public static final int SCRIPT = 2; public static final int TYPE = 3; public static final int METHOD = 4; public static final int GLOBAL = 5; ! public static final int IMPORT_DECLARATION = 6; public static final int CONSTANT = 7; public static final int CLASS_VAR = 8; Index: IRubyProject.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/IRubyProject.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** IRubyProject.java 13 Dec 2005 19:58:55 -0000 1.5 --- IRubyProject.java 25 Mar 2006 02:27:36 -0000 1.6 *************** *** 104,106 **** --- 104,110 ---- Map getOptions(boolean inheritRubyCoreOptions); + public abstract IRubyScript[] getRubyScripts() throws RubyModelException; + + public abstract Object[] getNonRubyResources() throws RubyModelException; + } \ No newline at end of file |