Customizing and Extending Powerdesigner SAP Powerdesigner Documentation Collection Content

Customizing and Extending Powerdesigner SAP Powerdesigner Documentation Collection Content

User Guide PUBLIC SAP PowerDesigner Document Version: 16.6.2 – 2017-01-05 Customizing and Extending PowerDesigner SAP PowerDesigner Documentation Collection Content 1 PowerDesigner Resource Files.................................................... 9 1.1 Opening Resource Files in the Editor.................................................10 1.2 Navigating and Searching in Resource Files............................................ 11 1.3 Editing Resource Files........................................................... 13 1.4 Saving Changes................................................................13 1.5 Sharing and Embedding Resource Files...............................................13 1.6 Creating and Copying Resource Files.................................................14 1.7 Specifying Directories to Search for Resource Files.......................................15 1.8 Comparing Resource Files........................................................ 15 1.9 Merging Resource Files.......................................................... 16 2 Extension Files................................................................18 2.1 Creating an Extension File.........................................................19 2.2 Attaching Extensions to a Model....................................................20 2.3 Exporting an Embedded Extension File for Sharing.......................................21 2.4 Extension File Properties......................................................... 21 2.5 Example: Adding a New Attribute from a Property Sheet...................................23 2.6 Example: Creating Robustness Diagram Extensions......................................24 Creating New Types of Objects with Stereotypes......................................25 Specifying Custom Symbols for Robustness Objects...................................27 Example: Creating Custom Checks on Instance Links.................................. 28 Example: Defining Templates to Extract Message Descriptions............................33 Example: Creating a Generated File for the Message Information.......................... 35 Example: Testing the Robustness Extensions........................................37 2.7 Metaclasses (Profile)............................................................39 Extended Objects, Sub-Objects, and Links (Profile)....................................42 2.8 Stereotypes (Profile)............................................................43 Creating New Metaclasses with Stereotypes.........................................46 2.9 Criteria (Profile)............................................................... 47 2.10 Extended Attributes (Profile)......................................................48 Calculated Attribute Scripts.................................................... 52 Creating an Extended Attribute Type..............................................54 Specifying Icons for Attribute Values..............................................55 Linking Objects Through Extended Attributes........................................57 Aggregating Attribute Values with Aggregated Metrics..................................57 2.11 Extended Collections and Compositions (Profile)........................................58 2.12 Calculated Collections (Profile).....................................................61 Customizing and Extending PowerDesigner 2 PUBLIC Content 2.13 Dependency Matrices (Profile).....................................................63 Specifying Advanced Dependencies...............................................66 2.14 Forms (Profile)................................................................67 Adding Extended Attributes and Other Controls to Your Form............................ 69 Example: Creating Common Form Controls......................................... 73 Example: Creating a Property Sheet Tab............................................75 Example: Including a Form in a Form.............................................. 78 Example: Opening a Dialog from a Property Sheet.....................................81 2.15 Custom Symbols (Profile)........................................................ 84 2.16 Custom Checks (Profile)......................................................... 86 Example: PDM Custom Check...................................................88 Example: PDM Autofix........................................................ 88 2.17 Event Handlers (Profile)..........................................................90 Example: Setting Default Property Values...........................................94 2.18 Methods (Profile).............................................................. 95 2.19 Menus (Profile)................................................................96 Example: Opening a Dialog Box from a Menu.........................................98 2.20 Templates (Profile)............................................................100 2.21 Generated Files (Profile).........................................................101 Example: JavaGenerated File and Templates........................................103 Generating Your Files in a Standard or Extended Generation.............................105 2.22 Transformations (Profile)........................................................107 Transformation Profiles (Profile)................................................ 109 Developing Transformation Scripts...............................................110 2.23 XML Imports (Profile)...........................................................111 XML Import Mappings........................................................112 Metamodel Mapping Properties................................................. 116 Metamodel Object Properties...................................................117 2.24 Object Generations (Profile)...................................................... 118 Model-to-Model Generation Mappings.............................................119 2.25 Chart Datasets (Profile).........................................................120 EA Example Charts..........................................................122 2.26 Global Script (Profile)...........................................................126 3 Object, Process, and XML Language Definition Files.................................. 127 3.1 Settings Category: Process Language...............................................129 3.2 Settings Category: Object Language.................................................131 3.3 Settings Category: XML Language..................................................132 3.4 Generation Category........................................................... 132 Example: Adding a Generation Option.............................................133 Example: Adding a Generation Command and Task...................................135 3.5 Profile Category (Definition Files).................................................. 138 Customizing and Extending PowerDesigner Content PUBLIC 3 4 DBMS Definition Files.........................................................139 4.1 Triggers Templates, Trigger Template Items, and Procedure Templates.......................140 4.2 Database Generation and Reverse Engineering.........................................140 Script Generation........................................................... 141 Script Reverse Engineering.................................................... 144 Live Database Generation..................................................... 145 Live Database Reverse Engineering.............................................. 146 Defining Generation and Reverse-Engineering of New Metaclasses........................153 Adding Scripts Before or After Generation and Reverse Engineering....................... 154 4.3 General Category (DBMS)........................................................154 4.4 Script/Sql Category (DBMS)......................................................155 Syntax Category (DBMS)......................................................155 Format Category (DBMS)..................................................... 156 File Category (DBMS)........................................................158 Keywords Category (DBMS)................................................... 159 4.5 Script/Objects Category (DBMS)...................................................161 Common Object Items........................................................163 Table Category (DBMS).......................................................167 Column Category (DBMS)..................................................... 171 Index Category (DBMS).......................................................178 Pkey Category (DBMS)....................................................... 181 Key Category (DBMS)........................................................182 Reference Category (DBMS)...................................................184 View Category (DBMS).......................................................187 Tablespace Category (DBMS).................................................. 189 Storage Category (DBMS).....................................................189 Database Category (DBMS)....................................................190 Domain Category (DBMS).....................................................191 Abstract Data Type Category (DBMS).............................................192 Abstract Data Type Attribute Category (DBMS)......................................194 User Category (DBMS).......................................................195

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    378 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us