summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNan Li2013-03-12 22:50:58 (EDT)
committerNeil Hauge2013-03-12 22:50:58 (EDT)
commit96d9f51bab80e21eb743701b05d868f14163d286 (patch)
tree9e4d3683cbf9e3dcf8a96e06272fdad0e71dffee
parentccdaeb47b01865c8163e1fdc80c5a2a2405bf385 (diff)
downloadwebtools.dali-96d9f51bab80e21eb743701b05d868f14163d286.zip
webtools.dali-96d9f51bab80e21eb743701b05d868f14163d286.tar.gz
webtools.dali-96d9f51bab80e21eb743701b05d868f14163d286.tar.bz2
392222 - Remove create new mapping file option from new JPA projectv201303130300
wizard. DataModel content will be removed in M7.
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_jpa_ui.properties1
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/JptJpaUiMessages.java1
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/JpaFacetInstallPage.java23
3 files changed, 2 insertions, 23 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_jpa_ui.properties b/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_jpa_ui.properties
index c118158..21c6f8f 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_jpa_ui.properties
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_jpa_ui.properties
@@ -102,7 +102,6 @@ JpaFacetWizardPage_userLibsLink=<a>Configure user libraries...</a>
JpaFacetWizardPage_persistentClassManagementLabel=Persistent class management
JpaFacetWizardPage_discoverClassesButton=Discover annotated classes a&utomatically
JpaFacetWizardPage_listClassesButton=Annotated classes must be &listed in persistence.xml
-JpaFacetWizardPage_createOrmXmlButton=Create &mapping file (orm.xml)
JpaFacetWizardPage_metamodelLabel=Canonical metamodel (JPA 2.0)
JpaFacetWizardPage_metamodelSourceFolderLink=<a>Source fol&der:</a>
JpaFacetWizardPage_none=<None>
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/JptJpaUiMessages.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/JptJpaUiMessages.java
index ba21968..1e8ff79 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/JptJpaUiMessages.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/JptJpaUiMessages.java
@@ -75,7 +75,6 @@ public class JptJpaUiMessages {
public static String JpaFacetWizardPage_connectionLink;
public static String JpaFacetWizardPage_connectLink;
public static String JpaFacetWizardPage_connectedText;
- public static String JpaFacetWizardPage_createOrmXmlButton;
public static String JpaFacetWizardPage_defaultCatalogLabel;
public static String JpaFacetWizardPage_defaultSchemaLabel;
public static String JpaFacetWizardPage_description;
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/JpaFacetInstallPage.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/JpaFacetInstallPage.java
index 25b6777..d3a3289 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/JpaFacetInstallPage.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/JpaFacetInstallPage.java
@@ -56,7 +56,6 @@ public class JpaFacetInstallPage
new ClasspathConfigGroup(composite);
new ConnectionGroup(composite);
new PersistentClassManagementGroup(composite);
- new OrmXmlGroup(composite);
}
@Override
@@ -73,9 +72,9 @@ public class JpaFacetInstallPage
{
private final Combo connectionCombo;
- private Link connectionLink;
+ private final Link connectionLink;
- private Link connectLink;
+ private final Link connectLink;
private final Button addDriverLibraryButton;
@@ -245,22 +244,4 @@ public class JpaFacetInstallPage
SWTUtil.reflow(connectLink.getParent());
}
}
-
-
- protected final class OrmXmlGroup
- {
- private final Button createOrmXmlButton;
-
-
- public OrmXmlGroup(Composite composite) {
- Composite group = new Composite(composite, SWT.NONE);
- group.setLayout(new GridLayout());
- group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- PlatformUI.getWorkbench().getHelpSystem().setHelp(group, JpaHelpContextIds.DIALOG_CREATE_ORM);
-
- createOrmXmlButton = new Button(group, SWT.CHECK);
- createOrmXmlButton.setText(JptJpaUiMessages.JpaFacetWizardPage_createOrmXmlButton);
- synchHelper.synchCheckbox(createOrmXmlButton, CREATE_ORM_XML, null);
- }
- }
}