Author: scabanovich
Date: 2009-10-09 06:36:30 -0400 (Fri, 09 Oct 2009)
New Revision: 18000
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/RemoveJSFNatureActionDelegate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4999
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/RemoveJSFNatureActionDelegate.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/RemoveJSFNatureActionDelegate.java 2009-10-09
10:35:49 UTC (rev 17999)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/RemoveJSFNatureActionDelegate.java 2009-10-09
10:36:30 UTC (rev 18000)
@@ -15,6 +15,7 @@
import org.jboss.tools.jsf.model.handlers.RemoveJSFNatureContribution;
import org.jboss.tools.jsf.project.JSFNature;
import org.jboss.tools.common.meta.action.SpecialWizard;
+import org.jboss.tools.common.model.handlers.RemoveModelNatureHandler;
import org.jboss.tools.common.model.ui.action.file.RemoveModelNatureActionDelegate;
public class RemoveJSFNatureActionDelegate extends RemoveModelNatureActionDelegate {
@@ -25,7 +26,7 @@
protected void initProperties(Properties p) {
super.initProperties(p);
SpecialWizard w = new RemoveJSFNatureContribution();
- p.put("contribution", w); //$NON-NLS-1$
+ p.put(RemoveModelNatureHandler.PARAM_CONTRIBUTION, w);
}
}