In UML, package import is defined as a directed relationship between an importing namespace and a package, the members of which are imported into that namespace. The visibility of a package import is either public or private. The predefined keywords are «import» for a public package import, and «access» for a private package import.
A package import is displayed as a dashed arrow with an open arrowhead aiming from the importing namespace towards the imported package.
Package import applies to an entire package, and all the model elements of the target package are imported into the source namespace. The source package can access subpackages of the target package to an infinitedepth. Also, the elements of imported package are accessible to the subpackages of the importing package as well.
Restricting type selection list to imported elements
To restrict the type selection list to imported elements
Create a package diagram.
Drag the package with typed elements, as well as packages with types, on the diagram pane.
Create a package import between them by clicking Package Import in the diagram palette.
To apply the filter
Click a typed element to open the Select Type dialog.
Apply the Filter By Package Import filter.
As a result, the type selection list is restricted to imported elements only.