Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-07-16 18:38:34 +0000
committerMartin Fluegge2010-07-16 18:38:34 +0000
commit6f6b5f47fd57ac98fe35a4d0cdaad914f54d113d (patch)
treeead073e8284c485d59673fb69e33bfc7cfc5f228 /plugins/org.eclipse.emf.cdo.dawn.ui
parent62df5791b4bcd1d236c96aa69d130dd9ce49c453 (diff)
downloadcdo-6f6b5f47fd57ac98fe35a4d0cdaad914f54d113d.tar.gz
cdo-6f6b5f47fd57ac98fe35a4d0cdaad914f54d113d.tar.xz
cdo-6f6b5f47fd57ac98fe35a4d0cdaad914f54d113d.zip
[308232] [Dawn] Develop collaborative support for GMF on CDO
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308232
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.ui')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.ui/src/org/eclipse/emf/cdo/dawn/ui/wizards/DawnCreateNewResourceWizardPage.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.ui/src/org/eclipse/emf/cdo/dawn/ui/wizards/DawnCreateNewResourceWizardPage.java b/plugins/org.eclipse.emf.cdo.dawn.ui/src/org/eclipse/emf/cdo/dawn/ui/wizards/DawnCreateNewResourceWizardPage.java
index faf8bbda94..3bbfce0d37 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.ui/src/org/eclipse/emf/cdo/dawn/ui/wizards/DawnCreateNewResourceWizardPage.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.ui/src/org/eclipse/emf/cdo/dawn/ui/wizards/DawnCreateNewResourceWizardPage.java
@@ -218,6 +218,7 @@ public class DawnCreateNewResourceWizardPage extends WizardPage
private void validatePage()
{
boolean valid = false;
+ System.out.println(resourceText.getText());
if (resourceText.getText().length() != 0)
{
setPageComplete(true);
@@ -323,13 +324,13 @@ public class DawnCreateNewResourceWizardPage extends WizardPage
return resourceNamePrefix;
}
- public void setResourcePath(String resourcePathText)
+ public void setResourcePath(String text)
{
- if (!resourcePathText.endsWith("/") || !!resourcePathText.endsWith("\\"))
+ if (!text.endsWith("/") || !!text.endsWith("\\"))
{
- resourcePathText += "/";
+ text += "/";
}
- this.resourcePathText.setText(resourcePathText);
+ resourcePathText.setText(text);
}
public String getResourcePath()

Back to the top