Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
36
Добавлен:
16.04.2013
Размер:
3.34 Mб
Скачать

&KDSWHU 0DQDJLQJ 6KRUWFXWV

'LVSOD\LQJ VKRUWFXWV

Shortcuts can be displayed in a diagram window and in the Browser tree view.

8QGHUVWDQGLQJ WKH GLVSOD\ RI D VKRUWFXW V\PERO

In a diagram, the symbol of a shortcut is identical to the symbol of its target object. The shortcut symbol displays the name and the visible properties of the target object. The small icon in the lower left corner of the symbol indicates that the symbol is a shortcut.

The display of shortcut symbols can change according to the state of the target model:

7DUJHW PRGHO

'HVFULSWLRQ

'HIDXOW GLVSOD\ 6\PERO

Opened

Shortcut symbols displays

 

 

target object name, and

 

 

target object attributes

 

Closed

Simplified shortcut symbol

 

 

 

with name, identical size

 

 

but no attributes

 

 

 

 

General Features Guide

 

'LVSOD\LQJ VKRUWFXWV

0RGLI\LQJ WKH VKRUWFXW GLVSOD\ SUHIHUHQFHV

You can modify the following display preferences for a shortcut using the

ToolsDisplay Preferences command:

3UHIHUHQFH

'HVFULSWLRQ

Internal

Displays the shortcut icon on the internal shortcut symbols

Show icon

 

External

Displays the shortcut icon on the external shortcut symbols

Show icon

 

 

 

/RFDWLQJ VKRUWFXWV LQ WKH %URZVHU WUHH YLHZ

In the Browser tree view, shortcuts appear under the category of their target object. Shortcut nodes are sorted alphabetically, like any other object, in each object category.

You can modify the properties of a shortcut from the Browser tree view.

/RFDWLQJ WKH GHSHQGHQW REMHFWV RI D VKRUWFXW

Shortcuts can collaborate with other objects in a variety of ways.

From the Dependencies page of the shortcut property sheet, you can visualize with which objects the shortcut collaborates within the model.

This can be very useful to avoid deleting a shortcut whose deletion could seriously modify the design of your model.

ϖ7R ORFDWH WKH GHSHQGHQW REMHFWV RI D VKRUWFXW

1 Double-click the shortcut to display its property sheet. 2 Click the Dependencies tab.

 

PowerDesigner

&KDSWHU 0DQDJLQJ 6KRUWFXWV

The Dependencies page displays all the dependent objects of the shortcut.

'LVSOD\LQJ DOO WKH VKRUWFXWV RI D WDUJHW REMHFW

You can use the property sheet of a target object to display all its shortcuts throughout all the models opened in the workspace. You can thus, easily visualize in which models shortcuts of a target object are used.

ϖ7R GLVSOD\ DOO WKH VKRUWFXWV RI D WDUJHW REMHFW

1 Double-click the target object to display its property sheet. 2 Click the Dependencies tab.

3 Click the Shortcuts tab in the lower part of the Dependencies page.

General Features Guide

 

'LVSOD\LQJ VKRUWFXWV

The Dependencies page displays all the shortcuts of the target object throughout all the models opened in the workspace.

For more information on how to visualize external shortcuts of a target

object in closed model, see section Auditing repository activities in chapter Managing Repository Documents of the 5HSRVLWRU\ 8VHU V *XLGH.

'LVSOD\LQJ DOO WKH VKRUWFXWV RI DQ REMHFW W\SH

You can display all the shortcuts existing for a selected type of object in the current model or package using object lists.

ϖ7R GLVSOD\ DOO WKH VKRUWFXWV RI DQ REMHFW W\SH

1Select Model,WHP.

The corresponding list appears.

2Click the Customize Columns and Filter tool in the list toolbar, select the Class Name check box from the list of filter options that appears, and click OK.

3Click the Include Shortcuts tool.

 

PowerDesigner

&KDSWHU 0DQDJLQJ 6KRUWFXWV

All existing shortcuts of the selected object type appear grayed out in the list, as they cannot be modified in the current model or package. However you can double-click a shortcut in the list to display the shortcut property sheet.

'LVSOD\LQJ VKRUWFXWV RI DOO SDFNDJHV LQ DQ REMHFW W\SH OLVW

If both the Include Shortcuts and Include Sub-packages tools are enabled in the selected list, all the objects shortcuts of the current package and those of the sub-packages appear.

General Features Guide

 

:RUNLQJ ZLWK VKRUWFXWV

:RUNLQJ ZLWK VKRUWFXWV

You can access shortcuts using the List of Shortcuts that gathers all shortcuts existing in the model or package whatever the type of the target object.

