Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTran Le2012-11-06 12:45:21 -0500
committerTran Le2012-11-06 12:45:21 -0500
commit0e877e9260ad325e324229124985ac271af2d1bb (patch)
tree88550aa795d2fb3fd5be54cf9d2f8fba054433af
parentfa46915f7bd390238ed8af95b4ac8d390dbc1025 (diff)
downloadwebtools.dali-0e877e9260ad325e324229124985ac271af2d1bb.tar.gz
webtools.dali-0e877e9260ad325e324229124985ac271af2d1bb.tar.xz
webtools.dali-0e877e9260ad325e324229124985ac271af2d1bb.zip
390871 - ClassCastException: open "JAXB Classes from Schema" wizard
through Quick Access
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/classesgen/ClassesGeneratorWizard.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/classesgen/ClassesGeneratorWizard.java b/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/classesgen/ClassesGeneratorWizard.java
index 46d770fb9a..6bfdc368ab 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/classesgen/ClassesGeneratorWizard.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/classesgen/ClassesGeneratorWizard.java
@@ -42,8 +42,8 @@ import org.eclipse.jpt.jaxb.ui.internal.plugin.JptJaxbUiPlugin;
import org.eclipse.osgi.util.NLS;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
+import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;
-import org.eclipse.ui.IWorkbenchWizard;
import org.eclipse.wst.xsd.contentmodel.internal.XSDImpl;
import org.eclipse.xsd.XSDSchema;
@@ -52,8 +52,8 @@ import org.eclipse.xsd.XSDSchema;
*/
public class ClassesGeneratorWizard
extends Wizard
- implements IWorkbenchWizard {
-
+ implements INewWizard {
+
private IJavaProject javaProject;
private IFile preselectedXsdFile;
protected IStructuredSelection selection;

Back to the top