Skip to content
Snippets Groups Projects
Commit ef351add authored by Florian Hölzl's avatar Florian Hölzl
Browse files

added fatal_overlay.png and adjusted marker service

refs 441
parent a03e6e8b
No related branches found
No related tags found
No related merge requests found
org.fortiss.tooling.kernel.ui/trunk/icons/fatal_overlay.png

1.07 KiB

......@@ -27,10 +27,13 @@ import org.eclipse.swt.graphics.Image;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 2F45B07DB4FEDB2C91BA48C8D2D55B01
* @ConQAT.Rating YELLOW Hash: 75762D72DE606F0E08B401EC0F9EED8C
*/
public enum ESharedImages {
/** Fatal overlay icon. */
FATAL_OVERLAY,
/** Error overlay icon. */
ERROR_OVERLAY,
......
......@@ -55,7 +55,7 @@ import org.fortiss.tooling.kernel.ui.service.IMarkerService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: 1ACE010B0F034EB9A8CA753A39EA0301
* @ConQAT.Rating YELLOW Hash: BD8AB2A7EDA9DB684707242CAC441F6F
*/
public class MarkerService implements IMarkerService,
IPersistencyServiceListener, ILightweightLabelDecorator {
......@@ -216,7 +216,9 @@ public class MarkerService implements IMarkerService,
// use preferences settings here
switch (highest) {
case FATAL:
// fatal uses error icon
decoration.addOverlay(ESharedImages.FATAL_OVERLAY
.getImageDescriptor());
break;
case ERROR:
decoration.addOverlay(ESharedImages.ERROR_OVERLAY
.getImageDescriptor());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment