Author: dgeraskov
Date: 2011-10-14 10:48:29 -0400 (Fri, 14 Oct 2011)
New Revision: 35666
Modified:
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
Log:
Fix missprint and externalize
Modified:
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
---
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2011-10-14
14:48:23 UTC (rev 35665)
+++
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2011-10-14
14:48:29 UTC (rev 35666)
@@ -388,6 +388,8 @@
public static String CodeGenerationSettingsTab_use_generation_in_external_process;
public static String
CodeGenerationSettingsTab_script_can_not_be_generated_correctly_without;
public static String ConsoleConfigurationLaunchDelegate_direct_launch_not_supported;
+ public static String ConsoleConfigurationMainTab_0;
+
public static String ConsoleConfigurationMainTab_annotations;
public static String ConsoleConfigurationMainTab_cfg_xml;
public static String
ConsoleConfigurationMainTab_choose_file_to_use_as_hibernate_cfg_xml;
Modified:
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
---
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2011-10-14
14:48:23 UTC (rev 35665)
+++
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2011-10-14
14:48:29 UTC (rev 35666)
@@ -391,6 +391,7 @@
CodeGenerationSettingsTab_use_generation_in_external_process=Use generation in external
process
CodeGenerationSettingsTab_script_can_not_be_generated_correctly_without=The script can
not be generated correctly without "Generate basic typed composite ids" flag
set.
ConsoleConfigurationLaunchDelegate_direct_launch_not_supported=Direct launch not
supported
+ConsoleConfigurationMainTab_0=Hibernate Version:
ConsoleConfigurationMainTab_annotations=Annotations (jdk 1.5+)
ConsoleConfigurationMainTab_cfg_xml=cfg.xml
ConsoleConfigurationMainTab_choose_file_to_use_as_hibernate_cfg_xml=Choose file to use as
hibernate.cfg.xml
Modified:
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
===================================================================
---
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2011-10-14
14:48:23 UTC (rev 35665)
+++
branches/dead/hibernatetools-multiversion2/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2011-10-14
14:48:29 UTC (rev 35666)
@@ -128,7 +128,7 @@
comp2.setLayout(new GridLayout(2, false));
comp2.setLayoutData(new GridData(GridData.BEGINNING, -1, false, false, 2, 1));
Label hLabel = new Label(comp2, SWT.NULL);
- hLabel.setText("Hiberante Version:");
+ hLabel.setText(HibernateConsoleMessages.ConsoleConfigurationMainTab_0);
hibernateVersion = new Combo(comp2, SWT.READ_ONLY);
hibernateVersion.setItems((String[])ExtensionManager.getExporterDefinitionsAsMap().keySet().toArray(new
String[0]));
hibernateVersion.select(0);
@@ -216,7 +216,7 @@
try {
ConfigurationMode cm = ConfigurationMode.parse(configuration.getAttribute(
IConsoleConfigurationLaunchConstants.CONFIGURATION_FACTORY, "" ));
//$NON-NLS-1$
coreMode.setSelection( cm.equals( ConfigurationMode.CORE ) );
- hibernateVersion.setText(configuration.getAttribute(
IConsoleConfigurationLaunchConstants.HIBERNATE_VERSION, ""));
+ hibernateVersion.setText(configuration.getAttribute(
IConsoleConfigurationLaunchConstants.HIBERNATE_VERSION, "")); //$NON-NLS-1$
annotationsMode.setSelection( cm.equals( ConfigurationMode.ANNOTATIONS ) );
jpaMode.setSelection( cm.equals( ConfigurationMode.JPA ) );
@@ -516,7 +516,7 @@
}
public String getHibernateVersion(){
- return "".equals(hibernateVersion.getText()) ? null :
hibernateVersion.getText();
+ return "".equals(hibernateVersion.getText()) ? null :
hibernateVersion.getText(); //$NON-NLS-1$
}
String getProjectName() {
Show replies by date