org.eclipse.graphiti.palette.impl
Class AbstractPaletteToolEntry

java.lang.Object
  extended by org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
      extended by org.eclipse.graphiti.palette.impl.AbstractPaletteToolEntry
All Implemented Interfaces:
ICreationToolEntry, IPaletteEntry, IToolEntry
Direct Known Subclasses:
ConnectionCreationToolEntry, ObjectCreationToolEntry

public abstract class AbstractPaletteToolEntry
extends AbstractPaletteEntry
implements ICreationToolEntry

The Class AbstractPaletteToolEntry.


Field Summary
private  java.lang.String description
           
protected  java.util.List<IFeature> features
          The features.
private  java.lang.String largeIconId
           
 
Constructor Summary
AbstractPaletteToolEntry(java.lang.String label, java.lang.String description, java.lang.String iconId, java.lang.String largeIconId)
          Create a new AbstractPaletteToolEntry.
 
Method Summary
 java.lang.String getDescription()
          Gets the description.
 java.util.List<IFeature> getFeatures()
          Gets the features.
 java.lang.String getLargeIconId()
          Gets the large icon id.
private  void setLargeIconId(java.lang.String largeIconId)
          Sets the large icon id.
 
Methods inherited from class org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
getIconId, getLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.graphiti.palette.IPaletteEntry
getIconId, getLabel
 

Field Detail

features

protected java.util.List<IFeature> features
The features.


description

private java.lang.String description

largeIconId

private java.lang.String largeIconId
Constructor Detail

AbstractPaletteToolEntry

public AbstractPaletteToolEntry(java.lang.String label,
                                java.lang.String description,
                                java.lang.String iconId,
                                java.lang.String largeIconId)
Create a new AbstractPaletteToolEntry.

Parameters:
label - the label
description - the description
iconId - the icon id
largeIconId - the large icon id
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: ICreationToolEntry
Gets the description.

Specified by:
getDescription in interface ICreationToolEntry
Returns:
the description

getFeatures

public java.util.List<IFeature> getFeatures()
Gets the features.

Returns:
the features

getLargeIconId

public java.lang.String getLargeIconId()
Description copied from interface: ICreationToolEntry
Gets the large icon id.

Specified by:
getLargeIconId in interface ICreationToolEntry
Returns:
the large icon id

setLargeIconId

private void setLargeIconId(java.lang.String largeIconId)
Sets the large icon id.

Parameters:
largeIconId - the large icon id


Copyright (c) SAP AG 2005, 2010.