Creating a System Model Diagram
UI and phone vendors can create the Symbian platform system model
representation, and extend it to include their components. This approach
enables UI and phone vendors to design their systems for a common platform.
The prerequisites of the tool to create a system model diagram are as
follows:
-
The system definition files containing system model information.
-
Adobe SVG Viewer version 3.03 or later, to view the system model
diagram. You can install it from
http://www.adobe.com/svg/viewer/install/.
To create a system model diagram, perform the following steps:
-
Select File > New > Project to create a new system
model project.
-
Select the System Model diagram wizard from the list of
wizards and click Next.
-
Type the project name, specify its
Location, and click Next. By default, the project is
created in the current workspace.
-
Click Add System Definition File to select a system
definition file.
-
Click Next to specify the optional configuration
information, or click Finish to create a system model diagram with
default configuration information.
-
Select each of following tabs to view or change the default
configuration.
-
Labels
tab is used to specify the labels for the system model diagram.
-
Resources tab is used to
specify the colors, patterns, and so on to be used to create the system model
diagram.
-
Model Control tab is used to control the level of system model information you
want to include in the diagram.
-
Filters
tab is used to specify the filter names of components, which you want to
include in the system model diagram.
-
Ignore List tab is used to specify the names of layers, blocks, subblocks,
collections, and components, which you want to exclude from the system model
diagram.
-
Build Options tab is used to specify the output filename.
-
Advanced Options tab is used to specify the commands line options to be
used by System Model Generator.
-
Click Finish to start the system model diagram creation
process.
Once the system model diagram is created, it is displayed using the Adobe
SVG Viewer plug-in, which provides options to zoom in, zoom out, and so on. For
more information on the options available, right-click the system model diagram
and select Help.
You can also print the diagram using one of the following options if the
system model diagram view is active:
Notes
-
If you are providing multiple system definition files as input,
information in the later system definition XML files override the information
in preceding XML files. For example, a component that is filtered out in a
system definition file at the top of the order may still be included in the
system model diagram if it is not filtered in the last system definition file.
-
SMM validates the system definition and resource files that you
specify to create a system model diagram. If any of the system definition and
resource file validation fails, it displays the errors in the
Problems view.
-
SMM provides an XML editor to edit the system definition and
resource XML files. To edit an XML file in XML editor, double-click the XML
file from Project Explorer.
-
You may choose not to include a layer, component, block or
sub-block in the system model diagram by adding them to the
Ignore List.
-
You can track the system model diagram generation process from the
System Model Manager Console Output. The errors are displayed on
the console view if the diagram generation is not successful. You may choose
the information to be displayed on the console output using the Build
Options in the System Model Manager Preferences dialog box.
-
You can make a copy of an existing system model project using the
cloning feature in Eclipse. To copy a project,
-
right-click the project directory in the Project
Explorer view and select Copy,
-
right-click again in the Project Explorer view and
select Paste,
-
change the default project name in the Copy
Project dialog and click OK.