1. In the Diagram editor, Select the EntryStation Class element.
2. Right-click the word Operations and choose Insert Operation from the pop-up menu. A one-line editor opens and displays the following information:
3. visibility returnType name(parameter) {properties, ...}
4. Type validateEntryStation and press Enter. The IDE creates a new operation.
top
(Optional) To Edit Attributes or Operations
When you double-click an attribute or an operation in a class, a combo box editor opens as shown in the following figure.