Author: scabanovich
Date: 2008-02-11 09:31:36 -0500 (Mon, 11 Feb 2008)
New Revision: 6241
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultSpecialHandler.java
Log:
JBIDE-1670
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultSpecialHandler.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultSpecialHandler.java 2008-02-11
14:19:34 UTC (rev 6240)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultSpecialHandler.java 2008-02-11
14:31:36 UTC (rev 6241)
@@ -40,7 +40,7 @@
validated = true;
wizard =
SpecialWizardFactory.createSpecialWizard("org.jboss.tools.common.model.ui.wizards.special.DefaultSpecialWizard");
support = createSpecialWizardSupport(action.getProperty("support"));
- support.setAction(action);
+ if(support != null) support.setAction(action);
}
public boolean isEnabled(XModelObject object) {