sysperfana/memspyext/com.nokia.s60tools.swmtanalyser/src/com/nokia/s60tools/swmtanalyser/editors/TableViewerInputObject.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.editors;
       
    18 
       
    19 import org.eclipse.swt.graphics.Color;
       
    20 
       
    21 /**
       
    22  * Input object for 4 tables in events tab 
       
    23  *
       
    24  */
       
    25 public class TableViewerInputObject {
       
    26 	private Color color;
       
    27 	private String name;
       
    28 	
       
    29 	/**
       
    30 	 * Constructor
       
    31 	 * @param name
       
    32 	 * @param color
       
    33 	 */
       
    34 	public TableViewerInputObject(String name, Color color) {
       
    35 		this.color = color;
       
    36 		this.name = name;
       
    37 	}
       
    38 	/**
       
    39 	 * Get color
       
    40 	 * @return color
       
    41 	 */
       
    42 	public Color getColor() {
       
    43 		return color;
       
    44 	}
       
    45 	/**
       
    46 	 * Set color
       
    47 	 * @param color
       
    48 	 */
       
    49 	public void setColor(Color color) {
       
    50 		this.color = color;
       
    51 	}
       
    52 	/**
       
    53 	 * Get name
       
    54 	 * @return name
       
    55 	 */
       
    56 	public String getName() {
       
    57 		return name;
       
    58 	}
       
    59 	/**
       
    60 	 * Set name
       
    61 	 * @param name
       
    62 	 */
       
    63 	public void setName(String name) {
       
    64 		this.name = name;
       
    65 	}
       
    66 }