Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-05-13 17:41:09 -0400
committerTom Schindl2014-05-13 17:41:09 -0400
commita24d621c260aaa64e506300b0329936dd6f987d2 (patch)
treeac3fb43d0e339de7de772a824da713ba26be0342
parentc1a8ad18187505edc5411ecb2546ad53d575d0c4 (diff)
downloadorg.eclipse.efxclipse-a24d621c260aaa64e506300b0329936dd6f987d2.tar.gz
org.eclipse.efxclipse-a24d621c260aaa64e506300b0329936dd6f987d2.tar.xz
org.eclipse.efxclipse-a24d621c260aaa64e506300b0329936dd6f987d2.zip
Bug 434803 - Upgrade to jdt.annotation 2.0
-rwxr-xr-xbundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/E3ViewPartClassWizard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/E3ViewPartClassWizard.java b/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/E3ViewPartClassWizard.java
index 2aba5da64..e4c7134a6 100755
--- a/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/E3ViewPartClassWizard.java
+++ b/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/E3ViewPartClassWizard.java
@@ -41,7 +41,7 @@ public class E3ViewPartClassWizard extends AbstractNewClassWizard<JDTElement> {
IBundleProjectService bpService = Activator.getDefault().acquireService(IBundleProjectService.class);
IProject p = root.getJavaProject().getProject();
- if( p.hasNature("org.eclipse.pde.PluginNature") ) {
+ if( p.hasNature("org.eclipse.pde.PluginNature") && bpService != null ) {
IBundleProjectDescription bundleDesc = bpService.getDescription(p);
IRequiredBundleDescription requireDesc = bpService.newRequiredBundle("org.eclipse.fx.ui.workbench3", null, false, false);

Back to the top