org.eclipse.gmf.runtime.lite.edit.parts.decorations
Class AbstractDecorationManager
java.lang.Object
org.eclipse.gmf.runtime.lite.edit.parts.decorations.AbstractDecorationManager
- All Implemented Interfaces:
- IDecorationManager
- Direct Known Subclasses:
- ConnectionDecorationManager, PaneDecorationManager
public abstract class AbstractDecorationManager
- extends Object
- implements IDecorationManager
- Author:
- bblajer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDecorationManager
public AbstractDecorationManager(org.eclipse.draw2d.IFigure decorationParent)
installDecoration
public void installDecoration(String key,
org.eclipse.draw2d.IFigure decoration)
- Description copied from interface:
IDecorationManager
- Installs the decoration with the given key.
- Specified by:
installDecoration
in interface IDecorationManager
getDecoration
public org.eclipse.draw2d.IFigure getDecoration(String key)
getDecorationParent
protected org.eclipse.draw2d.IFigure getDecorationParent()
getConstraint
protected abstract Object getConstraint(String key,
org.eclipse.draw2d.IFigure decoration)
- Returns the constraint with which the decoration will be added to the parent figure.
- Parameters:
key
- decoration
-
- Returns:
Copyright © 2012. All Rights Reserved.