Author: scabanovich
Date: 2011-12-14 20:44:08 -0500 (Wed, 14 Dec 2011)
New Revision: 37340
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/NewWebProjectWizardPage.java
Log:
JBIDE-10225
https://issues.jboss.org/browse/JBIDE-10225
DefaultSettings single instance is reused.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/NewWebProjectWizardPage.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/NewWebProjectWizardPage.java 2011-12-15
01:43:35 UTC (rev 37339)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/NewWebProjectWizardPage.java 2011-12-15
01:44:08 UTC (rev 37340)
@@ -84,7 +84,7 @@
this.context = context;
template = context.getTemplate();
// init editors & adapters
- IWidgetSettings settings = new DefaultSettings();
+ IWidgetSettings settings = DefaultSettings.getDefault();
nameEditor = new StringEditor(settings);
nameAdapter = new NameAdapter();