]> gerrit.simantics Code Review - simantics/sysdyn.git/blob
1aef4422a30d7943ad98b15fe55681d6fbc7cdd0
[simantics/sysdyn.git] /
1 package org.simantics.sysdyn.ui.browser.contributions;\r
2 \r
3 import org.eclipse.jface.resource.ImageDescriptor;\r
4 import org.simantics.browsing.ui.swt.ImagerContributor;\r
5 import org.simantics.db.ReadGraph;\r
6 import org.simantics.db.exception.DatabaseException;\r
7 import org.simantics.sysdyn.ui.Activator;\r
8 import org.simantics.sysdyn.ui.browser.nodes.SimulationResultNode;\r
9 \r
10 public class SimulationResultImager extends ImagerContributor<SimulationResultNode>{\r
11 \r
12     @Override\r
13     public ImageDescriptor getDescriptor(ReadGraph graph, SimulationResultNode input) throws DatabaseException {\r
14         return ImageDescriptor.createFromURL(Activator.getDefault().getBundle().getResource("icons/chart_bar.png"));\r
15     }\r
16 \r
17 }\r