diff options
author | Martin Fluegge | 2010-07-16 18:38:34 +0000 |
---|---|---|
committer | Martin Fluegge | 2010-07-16 18:38:34 +0000 |
commit | 6f6b5f47fd57ac98fe35a4d0cdaad914f54d113d (patch) | |
tree | ead073e8284c485d59673fb69e33bfc7cfc5f228 /plugins/org.eclipse.emf.cdo.dawn.ui | |
parent | 62df5791b4bcd1d236c96aa69d130dd9ce49c453 (diff) | |
download | cdo-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.java | 9 |
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() |