Package org.eclipse.graphiti.tb
Class AbstractDecorator
- java.lang.Object
-
- org.eclipse.graphiti.tb.AbstractDecorator
-
- All Implemented Interfaces:
IDecorator
- Direct Known Subclasses:
BorderDecorator,ColorDecorator,ImageDecorator,TextDecorator
public abstract class AbstractDecorator extends java.lang.Object implements IDecorator
The Class AbstractDecorator.
-
-
Constructor Summary
Constructors Constructor Description AbstractDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()Gets the message to be shown as a tooltip for the decorator.voidsetMessage(java.lang.String message)Sets the message to be shown as a tooltip for the decorator.
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Description copied from interface:IDecoratorGets the message to be shown as a tooltip for the decorator. This can e.g. be an error message stating why the shape is marked.- Specified by:
getMessagein interfaceIDecorator- Returns:
- the message
-
setMessage
public void setMessage(java.lang.String message)
Description copied from interface:IDecoratorSets the message to be shown as a tooltip for the decorator. This can e.g. be an error message stating why the shape is marked.- Specified by:
setMessagein interfaceIDecorator- Parameters:
message- the new message
-
-