|
From: <caw...@us...> - 2007-02-27 14:37:51
|
Revision: 2049
http://svn.sourceforge.net/rubyeclipse/?rev=2049&view=rev
Author: cawilliams
Date: 2007-02-27 06:37:50 -0800 (Tue, 27 Feb 2007)
Log Message:
-----------
change wording
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyElementLabels.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyElementLabels.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyElementLabels.java 2007-02-27 14:37:40 UTC (rev 2048)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/RubyElementLabels.java 2007-02-27 14:37:50 UTC (rev 2049)
@@ -607,10 +607,10 @@
}
/**
- * Appends the label for a compilation unit to a {@link StringBuffer}.
+ * Appends the label for a ruby script to a {@link StringBuffer}.
* Considers the CU_* flags.
*
- * @param cu
+ * @param script
* The element to render.
* @param flags
* The rendering flags. Flags with names starting with 'CU_' are
@@ -618,19 +618,19 @@
* @param buf
* The buffer to append the resulting label to.
*/
- public static void getRubyScriptLabel(IRubyScript cu, long flags, StringBuffer buf) {
+ public static void getRubyScriptLabel(IRubyScript script, long flags, StringBuffer buf) {
if (getFlag(flags, CU_QUALIFIED)) {
- ISourceFolder pack = (ISourceFolder) cu.getParent();
+ ISourceFolder pack = (ISourceFolder) script.getParent();
if (!pack.isDefaultPackage()) {
getSourceFolderLabel(pack, (flags & QUALIFIER_FLAGS), buf);
buf.append('.');
}
}
- buf.append(cu.getElementName());
+ buf.append(script.getElementName());
if (getFlag(flags, CU_POST_QUALIFIED)) {
buf.append(CONCAT_STRING);
- getSourceFolderLabel((ISourceFolder) cu.getParent(), flags & QUALIFIER_FLAGS, buf);
+ getSourceFolderLabel((ISourceFolder) script.getParent(), flags & QUALIFIER_FLAGS, buf);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|