Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa
diff options
context:
space:
mode:
authornhauge2007-05-10 16:20:15 +0000
committernhauge2007-05-10 16:20:15 +0000
commite7b65230a37d96374a062c3e69828b543fb0677b (patch)
tree93508e095d60186f81fa31e9e58f7ab665ec8bc2 /jpa
parentedddd4c7a6b977384dca23d886de1a7120988218 (diff)
downloadwebtools.dali-e7b65230a37d96374a062c3e69828b543fb0677b.tar.gz
webtools.dali-e7b65230a37d96374a062c3e69828b543fb0677b.tar.xz
webtools.dali-e7b65230a37d96374a062c3e69828b543fb0677b.zip
Changed DDL Gen dialog to info type, updated text.
Diffstat (limited to 'jpa')
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/property_files/jpt_ui.properties4
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/JptUiMessages.java4
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/generic/GenericPlatformUi.java6
3 files changed, 7 insertions, 7 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/property_files/jpt_ui.properties b/jpa/plugins/org.eclipse.jpt.ui/property_files/jpt_ui.properties
index 902c5673a6..f528686431 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/property_files/jpt_ui.properties
+++ b/jpa/plugins/org.eclipse.jpt.ui/property_files/jpt_ui.properties
@@ -36,8 +36,8 @@ GenerateEntitiesWizardPage_generateEntities=Generate Entities from Tables
GenerateEntitiesWizardPage_synchronizeClasses=Synchronize Classes in persistence.xml
GenerateEntitiesWizardPage_tables=Tables:
-GenericPlatformUiDialog_warningTitle=Warning
-GenericPlatformUiDialog_warningText=DLL Generation not supported
+GenericPlatformUiDialog_notSupportedMessageTitle=DDL Generation
+GenericPlatformUiDialog_notSupportedMessageText=DLL Generation is not supported by the Generic Platform.
JpaPreferencePage_defaultJpaLib=Default JPA implementation library:
JpaPreferencePage_userLibsLink=<a>Configure user libraries ...</a>
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/JptUiMessages.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/JptUiMessages.java
index e140204973..b3a3f2a9bc 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/JptUiMessages.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/JptUiMessages.java
@@ -78,9 +78,9 @@ public class JptUiMessages extends NLS
public static String GenerateEntitiesWizardPage_tables;
- public static String GenericPlatformUiDialog_warningTitle;
+ public static String GenericPlatformUiDialog_notSupportedMessageTitle;
- public static String GenericPlatformUiDialog_warningText;
+ public static String GenericPlatformUiDialog_notSupportedMessageText;
public static String JpaPreferencePage_defaultJpaLib;
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/generic/GenericPlatformUi.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/generic/GenericPlatformUi.java
index 0be9cd7e3f..c2212be5ca 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/generic/GenericPlatformUi.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/generic/GenericPlatformUi.java
@@ -26,13 +26,13 @@ public class GenericPlatformUi extends BaseJpaPlatformUi
}
public void generateDLL(IJpaProject project, IStructuredSelection selection) {
- this.displayWarning(JptUiMessages.GenericPlatformUiDialog_warningTitle, JptUiMessages.GenericPlatformUiDialog_warningText);
+ this.displayNotSupportedMessage(JptUiMessages.GenericPlatformUiDialog_notSupportedMessageTitle, JptUiMessages.GenericPlatformUiDialog_notSupportedMessageText);
}
- protected void displayWarning(String title, String message) {
+ protected void displayNotSupportedMessage(String title, String message) {
String formattedMessage = MessageFormat.format( message, (Object [])(new String [] { message}));
Shell currentShell = Display.getCurrent().getActiveShell();
- MessageDialog.openWarning(currentShell, title, formattedMessage);
+ MessageDialog.openInformation(currentShell, title, formattedMessage);
}
}

Back to the top