Add constraint in the diagram


This is only a EclipseUML 2008 feature which allows to add constraint and comment inside the class diagram.
You can use the Class Diagram Toolbar:


Select the Classifier > New > Constraint