TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.uml2sd.ui.core
Class LifelineCategories

java.lang.Object
  extended byorg.eclipse.hyades.uml2sd.ui.core.LifelineCategories

public class LifelineCategories
extends java.lang.Object

LifelineCategories is used to assign additional description for lifelines of the same type. This consiste in providing a type name and an icon. The icon will be displayed in the rectangle which cantains the lifeline name. The category name is only display in the lifeline tooltip.


Field Summary
protected  IImage categoryImage
          The category image
protected  java.lang.String name
          The category name
 
Constructor Summary
LifelineCategories()
           
 
Method Summary
 IImage getImage()
          Returns the category icon
 java.lang.String getName()
          Returns the category name
 void setImage(IImage image)
          Set the category icon
 void setName(java.lang.String string)
          Set the category name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The category name


categoryImage

protected IImage categoryImage
The category image

Constructor Detail

LifelineCategories

public LifelineCategories()
Method Detail

getName

public java.lang.String getName()
Returns the category name

Returns:
the category name

setName

public void setName(java.lang.String string)
Set the category name

Parameters:
string - the name

getImage

public IImage getImage()
Returns the category icon

Returns:
the category icon

setImage

public void setImage(IImage image)
Set the category icon

Parameters:
image - the icon

TPTP 4.2.0 Platform Project
Public API Specification