Set Up Technology Element Images

This topic outlines how to capture images to represent MDG Technology elements, so that the images are displayed on a diagram a user creates through the technology when it is deployed in the user's model.

The process is described below; however, note that you would probably work backwards and forwards through the steps many times, adding objects as you identify the need for them.

  1. Import suitable images into the MDG Technology development model from various sources, using the Add New button on the Image Manager.
  2. Design and create a Stereotype (UML) Profile containing (if appropriate) a stereotype definition for each element or connector to be owned by the technology. These stereotype definitions can contain Shape Scripts that in turn incorporate the imported images.
  3. Design and create a Toolbox Profile with stereotype elements that contain an attribute for each element or connector that can be dropped onto a diagram from the toolbox. These attributes identify the name of the technology element or connector, any modifying stereotype (which might incorporate the required image) and the UML or Extended element or connector on which the technology object is based. For example: SysML:: Block(UML::Class), where SysML is the Technology Profile, UML::Class is the UML element used as the base, and Block is the stereotype that modifies the Class to turn it into a SysML Block element.
  4. Design and create a Diagram Profile that identifies the Toolbox Profile. When a diagram of the type defined in the Diagram Profile is opened, it in turn opens a set of toolbox pages as defined by the Toolbox Profile.
  5. Create or update the technology as required, adding the Stereotype Profile, Diagram Profile, Toolbox Profile and Image files to the technology from the development model.
  6. Deploy the technology as appropriate. When a user applies the technology to their own model, and creates a diagram under that technology, the elements they create on the diagram should be represented by the images you assigned to those elements when you created the technology.