Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornhauge2012-08-22 16:43:55 -0400
committernhauge2012-08-22 16:43:55 -0400
commit5230fd7de24633ed0961202fe23abe66626964dd (patch)
tree1165202f05823d0dd43fb7c0c72d10fc6d1404c3
parenteb2e1b28cbaf7980faa4f667ffbb3090e8c24ab1 (diff)
downloadwebtools.dali-5230fd7de24633ed0961202fe23abe66626964dd.tar.gz
webtools.dali-5230fd7de24633ed0961202fe23abe66626964dd.tar.xz
webtools.dali-5230fd7de24633ed0961202fe23abe66626964dd.zip
[386347] externalize missing radio button text.v201208222210
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_ui_entity_gen.properties1
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/JptUiEntityGenMessages.java1
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/TableGenPanel.java6
3 files changed, 5 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_ui_entity_gen.properties b/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_ui_entity_gen.properties
index f657db2f0b..3fb8e869ab 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_ui_entity_gen.properties
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/property_files/jpt_ui_entity_gen.properties
@@ -59,6 +59,7 @@ GenerateEntitiesWizard_defaultTablePage_domainJavaClass=Domain java class
GenerateEntitiesWizard_defaultTablePage_desc=Optionally customize aspects of entities that will be generated by default from database tables. A Java package should be specified.
GenerateEntitiesWizard_defaultTablePage_access=Entity &access:
GenerateEntitiesWizard_defaultTablePage_fetch=Associations &fetch:
+GenerateEntitiesWizard_defaultTablePage_fetchDefault=&Default
GenerateEntitiesWizard_defaultTablePage_collType=Collection properties &type:
GenerateEntitiesWizard_defaultTablePage_genOptionalAnnotations = Always generate optional JPA annotations and DDL parameters
GenerateEntitiesWizard_defaultTablePage_genOptionalAnnotations_desc = Generate optional JPA annotations and DDL parameters like 'unique', 'nullable', 'length', 'precision' and 'scale', which are optional and only used by automatic table creation to specify table creation data.
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/JptUiEntityGenMessages.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/JptUiEntityGenMessages.java
index 8ea5c34d94..7bf3a96e31 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/JptUiEntityGenMessages.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/JptUiEntityGenMessages.java
@@ -51,6 +51,7 @@ public class JptUiEntityGenMessages {
public static String GenerateEntitiesWizard_defaultTablePage_tableMapping;
public static String GenerateEntitiesWizard_tablePanel_className;
public static String GenerateEntitiesWizard_defaultTablePage_fetch;
+ public static String GenerateEntitiesWizard_defaultTablePage_fetchDefault;
public static String GenerateEntitiesWizard_defaultTablePage_collType;
public static String GenerateEntitiesWizard_defaultTablePage_sequence;
public static String GenerateEntitiesWizard_defaultTablePage_sequenceNote;
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/TableGenPanel.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/TableGenPanel.java
index 06ab291530..9dc3245bc4 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/TableGenPanel.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/wizards/gen/TableGenPanel.java
@@ -159,15 +159,15 @@ public class TableGenPanel
parent.setLayout(new RowLayout());
SWTUtil.fillColumns( parent , 3);
associationFetchDefault = new Button( parent, SWT.RADIO );
- associationFetchDefault.setText( "Default");
+ associationFetchDefault.setText( JptUiEntityGenMessages.GenerateEntitiesWizard_defaultTablePage_fetchDefault);
associationFetchDefault.setData( ORMGenTable.DEFAULT_FETCH );
associationFetchEager = new Button( parent, SWT.RADIO );
- associationFetchEager.setText( "&Eager");
+ associationFetchEager.setText( "&Eager"); //$NON-NLS-1$
associationFetchEager.setData( ORMGenTable.EAGER_FETCH );
associationFetchLazy = new Button( parent, SWT.RADIO );
- associationFetchLazy.setText( "La&zy");
+ associationFetchLazy.setText( "La&zy"); //$NON-NLS-1$
associationFetchLazy.setData( ORMGenTable.LAZY_FETCH );
AssociationFetchListener associationFetchListener = new AssociationFetchListener();

Back to the top