summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-13 17:12:50 (EST)
committerKaren Butzke2012-11-13 17:12:50 (EST)
commit5f35e2196a8647cd425c618f187ba41bdbc0e561 (patch)
tree8da072ec15ea19680f4915f75b39bdce377dba0b
parent8cf5a294e912792d0f9eabdd88ab080b4c16fd9d (diff)
downloadwebtools.dali-5f35e2196a8647cd425c618f187ba41bdbc0e561.zip
webtools.dali-5f35e2196a8647cd425c618f187ba41bdbc0e561.tar.gz
webtools.dali-5f35e2196a8647cd425c618f187ba41bdbc0e561.tar.bz2
fixed enabledment of Persistence Unit label
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/orm/MappingFileOptionsWizardPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/orm/MappingFileOptionsWizardPage.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/orm/MappingFileOptionsWizardPage.java
index d6484a7..49c27c2 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/orm/MappingFileOptionsWizardPage.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/orm/MappingFileOptionsWizardPage.java
@@ -100,7 +100,7 @@ public class MappingFileOptionsWizardPage
data = new GridData();
data.horizontalIndent = 10;
this.persistenceUnitLabel.setLayoutData(data);
- this.persistenceUnitLabel.setEnabled(false);
+ this.persistenceUnitLabel.setEnabled(getDataModel().isPropertyEnabled(ADD_TO_PERSISTENCE_UNIT));
this.addToPersistenceUnitButton.addSelectionListener(new SelectionListener() {
public void widgetSelected(SelectionEvent e) {
persistenceUnitLabel.setEnabled(addToPersistenceUnitButton.getSelection());