Commit 5e706c5e authored by Simon Tenbusch's avatar Simon Tenbusch

[sequencechart] added new critical path show colors icon and updated colors for critical path icon

parent 943aa6e2
......@@ -157,6 +157,7 @@ public class SequenceChartContributor extends EditorActionBarContributor impleme
public final static String IMAGE_JUMP_TO_PREVIOUS_BOTTLENECK = TOOL_IMAGE_DIR + "previousbottleneck.png";
public final static String IMAGE_BOTTLENECK_PREFERENCES = TOOL_IMAGE_DIR + "bottleneckpreferences.png";
public final static String IMAGE_SHOW_CRITICAL_PATH = TOOL_IMAGE_DIR + "criticalpath.png";
public final static String IMAGE_SHOW_CRITICAL_PATH_COLORS = TOOL_IMAGE_DIR + "criticalpath_colors.png";
public final static String IMAGE_INCREASE_SPACING = TOOL_IMAGE_DIR + "incr_spacing.png";
public final static String IMAGE_DECREASE_SPACING = TOOL_IMAGE_DIR + "decr_spacing.png";
public final static String IMAGE_DENSE_AXES = TOOL_IMAGE_DIR + "denseaxes.png";
......@@ -949,7 +950,7 @@ public class SequenceChartContributor extends EditorActionBarContributor impleme
}
private SequenceChartAction createShowCriticalPathColorsAction() {
return new SequenceChartAction("Show Critical Path Colors", Action.AS_CHECK_BOX, SequenceChartPlugin.getImageDescriptor(IMAGE_SHOW_CRITICAL_PATH)) {
return new SequenceChartAction("Show Critical Path Colors", Action.AS_CHECK_BOX, SequenceChartPlugin.getImageDescriptor(IMAGE_SHOW_CRITICAL_PATH_COLORS)) {
@Override
protected void doRun() {
sequenceChart.setShowCriticalPathColors(!sequenceChart.getShowCriticalPathColors());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment