This section is intended to be a sort of FAQ for commonly-needed customizations. Each topic in the section provides task-oriented specifics on how to do the specific configuration modification. Here is a summary of the topics in the section.
|
Topic Title |
Description |
|
How to make Association links display a directional arrow; how to specify Association type (e.g. Aggregation, Composition) |
|
|
How to change the text of the default source file header (prologue) for generated code |
|
|
How to customize the default definitions for C++ source and header files, configure default library support, and more. |
|
|
How to work with the source code and text templates. |
|
|
Templates are now in place instead of the blueprints. |
|
|
Populate stereotype lists, modify default stereotype values, and specify RGB color values for stereotypes, etc. |
|
|
Modify the property names and/or default values in properties Inspectors, add your own properties, or delete properties you don't want. |
|
|
How to set options to hide specific types of diagram elements from view . |
|
|
How to set options to control the formatting of your source code. |
|
|
How to create and modify external tool definitions that create menu commands enabling you to launch or interact with your development tools and environment. |
|
|
How to set up Together and projects to interact with version control. |
See Guide to the Options pages for additional information on the Options dialog customization facilities.
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select theDiagram tab.
Expand the Associations node.
Set the value of Draw directed as desired.
All - all links will be
shown directed.
No - all
links will be shown undirected.
Automatic - links represented by the attributes whose names start with "lnk", will be shown directed. All other links will be shown undirected.
Click OK.
This option applies only to Association links whose "directed" property in the link Inspector is set to "Automatic". If it is set to "Directed" or "Undirected" then the link will be always display according to that setting, regardless of the value set for this option.
Tip: You can also set Show as attributes so that attributes that are displayed as links show in the attributes section of classes.
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select the Source
Code tab.
Expand the appropriate language node and open
Formatting options.
Expand Default Prologue/Epilogue node.
Edit the default text to whatever you want. For example: "Generated for XYZ. Corp. Copyright (c)1999. Company confidential."
This features allows to significantly speed up the coding process and avoid misspellings. See Defining Source Code Templates in the Editor section of the User Guide.
Blueprints are replaced with Templates. Select Directory tab of the Explorer to see the list of available templates. See Using Code Templates.
Customizing stereotypes is a low-level configuration task and requires Java programming. See Advanced Customization: Customizing Property Inspectors for more information.
Customizing inspector properties is a low-level configuration task and requires Java programming. See Advanced Customization: Customizing Property Inspectors for more information.
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select the View
Management page.
Expand the Show node.
To hide the elements defined by one of the options (Inheritance links, for example), clear the option checkbox. To re-show elided elements, check the option box.
For more information see Vew Management 'Show' options
Note that individual elements can be hidden in diagrams using the Diagram speedmenu. If you don't see an element in a diagram, and the element is not hidden by View Management options, choose Show Hidden from the Diagram speedmenu and check the hidden elements list.
You can define filtering expressions for the User-Defined options under the Show options of View Management page. Study the expressions in the pre-defined Show options to see how you can show or hide different elements.
The other options on the View Management page of the Options dialog may hide some kinds of information. For example, Diagram Detail Level can hide visibility symbols.
To customize source code formatting options:
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select the Source
Code page.
Expand the node for Formatting Options and set sub-options as desired.
To customize the compiler, external editor, or debugger definition:
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select the Tools
page.
Expand the node of the tool definition you want to
edit (e.g. Compiler).
If you want to change the text that appears on the
menus that launch the tool, edit the tool name field.
If you want to
change the command that launches the tool (specify a different
compiler, for example), edit the Command field. Specify any
command-line parameters in the the Parameters field.
If you want to
change which menu(s) in which the the tool command appears, expand
the Show in menu
node and check the desired menus.
Modify other options for the tool as necessary. Refer to the in-dialog Help texts for information about each option.
Together comes pre-configured for the CVS version control system (automatically installed) and version control support is enabled in the system by default. If you already use a SCC-compliant version control, you can change your configuration to use that system.
Version control is not automatically enabled for projects... you need to enable it and specify the version control system project to use when you create the Together project (or later in Project Properties).
To enable or disable version control integration support:
Launch the Options dialog.
Use Advanced to select the configuration
level if necessary
Select the Version
control page.
Check or clear the Enable version control checkbox.
To enable version control for a project:
Click Advanced in the New Project
dialog (if creating a new project) or the Project Properties dialog
(for an existing project).
Check the Version
control project box to
enable version control.
Click Select. Select the source control project in the currently configured version control system (CVS or your SCC-compliant system).
For more information, including what Together files to place under version control, see User's Guide: Using Together with a Version Control System.