Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2012-02-23 18:40:12 -0500
committerTom Schindl2012-02-23 18:40:12 -0500
commita2afc05424a69508298c97051e71d385bfbb5b08 (patch)
tree00145219e2fa0c4dcc47d84832f98e657a6ca324
parent73878cb2a44652eef704103429a898c3a51b316b (diff)
downloadorg.eclipse.e4.tools-a2afc05424a69508298c97051e71d385bfbb5b08.tar.gz
org.eclipse.e4.tools-a2afc05424a69508298c97051e71d385bfbb5b08.tar.xz
org.eclipse.e4.tools-a2afc05424a69508298c97051e71d385bfbb5b08.zip
Bug 371989 - Fail to open e4 workbench Editor
-rw-r--r--bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/impl/ResourceService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/impl/ResourceService.java b/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/impl/ResourceService.java
index f74b4af0..b4c9c83d 100644
--- a/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/impl/ResourceService.java
+++ b/bundles/org.eclipse.e4.tools.services/src/org/eclipse/e4/tools/services/impl/ResourceService.java
@@ -79,7 +79,7 @@ public class ResourceService implements IResourceService {
}
}
- static class ResourcePool implements IDiposeableResourcePool {
+ public static class ResourcePool implements IDiposeableResourcePool {
private ResourceService resourceService;
private List<PooledResource<Image>> pooledImages = new ArrayList<PooledResource<Image>>();
@@ -88,9 +88,9 @@ public class ResourceService implements IResourceService {
private Display display;
@Inject
- public ResourcePool(ResourceService resourceService, Display display) {
+ public ResourcePool(IResourceService resourceService, Display display) {
this.display = display;
- this.resourceService = resourceService;
+ this.resourceService = (ResourceService) resourceService;
}
public Image getImage(String key) throws CoreException {

Back to the top