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