|
From: <caw...@us...> - 2007-07-24 17:31:12
|
Revision: 2834
http://svn.sourceforge.net/rubyeclipse/?rev=2834&view=rev
Author: cawilliams
Date: 2007-07-24 10:31:10 -0700 (Tue, 24 Jul 2007)
Log Message:
-----------
fix #5141 - Ruby Class Wizard folder/source root folder fields are confusing. Combine the two dialog fields into one. Now user just selects the ultimate folder they want the type/test placed into.
Modified Paths:
--------------
trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/wizards/RubyNewTestCaseWizardPage.java
Modified: trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/wizards/RubyNewTestCaseWizardPage.java
===================================================================
--- trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/wizards/RubyNewTestCaseWizardPage.java 2007-07-24 17:31:04 UTC (rev 2833)
+++ trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/testunit/wizards/RubyNewTestCaseWizardPage.java 2007-07-24 17:31:10 UTC (rev 2834)
@@ -24,7 +24,7 @@
import org.eclipse.swt.widgets.Text;
import org.rubypeople.rdt.core.IRubyElement;
import org.rubypeople.rdt.core.IRubyProject;
-import org.rubypeople.rdt.core.ISourceFolderRoot;
+import org.rubypeople.rdt.core.ISourceFolder;
import org.rubypeople.rdt.core.IType;
import org.rubypeople.rdt.core.RubyConventions;
import org.rubypeople.rdt.core.RubyModelException;
@@ -106,7 +106,7 @@
container.setLayout(layout);
createContainerControls(container, nColumns);
- createPackageControls(container, nColumns);
+// createPackageControls(container, nColumns);
createSeparator(container, nColumns);
createTypeNameControls(container, nColumns);
createSuperClassControls(container, nColumns);
@@ -261,7 +261,7 @@
}
private IType chooseClassToTestType() {
- ISourceFolderRoot root= getSourceFolderRoot();
+ ISourceFolder root= getSourceFolder();
if (root == null) {
return null;
}
@@ -321,7 +321,7 @@
fClassUnderTest= null;
- ISourceFolderRoot root = getSourceFolderRoot();
+ ISourceFolder root = getSourceFolder();
if (root == null) {
return status;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|