Sybase 7.5 Water System User Manual


 
Defining interfaces
38
The property sheet of the interface appears.
3 Type an interface name and an interface code.
4 Click OK.
A new interface is created in the Interfaces category.
Creating an interface from the list of interfaces
v To create an interface by inserting it in the list:
1 Select ModelInterfaces.
The list of interfaces appears.
Accessing the list of interfaces
The list of interfaces is accessible only from a diagram. If the current
diagram is of a package, the list contains all the interfaces that exist in
the package. If the current diagram is of the model, the list contains
all the interfaces that exist in the model.
2 Click a blank line in the list.
or
Click the Add a Row tool.
An arrow appears at the beginning of the line.
3 Type a name and code for the interface.
4 Select a stereotype from the Stereotype dropdown listbox.
5 Select a visibility from the Visibility dropdown listbox.
6 Click OK.
A symbol for this interface is inserted in the current model.
Creating an interface from a diagram
v To create an interface in a diagram:
1 Click the Interface tool in the palette toolbar.
2 Click anywhere in the interface diagram.