Skip to content

Commit

Permalink
add new icons to repo, use them
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMayo committed Jul 3, 2017
1 parent f4ba0df commit 47be3e8
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
Binary file added info.limpet.ui/icons/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added info.limpet.ui/icons/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added info.limpet.ui/icons/24/Tabularview-24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added info.limpet.ui/icons/24/heatmap-24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added info.limpet.ui/icons/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added info.limpet.ui/icons/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions info.limpet.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@
allowMultiple="true"
category="info.limpet.ui"
class="info.limpet.ui.xy_plot.HeatmapView"
icon="icons/line-chart.png"
icon="icons/24/heatmap-24x24.png"
id="info.limpet.ui.HeatMapView"
name="Heatmap Plot">
</view>
<view
allowMultiple="true"
category="info.limpet.ui"
class="info.limpet.ui.xy_plot.TabularView"
icon="icons/line-chart.png"
icon="icons/24/Tabularview-24x24.png"
id="info.limpet.ui.TabularView"
name="Tabular view">
</view>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public class LimpetDecorator implements ILightweightLabelDecorator

private static final ImageDescriptor SINGLE;

private static final ImageDescriptor TWO_DIM;

private static final ImageDescriptor LEFT_ARROW;

private static final ImageDescriptor RIGHT_ARROW;
Expand Down Expand Up @@ -68,6 +70,9 @@ public class LimpetDecorator implements ILightweightLabelDecorator
SINGLE =
AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID,
"icons/singleton.png");
TWO_DIM =
AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID,
"icons/2.png");

// TODO: switch to better "dynamic/connected" icon.
DYNAMIC =
Expand Down Expand Up @@ -193,7 +198,7 @@ private void decorateDims(IDecoration decoration, int dims, int quadrant)
{
if (dims > 1)
{
decoration.addOverlay(TWO_WAY_ARROW, quadrant);
decoration.addOverlay(TWO_DIM, quadrant);
}
}

Expand Down

0 comments on commit 47be3e8

Please sign in to comment.