Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-05-24 11:47:19 -0400
committerTom Schindl2014-05-24 11:47:19 -0400
commit890624c4959e4a8bb25c259dd5d395f54e599356 (patch)
tree73fef0623dbac03c4bb602817696bc80fd136e7a /testcases
parent7d214fb69cbf28f03d7b643b950685e5427cd06f (diff)
downloadorg.eclipse.efxclipse-890624c4959e4a8bb25c259dd5d395f54e599356.tar.gz
org.eclipse.efxclipse-890624c4959e4a8bb25c259dd5d395f54e599356.tar.xz
org.eclipse.efxclipse-890624c4959e4a8bb25c259dd5d395f54e599356.zip
Bug 435366 - NPE in E4Application when
LifeCycleManager.@PostContextCreate returns False
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/plugin.xml4
-rw-r--r--testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ClosePerspectiveHandler.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/testcases/org.eclipse.fx.testcases.e4/plugin.xml b/testcases/org.eclipse.fx.testcases.e4/plugin.xml
index 8df62b628..a0b1462e6 100755
--- a/testcases/org.eclipse.fx.testcases.e4/plugin.xml
+++ b/testcases/org.eclipse.fx.testcases.e4/plugin.xml
@@ -19,6 +19,10 @@
value="org.eclipse.fx.testcases.e4/Application.e4xmi"
name="applicationXMI">
</property>
+ <property
+ name="lifeCycleURI"
+ value="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.lifecycle.ApplicationLifecycle">
+ </property>
</product>
</extension>
<extension
diff --git a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ClosePerspectiveHandler.java b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ClosePerspectiveHandler.java
index fce75d0ac..145503ada 100644
--- a/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ClosePerspectiveHandler.java
+++ b/testcases/org.eclipse.fx.testcases.e4/src/org/eclipse/fx/testcases/e4/handlers/ClosePerspectiveHandler.java
@@ -12,7 +12,7 @@ import org.eclipse.e4.ui.workbench.modeling.EModelService;
import org.eclipse.e4.ui.workbench.modeling.EPartService;
import org.eclipse.fx.ui.lifecycle.ELifecycleService;
import org.eclipse.fx.ui.lifecycle.annotations.PreClose;
-import org.eclipse.fx.ui.workbench.base.rendering.AbstractRenderer;
+import org.eclipse.fx.ui.workbench.base.rendering.ElementRenderer;
import org.eclipse.fx.ui.workbench.renderers.base.BaseRenderer;
public class ClosePerspectiveHandler {

Back to the top