diff options
author | pfullbright | 2008-10-02 21:10:09 +0000 |
---|---|---|
committer | pfullbright | 2008-10-02 21:10:09 +0000 |
commit | 0086e9b39e35a71228fdee4bf149b1e7ba69027b (patch) | |
tree | e1413c44c703ca49ab8c6ec308f14272fbc02e65 | |
parent | c34fec5af03f271ca7a1ac5a091d29da44863399 (diff) | |
download | webtools.dali-0086e9b39e35a71228fdee4bf149b1e7ba69027b.tar.gz webtools.dali-0086e9b39e35a71228fdee4bf149b1e7ba69027b.tar.xz webtools.dali-0086e9b39e35a71228fdee4bf149b1e7ba69027b.zip |
Added file path choosing to mapping file wizard
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.core/property_files/jpa_core.properties | 1 | ||||
-rw-r--r-- | jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/orm/MappingFileWizardPage.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.core/property_files/jpa_core.properties b/jpa/plugins/org.eclipse.jpt.core/property_files/jpa_core.properties index e5b1b722a6..345f36c2ec 100644 --- a/jpa/plugins/org.eclipse.jpt.core/property_files/jpa_core.properties +++ b/jpa/plugins/org.eclipse.jpt.core/property_files/jpa_core.properties @@ -15,6 +15,7 @@ VALIDATE_SOURCE_FOLDER_ILLEGAL=Source folder path is illegal VALIDATE_SOURCE_FOLDER_DOES_NOT_EXIST=Source folder ''{0}'' does not exist VALIDATE_SOURCE_FOLDER_NOT_IN_PROJECT=Source folder ''{0}'' is not in project ''{1}'' VALIDATE_SOURCE_FOLDER_NOT_SOURCE_FOLDER=Source folder ''{0}'' is not an actual source folder +VALIDATE_FILE_PATH_NOT_SPECIFIED=File path must be specified VALIDATE_ORM_FILE_ALREADY_EXISTS=File already exists at this location VALIDATE_PERSISTENCE_UNIT_DOES_NOT_SPECIFIED=Persistence unit not specified VALIDATE_PERSISTENCE_UNIT_NOT_IN_PROJECT=Persistence unit ''{0}'' not defined in project ''{1}'' diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/orm/MappingFileWizardPage.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/orm/MappingFileWizardPage.java index cc1b313fbe..f74ea37e2d 100644 --- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/orm/MappingFileWizardPage.java +++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/wizards/orm/MappingFileWizardPage.java @@ -152,7 +152,7 @@ public class MappingFileWizardPage extends DataModelWizardPage data = new GridData(); filePathLabel.setLayoutData(data); - filePathText = new Text(composite, SWT.BORDER | SWT.READ_ONLY); + filePathText = new Text(composite, SWT.BORDER); data = new GridData(GridData.FILL_HORIZONTAL); data.widthHint = 300; data.horizontalSpan = 1; |