Author: koen.aers(a)jboss.com
Date: 2010-03-31 17:01:35 -0400 (Wed, 31 Mar 2010)
New Revision: 21176
Modified:
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/wizard/NewActionWizard.java
Log:
JBIDE-6023: jBPM ActionHandler is interface but pre-selected in wizard as a class
Modified:
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/wizard/NewActionWizard.java
===================================================================
---
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/wizard/NewActionWizard.java 2010-03-31
20:55:39 UTC (rev 21175)
+++
trunk/jbpm/plugins/org.jbpm.gd.jpdl/src/org/jbpm/gd/jpdl/wizard/NewActionWizard.java 2010-03-31
21:01:35 UTC (rev 21176)
@@ -68,7 +68,7 @@
public void init(IWorkbench workbench, IStructuredSelection selection) {
IProject p = getProject(selection);
adapter = new NewTypeWizardAdapter(p);
- adapter.setRawSuperClassName(ACTION_HANDLER_CLASS);
+ adapter.addRawInterfaceName(ACTION_HANDLER_CLASS);
IPackageFragment f = getPackageFragment(selection);
if(f != null) {
String name = "";