Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornhauge2010-07-27 16:06:36 -0400
committernhauge2010-07-27 16:06:36 -0400
commit2b49cf5f224299066a2ad7af98ee4e93156f826e (patch)
tree8990a0324a9360fe99d592bc7ae47f29ffa8aa07
parenteb4a0df997a627935c331805cad7ce38c7a8d268 (diff)
downloadwebtools.dali-R2_0_5_patches.tar.gz
webtools.dali-R2_0_5_patches.tar.xz
webtools.dali-R2_0_5_patches.zip
[320972] - Backport fix for validate edit support to 2.0.x stream.R2_0_5_patches
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/META-INF/MANIFEST.MF2
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/base/EntitiesGenerator.java5
2 files changed, 5 insertions, 2 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/META-INF/MANIFEST.MF b/jpa/plugins/org.eclipse.jpt.ui/META-INF/MANIFEST.MF
index 5ee940e08f..279c7b6c70 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/META-INF/MANIFEST.MF
+++ b/jpa/plugins/org.eclipse.jpt.ui/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.jpt.ui;singleton:=true
-Bundle-Version: 2.0.102.qualifier
+Bundle-Version: 2.0.103.qualifier
Bundle-Activator: org.eclipse.jpt.ui.JptUiPlugin
Bundle-ClassPath: .
Bundle-Localization: plugin
diff --git a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/base/EntitiesGenerator.java b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/base/EntitiesGenerator.java
index 6d27bdd58c..b1681554f5 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/base/EntitiesGenerator.java
+++ b/jpa/plugins/org.eclipse.jpt.ui/src/org/eclipse/jpt/ui/internal/platform/base/EntitiesGenerator.java
@@ -11,6 +11,8 @@ package org.eclipse.jpt.ui.internal.platform.base;
import java.util.Collection;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResourceRuleFactory;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.resources.WorkspaceJob;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -125,7 +127,8 @@ public class EntitiesGenerator
this.entityConfig = entityConfig;
this.selectedTables = selectedTables;
this.overwriteConfirmer = overwriteConfirmer;
- setRule(packageConfig.getPackageFragment().getJavaProject().getProject());
+ IResourceRuleFactory ruleFactory = ResourcesPlugin.getWorkspace().getRuleFactory();
+ this.setRule(ruleFactory.modifyRule(packageConfig.getPackageFragment().getJavaProject().getProject()));
}
@Override

Back to the top