Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortle2010-04-21 23:37:14 +0000
committertle2010-04-21 23:37:14 +0000
commitd05d8de71fb0fb435499f4584b99f0e0c635ef99 (patch)
treea3e7892b72a001e65f71221ade63d5782e3cd361
parentb3d970fa3fc46322e30761e7037e9951c8f78397 (diff)
downloadwebtools.dali-d05d8de71fb0fb435499f4584b99f0e0c635ef99.tar.gz
webtools.dali-d05d8de71fb0fb435499f4584b99f0e0c635ef99.tar.xz
webtools.dali-d05d8de71fb0fb435499f4584b99f0e0c635ef99.zip
Changed to always display usesMoxy checkbox
-rw-r--r--jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
index a110cadf29..3541ff41dd 100644
--- a/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
+++ b/jpa/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/wizards/schemagen/SchemaGeneratorWizardPage.java
@@ -86,9 +86,10 @@ public class SchemaGeneratorWizardPage extends AbstractJarDestinationWizardPage
public SchemaGeneratorWizardPage(IStructuredSelection selection) {
super("JAXB Schema Generator", selection, null); //$NON-NLS-1$
+ this.initialSelection = selection;
+ this.setUsesMoxy(false);
this.setTitle(JptJaxbUiMessages.SchemaGeneratorWizardPage_title);
this.setDescription(JptJaxbUiMessages.SchemaGeneratorWizardPage_desc);
- this.initialSelection = selection;
}
// ********** IDialogPage implementation **********
@@ -106,10 +107,6 @@ public class SchemaGeneratorWizardPage extends AbstractJarDestinationWizardPage
// default usesMoxy to true only when JPT EclipseLink bundle exists and MOXy is on the classpath
this.updateUsesMoxy(this.jptEclipseLinkBundleExists() && this.moxyIsOnClasspath());
-
- // checkbox visible only if jpt.eclipselink.ui plugin is available
- // and EclipseLink MOXy is not on the classpath
- this.usesMoxyCheckBox.setVisible(this.jptEclipseLinkBundleExists() && ! this.moxyIsOnClasspath());
this.giveFocusToDestination();
}
@@ -289,6 +286,7 @@ public class SchemaGeneratorWizardPage extends AbstractJarDestinationWizardPage
private void updateUsesMoxy(boolean usesMoxy){
this.setUsesMoxy(usesMoxy);
+ this.usesMoxyCheckBox.setSelection(this.usesMoxy());
this.validateProjectClasspath();
}

Back to the top