sysperfana/memspyext/com.nokia.s60tools.swmtanalyser/src/com/nokia/s60tools/swmtanalyser/analysers/AnalyserConstants.java
changeset 7 8e12a575a9b5
equal deleted inserted replaced
6:f65f740e69f9 7:8e12a575a9b5
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */ 
       
    17 package com.nokia.s60tools.swmtanalyser.analysers;
       
    18 
       
    19 import org.eclipse.swt.graphics.Color;
       
    20 import org.eclipse.swt.widgets.Display;
       
    21 
       
    22 /**
       
    23  * Constants for general Analyser purposes
       
    24  */
       
    25 public class AnalyserConstants {
       
    26 
       
    27 	/**
       
    28 	 * Priority types
       
    29 	 */
       
    30 	public static enum Priority {NEGLIGIBLE,NORMAL,HIGH,CRITICAL}
       
    31 	/**
       
    32 	 * Delta types
       
    33 	 */
       
    34 	public static enum DeltaType {SIZE, COUNT}
       
    35 	/**
       
    36 	 * Color for Severity Normal
       
    37 	 */
       
    38 	public static final Color COLOR_SEVERITY_NORMAL = new Color(Display.getCurrent(),121,255,121);//Green
       
    39 	/**
       
    40 	 * Color for Severity High
       
    41 	 */
       
    42 	public static final Color COLOR_SEVERITY_HIGH = new Color(Display.getCurrent(),255,255,138);//Yellow
       
    43 	/**
       
    44 	 * Color for Severity Critical
       
    45 	 */
       
    46 	public static final Color COLOR_SEVERITY_CRITICAL = new Color(Display.getCurrent(),254,106,99);//Red
       
    47 
       
    48 }