8VLQJ WKH OLVW RI VKRUWFXWV

You can use the list of shortcuts to display the shortcuts existing in the current model or package.

This list allows you to:

Locate the shortcut and display its name, code and type

Display shortcuts contained in other packages and display the name and path of the package to which the target object belongs

Check the type and status of the target model (closed or opened) and display its name

Display the property sheet of a shortcut and modify the properties of the target object

Change the target object of a Not Found shortcut

Add objects from other packages as shortcuts

Select a type of generation for shortcuts (as object or as shortcut)

Delete a shortcut

&UHDWLQJ QHZ VKRUWFXWV

You cannot create new shortcuts from the list of shortcuts.

 

PowerDesigner

&KDSWHU 0DQDJLQJ 6KRUWFXWV

'LVSOD\LQJ WKH OLVW RI VKRUWFXWV

You can display the list of target objects from the list of shortcuts.

ϖ7R GLVSOD\ WKH OLVW RI VKRUWFXWV

Select ModelShortcuts. The list of shortcuts appears.

'LVSOD\LQJ VKRUWFXWV RI DOO SDFNDJHV LQ WKH /LVW RI 6KRUWFXWV

You can display the shortcuts of all packages by selecting the Include Sub-Packages tool.

'LVSOD\LQJ WKH SURSHUW\ VKHHW RI D VKRUWFXW

You can display the property sheet of a shortcut from the list of shortcuts. You can use this property sheet to open the property sheets of the target object, model or package.

ϖ7R GLVSOD\ WKH SURSHUW\ VKHHW RI D VKRUWFXW

1Select ModelShortcuts. The list of shortcuts appears.

2Select a shortcut in the list.

3Select the Properties tool.

General Features Guide

 

:RUNLQJ ZLWK VKRUWFXWV

The shortcut property sheet appears.

2SHQLQJ WKH SURSHUW\ VKHHW RI D VKRUWFXW IURP DQ REMHFW W\SH OLVW

You can also open the property sheet of a shortcut from an object type list by clicking the Include Shortcuts tool to display all the shortcuts of an object type then double-click a shortcut to open its property sheet.

&KDQJLQJ WKH WDUJHW REMHFW IURP WKH OLVW RI VKRUWFXWV

A shortcut can have a Not Found status when its target object cannot be found in the target model for the following reasons:

Target object was deleted

Target object was renamed by name and code

Target object was moved in another package whose code was changed

You can delete the shortcut or select another target object for the shortcut using the List of Shortcuts or the shortcut property sheet.

For more information on changing the target object from the shortcut property sheet, see section Changing the target object.

 

PowerDesigner

&KDSWHU 0DQDJLQJ 6KRUWFXWV

ϖ7R FKDQJH WKH WDUJHW REMHFW IURP WKH OLVW RI VKRUWFXWV

1Select ModelShortcuts. The list of shortcuts appears.

2Select a shortcut with a Not Found status in the list.

'LVSOD\ WKH FROXPQ \RX QHHG

If you do not see the column you need in the list, you can display it using the Customize Columns and Filter tool.

3Click the Change Target Object tool.

An object selection dialog box appears. It contains only objects of the same type as the previous target object.

4Browse to the model or package that contains the new target object.

5Select a new target object.

6Click OK.

7The new target object appears in the list of shortcuts. The shortcut status automatically changes to Opened.

8Click OK.

$GGLQJ REMHFWV IURP RWKHU SDFNDJHV DV VKRUWFXWV

You can add objects from other packages using the List of Shortcuts. Objects you add become shortcuts in your model or package.

General Features Guide

 

:RUNLQJ ZLWK VKRUWFXWV

ϖ7R DGG REMHFWV IURP RWKHU SDFNDJHV DV VKRUWFXWV

1Select ModelShortcuts. The list of shortcuts appears.

2Click the Add Shortcuts tool.

The Add Shortcuts dialog box appears.

3Select the model or package which contains the objects you want to add as shortcuts from the Model dropdown listbox.

4Select the objects to add as shortcuts from the object list in each object type page.

5Click OK.

For more information on adding objects from a selection list, see section Adding an item from a selection list in chapter Using the PowerDesigner Interface.

6HOHFWLQJ D W\SH RI JHQHUDWLRQ IRU D VKRUWFXW

You can choose how you want to generate external shortcuts during intermodel generation using the list of shortcuts.

 

PowerDesigner

Тут вы можете оставить комментарий к выбранному абзацу или сообщить об ошибке.

Оставленные комментарии видны всем.

Соседние файлы в папке PowerDesigner 9