diff options
author | nhauge | 2012-08-22 20:43:55 +0000 |
---|---|---|
committer | nhauge | 2012-08-22 21:33:34 +0000 |
commit | b76ad19428339bff41f2c574a2de9cc9822883b4 (patch) | |
tree | f5c5d138cb43f515c5e03a5590e37a4605975d37 /jpa/plugins | |
parent | a420fb18c36c264ec6b29b2c3fd1f77a6a9f54a9 (diff) | |
download | webtools.dali-b76ad19428339bff41f2c574a2de9cc9822883b4.tar.gz webtools.dali-b76ad19428339bff41f2c574a2de9cc9822883b4.tar.xz webtools.dali-b76ad19428339bff41f2c574a2de9cc9822883b4.zip |
[386347] externalize missing radio button text.
Diffstat (limited to 'jpa/plugins')
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 76004e219a..2388c29773 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 d50c161bda..d6c1a00b41 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 7a1428d7f3..6042a01c43 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(); |