org.eclipse.gmf.runtime.lite.edit.parts.decorations
Interface IDecorationManager

All Known Implementing Classes:
AbstractDecorationManager, ConnectionDecorationManager, PaneDecorationManager

public interface IDecorationManager

An object that may be decorated externally. Decorations may be installed for arbitrary String keys. Installing a decoration automatically replaces any previous decoration for the same key. Installing a null decoration is the same as uninstalling the decoration for the given key.

Clients should not implement this interface directly, AbstractDecorationManager class should be subclassed instead.

Author:
bblajer

Method Summary
 void installDecoration(String key, org.eclipse.draw2d.IFigure decoration)
          Installs the decoration with the given key.
 

Method Detail

installDecoration

void installDecoration(String key,
                       org.eclipse.draw2d.IFigure decoration)
Installs the decoration with the given key.

Parameters:
key -
decoration -


Copyright © 2012. All Rights Reserved.