Author: vyemialyanchyk
Date: 2009-06-16 10:08:25 -0400 (Tue, 16 Jun 2009)
New Revision: 15992
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4329 - HQL editor - menu items externalize
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-06-16
13:56:12 UTC (rev 15991)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-06-16
14:08:25 UTC (rev 15992)
@@ -327,6 +327,19 @@
public static String HQLEditorPreferencePage_keyword;
public static String HQLEditorPreferencePage_string_literal;
//
+ public static String HQLEditor_ContentAssistProposal_label;
+ public static String HQLEditor_ContentAssistProposal_tooltip;
+ public static String HQLEditor_ContentAssistProposal_image;
+ public static String HQLEditor_ContentAssistProposal_description;
+ public static String HQLEditor_ContentAssistTip_label;
+ public static String HQLEditor_ContentAssistTip_tooltip;
+ public static String HQLEditor_ContentAssistTip_image;
+ public static String HQLEditor_ContentAssistTip_description;
+ public static String HQLEditor_ContentFormat_label;
+ public static String HQLEditor_ContentFormat_tooltip;
+ public static String HQLEditor_ContentFormat_image;
+ public static String HQLEditor_ContentFormat_description;
+ //
public static String AddPropertyDialog_add_exporter_property;
public static String AddPropertyDialog_add_property_to;
public static String AddPropertyDialog_edit_exporter_property;
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-06-16
13:56:12 UTC (rev 15991)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-06-16
14:08:25 UTC (rev 15992)
@@ -322,6 +322,19 @@
HQLEditorPreferencePage_keyword=Keyword:
HQLEditorPreferencePage_string_literal=String literal:
+HQLEditor_ContentAssistProposal_label=Hibernate Proposals
+HQLEditor_ContentAssistProposal_tooltip=Hibernate Proposals
+HQLEditor_ContentAssistProposal_image=
+HQLEditor_ContentAssistProposal_description=Hibernate Proposals
+HQLEditor_ContentAssistTip_label=Context Information
+HQLEditor_ContentAssistTip_tooltip=Context Information
+HQLEditor_ContentAssistTip_image=
+HQLEditor_ContentAssistTip_description=Context Information
+HQLEditor_ContentFormat_label=Format
+HQLEditor_ContentFormat_tooltip=Format
+HQLEditor_ContentFormat_image=
+HQLEditor_ContentFormat_description=Format
+
AddPropertyDialog_add_exporter_property=Add exporter property
AddPropertyDialog_add_property_to=Add property to
AddPropertyDialog_edit_exporter_property=Edit exporter property
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java 2009-06-16
13:56:12 UTC (rev 15991)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/hqleditor/HQLEditor.java 2009-06-16
14:08:25 UTC (rev 15992)
@@ -97,15 +97,15 @@
ResourceBundle bundle = getResourceBundle();
IAction a = new TextOperationAction( bundle,
- "ContentAssistProposal.", this,
ISourceViewer.CONTENTASSIST_PROPOSALS ); //$NON-NLS-1$
+ "HQLEditor_ContentAssistProposal_", this,
ISourceViewer.CONTENTASSIST_PROPOSALS ); //$NON-NLS-1$
a.setActionDefinitionId( ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS );
setAction( "ContentAssistProposal", a ); //$NON-NLS-1$
- a = new TextOperationAction( bundle, "ContentAssistTip.", this,
ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION ); //$NON-NLS-1$
+ a = new TextOperationAction( bundle, "HQLEditor_ContentAssistTip_", this,
ISourceViewer.CONTENTASSIST_CONTEXT_INFORMATION ); //$NON-NLS-1$
a.setActionDefinitionId(
ITextEditorActionDefinitionIds.CONTENT_ASSIST_CONTEXT_INFORMATION );
setAction( "ContentAssistTip", a ); //$NON-NLS-1$
- a = new TextOperationAction( bundle, "ContentFormat.", this,
ISourceViewer.FORMAT ); //$NON-NLS-1$
+ a = new TextOperationAction( bundle, "HQLEditor_ContentFormat_", this,
ISourceViewer.FORMAT ); //$NON-NLS-1$
setAction( "ContentFormat", a ); //$NON-NLS-1$
/*a = new HQLConnectAction( bundle, "HQLEditor.connectAction." );
//$NON-NLS-1$
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2009-06-16
13:56:12 UTC (rev 15991)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.xml 2009-06-16
14:08:25 UTC (rev 15992)
@@ -14,7 +14,7 @@
</extension>
<extension
id="org.hibernate.eclipse.jdt.ui.completioncategory"
- name="Hibernate proposals"
+ name="Hibernate Proposals"
point="org.eclipse.jdt.ui.javaCompletionProposalComputer">
<javaCompletionProposalComputer
activate="true"