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
The Class AbstractDecorator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the message to be shown as a tooltip for the decorator.void
setMessage
(String message) Sets the message to be shown as a tooltip for the decorator.
-
Constructor Details
-
AbstractDecorator
public AbstractDecorator()
-
-
Method Details
-
getMessage
Description copied from interface:IDecorator
Gets 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:
getMessage
in interfaceIDecorator
- Returns:
- the message
-
setMessage
Description copied from interface:IDecorator
Sets 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:
setMessage
in interfaceIDecorator
- Parameters:
message
- the new message
-