
СУБД Oracle / Литература / PowerDesigner 9 / GeneralFeatures
.pdf
Sybase®
PowerDesigner®
General Features Guide
Version 9.5.1 38093-01-0951-01 Last modified: December 2002
Copyright © 2002 Sybase, Inc. All rights reserved.
Information in this manual may change without notice and does not represent a commitment on the part of Sybase, Inc. and its subsidiaries.
Sybase, Inc. provides the software described in this manual under a Sybase License Agreement. The software may be used only in accordance with the terms of the agreement.
No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Sybase, Inc.
Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.
Sybase, SYBASE (logo), AccelaTrade, ADA Workbench, Adaptable Windowing Environment, Adaptive Component Architecture, Adaptive Server, Adaptive Server Anywhere, Adaptive Server Enterprise, Adaptive Server Enterprise Monitor, Adaptive Server Enterprise Replication, Adaptive Server Everywhere, Adaptive Server IQ, Adaptive Warehouse, AnswerBase, Anywhere Studio, Application Manager, AppModeler, APT Workbench, APT-Build, APTEdit, APT-Execute, APT-Translator, APT-Library, ASEP, Backup Server, BayCam, Bit-Wise, BizTracker, Certified PowerBuilder Developer, Certified SYBASE Professional, Certified SYBASE Professional Logo, ClearConnect, Client-Library, Client Services, CodeBank, Column Design, ComponentPack, Connection Manager, Convoy/DM, Copernicus, CSP, Data Pipeline, Data Workbench, DataArchitect, Database Analyzer, DataExpress, DataServer, DataWindow, DB-Library, dbQueue, Developers Workbench, Direct Connect Anywhere, DirectConnect, Distribution Director, e-ADK, E-Anywhere, e-Biz Integrator, E-Whatever, EC-GATEWAY, ECMAP, ECRTP, eFulfillment Accelerator, Electronic Case Management, Embedded SQL, EMS, Enterprise Application Studio, Enterprise Client/Server, Enterprise Connect, Enterprise Data Studio, Enterprise Manager, Enterprise SQL Server Manager, Enterprise Work Architecture, Enterprise Work Designer, Enterprise Work Modeler, eProcurement Accelerator, eremote, Everything Works Better When Everything Works Together, EWA, Financial Fusion, Financial Fusion Server, Formula One, Gateway Manager, GeoPoint, iAnywhere, iAnywhere Solutions, ImpactNow, Industry Warehouse Studio, InfoMaker, Information Anywhere, Information Everywhere, InformationConnect, InstaHelp, InternetBuilder, iremote, iScript, Jaguar CTS, jConnect for JDBC, KnowledgeBase, Logical Memory Manager, MainframeConnect, Maintenance Express, Manage Anywhere Studio, MAP, MDI Access Server, MDI Database Gateway, media.splash, MetaWorks, MethodSet, ML Query, MobiCATS, MySupport, Net-Gateway, Net-Library, New Era of Networks, Next Generation Learning, Next Generation Learning Studio, O DEVICE, OASiS, OASiS logo, ObjectConnect, ObjectCycle, OmniConnect, OmniSQL Access Module, OmniSQL Toolkit, Open Biz, Open Business Interchange, Open Client, Open ClientConnect, Open Client/Server, Open Client/Server Interfaces, Open Gateway, Open Server, Open ServerConnect, Open Solutions, Optima++, Partnerships that Work, PB-Gen, PC APT Execute, PC DB-Net, PC Net Library, PhysicalArchitect, Pocket PowerBuilder, PocketBuilder, Power++, Power Through Knowledge, power.stop, PowerAMC, PowerBuilder, PowerBuilder Foundation Class Library, PowerDesigner, PowerDimensions, PowerDynamo, Powering the New Economy, PowerJ, PowerScript, PowerSite, PowerSocket, Powersoft, PowerStage, PowerStudio, PowerTips, Powersoft Portfolio, Powersoft Professional, PowerWare Desktop, PowerWare Enterprise, ProcessAnalyst, Rapport, Relational Beans, Report Workbench, Report-Execute, Replication Agent, Replication Driver, Replication Server, Replication Server Manager, Replication Toolkit, Resource Manager, RW-DisplayLib, RW-Library, SAFE, SAFE/PRO, SDF, Secure SQL Server, Secure SQL Toolset, Security Guardian, SKILS, smart.partners, smart.parts, smart.script, SQL Advantage, SQL Anywhere, SQL Anywhere Studio, SQL Code Checker, SQL Debug, SQL Edit, SQL Edit/TPU, SQL Everywhere, SQL Modeler, SQL Remote, SQL Server, SQL Server Manager, SQL SMART, SQL Toolset, SQL Server/CFT, SQL Server/DBM, SQL Server SNMP SubAgent, SQL Station, SQLJ, Stage III Engineering, Startup.Com, STEP, SupportNow, S.W.I.F.T. Message Format Libraries, Sybase Central, Sybase Client/Server Interfaces, Sybase Development Framework, Sybase Financial Server, Sybase Gateways, Sybase Learning Connection, Sybase MPP, Sybase SQL Desktop, Sybase SQL Lifecycle, Sybase SQL Workgroup, Sybase Synergy Program, Sybase Virtual Server Architecture, Sybase User Workbench, SybaseWare, Syber Financial, SyberAssist, SybMD, SyBooks, System 10, System 11, System XI (logo), SystemTools, Tabular Data Stream, The Enterprise Client/Server Company, The Extensible Software Platform, The Future Is Wide Open, The Learning Connection, The Model For Client/Server Solutions, The Online Information Center, The Power of One, TradeForce, Transact-SQL, Translation Toolkit, Turning Imagination Into Reality, UltraLite, UNIBOM, Unilib, Uninull, Unisep, Unistring, URK Runtime Kit for UniCode, Versacore, Viewer, VisualWriter, VQL, WarehouseArchitect, Warehouse Control Center, Warehouse Studio, Warehouse WORKS, Watcom, Watcom SQL, Watcom SQL Server, Web Deployment Kit, Web.PB, Web.SQL, WebSights, WebViewer, WorkGroup SQL Server, XA-Library, XA-Server and XP Server are trademarks of Sybase, Inc. or its subsidiaries.
All other trademarks are property of their respective owners.
&RQWHQWV
$ERXW 7KLV %RRN |
[LLL |
|
3$57 21( |
*8, *XLGH |
|
|
3RZHU'HVLJQHU %DVLF &RQFHSWV |
|
|
PowerDesigner interface........................................................... |
4 |
|
Main Window components ................................................. |
4 |
|
PowerDesigner modeling environment ..................................... |
7 |
|
PowerDesigner resources....................................................... |
10 |
|
8VLQJ WKH 3RZHU'HVLJQHU ,QWHUIDFH |
|
|
Managing windows.................................................................. |
14 |
|
Understanding the main window organization.................. |
14 |
|
Docking windows.............................................................. |
15 |
|
Disabling the docking feature ........................................... |
15 |
|
Hiding docking windows ................................................... |
16 |
|
Restoring a docking window............................................. |
16 |
|
Managing toolbars .................................................................. |
17 |
|
Creating a toolbar ............................................................. |
17 |
|
Customizing a toolbar....................................................... |
20 |
|
Restoring the default settings of a toolbar........................ |
21 |
|
Moving a toolbar............................................................... |
22 |
|
Hiding and showing a toolbar ........................................... |
23 |
|
Deleting a toolbar ............................................................. |
23 |
|
Using the Palette .............................................................. |
24 |
|
Using property sheets ............................................................. |
28 |
|
Displaying a property sheet .............................................. |
28 |
|
Customizing a property sheet........................................... |
30 |
|
Displaying parent object property sheet ........................... |
32 |
|
Inserting properties in the General page .......................... |
32 |
|
Applying a business rule to an object ............................... |
33 |
|
Displaying object notes..................................................... |
34 |
General Features Guide |
|
LLL |
|
Displaying object dependencies....................................... |
34 |
|
Using extended dependencies ......................................... |
36 |
|
Displaying version information ......................................... |
39 |
|
Validating changes in a property sheet ............................ |
40 |
|
Closing a property sheet................................................... |
41 |
|
Finding text using regular expressions............................. |
41 |
|
Using lists................................................................................ |
43 |
|
Displaying a list from the Model menu ............................. |
43 |
|
Displaying a list from a property sheet ............................. |
44 |
|
Understanding the list tools .............................................. |
46 |
|
Adding items at the end of a list ....................................... |
47 |
|
Inserting an item in an ordered list ................................... |
48 |
|
Adding a link object in a list .............................................. |
49 |
|
Adding an item from a selection list ................................. |
50 |
|
Selecting an item from a selection tree ............................ |
53 |
|
Finding a row in a list........................................................ |
54 |
|
Selecting all list items ....................................................... |
54 |
|
Arranging items on an ordered list ................................... |
56 |
|
Changing cursor position on a list .................................... |
57 |
|
Defining a filter on a list .................................................... |
57 |
|
Modifying properties on a list............................................ |
60 |
|
Validating changes in a list............................................... |
61 |
|
Closing a list ..................................................................... |
61 |
|
Defining global options............................................................ |
62 |
|
Defining general options................................................... |
62 |
|
Defining dialog box behavior ............................................ |
67 |
|
Defining a text editor ........................................................ |
74 |
|
Defining environment variables ........................................ |
76 |
|
Defining named paths ...................................................... |
78 |
|
Defining a default font ...................................................... |
82 |
|
8VLQJ WKH %URZVHU |
|
|
Identifying items in the tree view............................................. |
86 |
|
Defining Browser display options............................................ |
88 |
|
Managing nodes in the Browser tree view .............................. |
89 |
|
Creating an object in the Browser .................................... |
89 |
|
Displaying node properties ............................................... |
90 |
|
Opening a diagram from the Browser tree view............... |
90 |
|
Opening the report editor from the Browser tree view...... |
90 |
|
Displaying a node contextual menu ................................. |
90 |
|
Editing an item in place .................................................... |
91 |
|
Dragging and dropping items ........................................... |
91 |
|
Finding objects in the Browser tree view.......................... |
91 |
LY |
PowerDesigner |
3$57 7:2 |
0RGHOLQJ *XLGH |
|
|
0DQDJLQJ WKH :RUNVSDFH |
|
|
Defining a workspace.............................................................. |
96 |
|
Using the workspace............................................................... |
97 |
|
Creating a workspace....................................................... |
97 |
|
Opening a workspace....................................................... |
97 |
|
Renaming a workspace.................................................... |
98 |
|
Defining a startup option................................................... |
98 |
|
Changing workspace........................................................ |
99 |
|
Saving a workspace ....................................................... |
100 |
|
Saving a workspace under another name...................... |
100 |
|
Saving a workspace and its contents ............................. |
100 |
|
Closing a workspace ...................................................... |
101 |
|
Building a workspace ............................................................ |
102 |
|
Creating new items in a workspace................................ |
102 |
|
Adding items to a workspace ......................................... |
102 |
|
Deleting a workspace............................................................ |
104 |
|
0DQDJLQJ )ROGHUV |
|
|
Defining a folder.................................................................... |
106 |
|
Using a folder........................................................................ |
107 |
|
Creating a folder............................................................. |
107 |
|
Renaming a folder .......................................................... |
107 |
|
Creating an item in a folder ............................................ |
108 |
|
Adding an item to a folder .............................................. |
108 |
|
Saving a folder................................................................ |
109 |
|
Deleting a folder.................................................................... |
110 |
|
0DQDJLQJ 0RGHOV |
|
|
Defining a model ................................................................... |
112 |
|
Model properties............................................................. |
112 |
|
Creating a model ............................................................ |
113 |
|
Creating a model from the Browser tree view ................ |
115 |
|
Opening an existing model............................................. |
115 |
|
Opening a model previously closed in the workspace ... |
116 |
|
Adding models to the workspace ................................... |
116 |
|
Renaming a model in the Browser tree view.................. |
117 |
|
Modifying model properties ............................................ |
118 |
|
Saving a model............................................................... |
118 |
|
Saving all models ........................................................... |
120 |
|
Generating a model........................................................ |
120 |
|
Closing a model.............................................................. |
122 |
|
Deleting a model............................................................. |
123 |
General Features Guide |
|
Y |
|
Sending a model via a messaging application ............... |
124 |
|
Using the free model............................................................. |
125 |
|
Defining naming conventions................................................ |
126 |
|
Defining name/code format................................................... |
127 |
|
Displaying the name or the code of objects ................... |
129 |
|
Defining name and code format for a type of object ...... |
130 |
|
Creating a template for name and code format ............. |
131 |
|
Applying a naming template to a type of object.............. |
134 |
|
Defining name/code conversions.......................................... |
137 |
|
Using a conversion script ............................................... |
138 |
|
Using a conversion table ................................................ |
141 |
|
Defining a package ............................................................... |
146 |
|
Package properties ........................................................ |
146 |
|
Creating a package ........................................................ |
147 |
|
Defining the diagram type of a new package ................. |
148 |
|
Opening an existing package......................................... |
148 |
|
Renaming a package in the Browser tree view.............. |
149 |
|
Modifying the properties of a package ........................... |
149 |
|
Saving a package........................................................... |
149 |
|
Managing the namespace in models .................................... |
151 |
|
Defining the namespace concept................................... |
151 |
|
Defining the namespace of a package........................... |
152 |
|
Defining a diagram................................................................ |
154 |
|
Diagram properties......................................................... |
154 |
|
Creating a diagram......................................................... |
155 |
|
Adding a diagram to a model or a package ................... |
155 |
|
Opening an existing diagram.......................................... |
156 |
|
Modifying the properties of a diagram ............................ |
158 |
|
Hiding and showing symbols in the diagram .................. |
158 |
|
Finding an object symbol in the diagram........................ |
164 |
|
Managing hierarchical diagrams .................................... |
165 |
|
Adding symbols to a diagram ......................................... |
166 |
|
Saving a diagram ........................................................... |
167 |
|
Deleting a diagram ......................................................... |
167 |
|
Converting a diagram to a package...................................... |
168 |
|
Opening a PowerDesigner 6 submodel as a diagram in |
|
|
PowerDesigner ..................................................................... |
171 |
|
Interchanging models using XMI format ............................... |
172 |
|
Importing XMI files.......................................................... |
172 |
|
Exporting XMI files ......................................................... |
173 |
|
0DQDJLQJ 2EMHFWV |
|
|
Defining objects .................................................................... |
176 |
|
Object names ................................................................. |
176 |
|
Object codes .................................................................. |
176 |
|
Object comment ............................................................. |
177 |
YL |
PowerDesigner |
Displaying object properties ........................................... |
177 |
Identifying objects........................................................... |
178 |
Creating an object .......................................................... |
179 |
Attaching notes to an object ........................................... |
181 |
Renaming an object from the Browser tree view............ |
189 |
Modifying object properties............................................. |
189 |
Using extended attributes............................................... |
192 |
Previewing the code of an object.................................... |
195 |
Dragging and dropping objects ............................................. |
198 |
Drag and drop default action .......................................... |
198 |
Modifying the drag and drop default action .................... |
198 |
Using the drag and drop feature..................................... |
199 |
Copying objects..................................................................... |
200 |
Selecting object to copy.................................................. |
200 |
Copying objects to the Clipboard.................................... |
200 |
Pasting objects...................................................................... |
201 |
Selecting a paste target.................................................. |
201 |
Pasting an object from the Clipboard ............................. |
201 |
Pasting a shortcut........................................................... |
202 |
Pasting an object as a shortcut ...................................... |
203 |
Managing paste conflicts................................................ |
204 |
Creating a graphical synonym for an object.......................... |
205 |
Moving objects from package to package ............................ |
207 |
Moving entities................................................................ |
207 |
Moving an object from a package to another ................. |
207 |
Finding objects...................................................................... |
210 |
Defining find parameters ................................................ |
210 |
Using the Result List....................................................... |
218 |
Analyzing object dependencies............................................. |
220 |
Deleting objects .................................................................... |
221 |
Displaying the delete confirmation dialog box ................ |
221 |
Selecting the type of deletion ......................................... |
222 |
Deleting an object........................................................... |
222 |
Deleting an object and its related objects....................... |
224 |
Deleting an object in a list............................................... |
225 |
Deleting a free symbol.................................................... |
225 |
Using file objects................................................................... |
226 |
File object properties ...................................................... |
226 |
Creating a file object....................................................... |
229 |
Modifying the properties of a file object.......................... |
230 |
Opening an existing file object ....................................... |
232 |
Selecting an application program for a file object........... |
232 |
Attaching a file object to a PowerDesigner object .......... |
233 |
Modifying the file object display preferences.................. |
235 |
Saving a file object ......................................................... |
235 |
Working with extended model definitions ............................. |
236 |
General Features Guide |
YLL |
|
Creating an extended model definition........................... |
236 |
|
Missing extended model definition ................................. |
241 |
|
Selecting extended model definitions............................. |
242 |
|
Exporting an extended model definition ......................... |
243 |
|
Accessing objects using VBScript ........................................ |
244 |
|
Basic concepts ............................................................... |
245 |
|
Introducing the HTML help file ....................................... |
256 |
|
Using the Edit/Run Script editor ..................................... |
258 |
|
How to ............................................................................ |
267 |
|
Manipulating the Repository using VBScript .................. |
275 |
|
Manipulating reports....................................................... |
285 |
|
VBScript uses in PowerDesigner ................................... |
286 |
|
OLE Automation ............................................................. |
287 |
|
Using customized commands ........................................ |
290 |
|
0DQDJLQJ 6KRUWFXWV |
|
|
Defining a shortcut................................................................ |
300 |
|
Stating the problem ........................................................ |
300 |
|
Understanding the shortcut concept............................... |
300 |
|
Shortcut properties ......................................................... |
303 |
|
Creating a shortcut ......................................................... |
304 |
|
Saving the referencing model......................................... |
306 |
|
Linking shortcuts ............................................................ |
307 |
|
Modifying shortcut properties ......................................... |
308 |
|
Shortcut synchronization ................................................ |
313 |
|
Displaying shortcuts.............................................................. |
315 |
|
Understanding the display of a shortcut symbol............. |
315 |
|
Modifying the shortcut display preferences .................... |
316 |
|
Locating shortcuts in the Browser tree view................... |
316 |
|
Locating the dependent objects of a shortcut ................ |
316 |
|
Displaying all the shortcuts of a target object................. |
317 |
|
Displaying all the shortcuts of an object type ................. |
318 |
|
Working with shortcuts ......................................................... |
320 |
|
Using the list of shortcuts ............................................... |
320 |
|
Using the list of target models........................................ |
326 |
|
Deleting a shortcut ......................................................... |
329 |
|
Generating shortcuts ............................................................ |
331 |
|
0DQDJLQJ 2EMHFW 5HSOLFDWLRQV |
|
|
Defining object replications................................................... |
336 |
|
Stating the problem ........................................................ |
336 |
|
Understanding the object replication concept ................ |
337 |
|
Object replication vs. shortcut ........................................ |
340 |
|
Replication object properties .......................................... |
340 |
|
Creating a replica ........................................................... |
342 |
YLLL |
|
PowerDesigner |
|
Saving the referencing model of the replica ................... |
346 |
|
Desynchronizing replicated attributes, replicated |
|
|
collections and sub-replications ..................................... |
346 |
|
Replica synchronization.................................................. |
348 |
|
Displaying replications .......................................................... |
350 |
|
Consulting all the replications of an original object......... |
350 |
|
Consulting all the replicas of an object type ................... |
351 |
|
Working with object replications ........................................... |
352 |
|
Using the list of replications............................................ |
352 |
|
Comparing and merging replications.............................. |
355 |
|
Generating replications................................................... |
356 |
|
Moving replications......................................................... |
357 |
|
Deleting a replication ...................................................... |
357 |
|
&RPSDULQJ DQG 0HUJLQJ 0RGHOV |
|
|
Comparing models................................................................ |
360 |
|
Understanding the comparison window ......................... |
360 |
|
Defining comparison parameters ................................... |
361 |
|
Analyzing object differences in the object comparison |
|
|
part ................................................................................. |
367 |
|
Analyzing object differences in the properties |
|
|
comparison part.............................................................. |
369 |
|
Navigating among differences in the object comparison |
|
|
part ................................................................................. |
369 |
|
Previewing and printing comparison result..................... |
370 |
|
Merging models .................................................................... |
372 |
|
Understanding the merge window.................................. |
372 |
|
Defining merge parameters............................................ |
373 |
|
Analyzing merge actions ................................................ |
376 |
|
Selecting merge actions in the model to be merged ...... |
381 |
|
Selecting properties to merge ........................................ |
381 |
|
Synchronizing objects manually ..................................... |
382 |
|
Previewing and printing merge actions........................... |
384 |
|
Starting the merge process ............................................ |
385 |
|
7KH 5HVRXUFH (GLWRU |
|
|
What is the resource editor?................................................. |
388 |
|
Managing resource files........................................................ |
390 |
|
Using the list of resource files ........................................ |
390 |
|
Creating a resource file .................................................. |
391 |
|
Importing a resource file................................................. |
393 |
|
Saving a resource file..................................................... |
393 |
|
Comparing and merging resource files .......................... |
394 |
|
Using the resource editor...................................................... |
398 |
|
Category and entry properties ........................................ |
400 |
General Features Guide |
|
L[ |
|
Modifying a resource file ................................................ |
402 |
|
0RGHO *UDSKLFV |
|
|
Model display preferences .................................................... |
408 |
|
Applying display preferences.......................................... |
408 |
|
Selecting general display preferences ........................... |
414 |
|
Selecting object view display preferences...................... |
415 |
|
Selecting format display preferences ............................. |
417 |
|
Modifying symbol appearance .............................................. |
430 |
|
Selecting symbols .......................................................... |
430 |
|
Applying color to a symbol.............................................. |
431 |
|
Applying a line style to symbols...................................... |
433 |
|
Customizing the shape of a symbol ............................... |
434 |
|
Bending a line................................................................. |
436 |
|
Straightening a line......................................................... |
437 |
|
Dragging a link symbol from one object to another........ |
437 |
|
Adding and removing shadow ........................................ |
437 |
|
Flipping symbols............................................................. |
438 |
|
Sizing symbols................................................................ |
438 |
|
Applying size preferences to a symbol........................... |
439 |
|
Adjusting a symbol size to text ....................................... |
439 |
|
Hiding and showing symbols.......................................... |
440 |
|
Grouping and ungrouping symbols ................................ |
440 |
|
Protecting and unprotecting symbols ............................. |
441 |
|
Moving symbols .................................................................... |
442 |
|
Snap to Grid ................................................................... |
442 |
|
Auto-layout ..................................................................... |
443 |
|
Aligning symbols............................................................. |
444 |
|
Setting line disposition.................................................... |
445 |
|
Arranging symbols.......................................................... |
446 |
|
Arranging connectors ..................................................... |
446 |
|
Arranging attach points .................................................. |
447 |
|
Arranging attached text .................................................. |
447 |
|
Overlapping symbols...................................................... |
449 |
|
Finding a symbol in the diagram from an objects list ..... |
449 |
|
Inserting graphics.................................................................. |
451 |
|
Drawing shapes.............................................................. |
451 |
|
Drawing lines.................................................................. |
452 |
|
Inserting a title box ......................................................... |
453 |
|
Importing images............................................................ |
454 |
|
Using free text....................................................................... |
456 |
|
Inserting free text............................................................ |
456 |
|
Inserting text in a shape ................................................. |
457 |
|
Applying a color to free text............................................ |
457 |
|
Selecting a font for free text ........................................... |
458 |
|
Aligning free text............................................................. |
459 |
[ |
PowerDesigner |