5a48dc4524d62b0a309b4ac7a0523dadefe1c95a
1 /**********************************************************************
2 * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
12 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.core
;
14 import org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.drawings
.IImage
;
18 * LifelineCategories is used to assign additional description for
19 * lifelines of the same type. This consists in providing a type name and an icon.
20 * The icon will be displayed in the rectangle which contains the lifeline name.
21 * The category name is only display in the lifeline tooltip.
27 public class LifelineCategories
{
29 // ------------------------------------------------------------------------
31 // ------------------------------------------------------------------------
36 protected String fName
= null;
40 protected IImage fCategoryImage
= null;
42 // ------------------------------------------------------------------------
44 // ------------------------------------------------------------------------
47 * Returns the category name.
49 * @return the category name
51 public String
getName() {
56 * Sets the category name.
58 * @param string the name
60 public void setName(String string
) {
65 * Returns the category icon.
67 * @return the category icon
69 public IImage
getImage() {
70 return fCategoryImage
;
74 * Sets the category icon.
76 * @param image the icon
78 public void setImage(IImage image
) {
79 fCategoryImage
= image
;
This page took 0.031348 seconds and 5 git commands to generate.