Introduction to extending metamodel with USRPROPS
Customizing the repository metamodel: SAPROPS.CFG and USRPROPS.TXT
How it works
Customizing the metamodel
Rules for editing USRPROPS.TXT
Order of SAPROPS.CFG and USRPROPS.TXT commands
Composition and syntax
Grouping commands to create modeling elements
Dialog controls
Ordering and laying out USRPROPS.TXT changes
Rules for modifying USRPROPS.TXT
Layout of USRPROPS.TXT code
Example of making changes to USRPROPS.TXT
What you can do with USRPROPS/SAPROPS
Adding and modifying diagrams, symbols, and definitions
Making properties read only
Deleting, hiding, and renaming properties
Deleting properties: Making invisible
Deleting properties through CSV export-import
Using the RENAME command
Layout capabilities
General layout information
Using the layout command
Tabs and chapters
Pages in tabs
Positioning
Grids, list boxes, and text boxes
Text boxes
List boxes
Defining a LIST of values
Syntax of the LIST definition
Checkboxes versus dropdown list
Entering your own values
Restricted lists
OneOf list boxes
ListOf list boxes
Zoomable list boxes
Grids
Conditional commands
Diagrams: Creating and modifying
Adding new diagram types
Assigning symbols to diagrams
Assigning a symbol type to a diagram type
Assigning a line symbol type to a diagram type
Adding and changing properties of diagrams
Adding numbering to hierarchical diagrams
Creating box-in-box diagrams
Creating roadmap-style diagrams
Style 1
Overview
Property set
Supported structures
Milestone
Dependency
Diagram
What does a Time Scale symbol indicate?
How is each Project symbol depicted?
How are Milestone symbols positioned and phases colored?
How is a Milestone symbol shown?
Can a dependency line be drawn between two Milestones?
Is a diagram key provided?
What can you control?
When is the diagram synchronized?
Rules check
Sample USRPROPS
Style 2
Creating hierarchical diagrams
Creating representationally consistent diagrams
Reducing workspace complexity when editing diagrams
Creating and assigning editing modes for diagram types
Configuring modes for symbols, properties, and list items
Creating sequence or event trace diagrams
Symbols: Creating and modifying
Adding new symbol types
Adding and changing symbol properties
Depicting a symbol with an image
Syntax of the depictions clause
Depicting symbols like other symbols
User-defined symbol presentation based on property value
WMF/EMF/SVG vs. BMP files
Displayable properties for symbols depicted by a bitmap or metafile
Depicting line symbols
Using metafiles as symbols
Displayable properties
Analytic depictions
Adding analytic depictions through USRPROPS.TXT
Specifying the size of the analytic depiction
Linking a depiction list to a symbol property
Displaying analytic depictions
Controlling name presentation
Definitions: Creating and modifying
Adding new definition types
Assigning a definition type to a symbol type
Adding and changing definitions
How item types are enabled
Specifying properties for diagrams, symbols, and definitions
Specifying properties for diagram types
Specifying properties for symbol types
Adding more properties for a symbol
Specifying properties for definition types
Property statements
Using ListOf, OneOf, and ExpressionOf
ListOf
Filtering the list of items
Creating grids for listof
Heterogeneous lists for listof
OneOf
ExpressionOf
ZOOMABLE command
Modifying the look of dialogs
LAYOUT command
Example of the LAYOUT command
LAYOUT command arguments
Creating tabs with the CHAPTER command
Using the LAYOUT command in a CHAPTER
GROUP command
Using the LAYOUT command within a GROUP
Positioning controls and labels
Some general sizing rules
Some general placement rules
Specifying the display of values on symbols
Syntax of the DISPLAY command
Specifying key and keyed by properties
Using KEYED BY to make sure all members of a group are of the same type
How to use the KEYED BY clause
Examples of key and keyed by
One definition keyed by another
A third definition with two key properties
Creating a list of a keyed definition
Adding the KEYED BY statement
Example of “complete” keyword
Example of using the where clause
Hiding standard entries in the property set CFG files
Error messages
Reference external documents
Keywords for USRPROPS
#IFDEF
#IFNDEF
#INCLUDE, #INCLUDEX, #INCLUDEENC, #INCLUDEXENC
$$NONE$$
$$VFORCE$$
$$VNONE$$
/* ... */
//
Built‑in addressable system
ALIGN
ALL_TYPES
ALLOW_COPY
AND_SUBTYPES
ASGRID
ASPARMGRID
ASSIGN
ASGUID
AUDITID
AUTOCREATE
BEGIN
BODY
BOOLEAN
BORDERS
BOTTOM: Analytic depiction command
BROWSER (Explorer)
BUTTON and TARGETPROP
BY
CAUSESAPPLY
CHAPTER
CHAPTER_ORDER
CHECKOUT
CLEAR_ASSIGNMENTS
COLUMN SCRIPT
COLS, COLUMNS
COMPLETE
COMPONENT SCRIPT
CONNECTS
CONTROL
CONTROL_INSERTION_BEHAVIOR
COPY PROPERTIES FROM
COPYSCRIPT
COUNT_FIXED
DATA
DATE
DEASSIGN
DEFAULT
DEFINED (BY)
DEFINITION
DEFINITION REFERENCED IN
DEPICTIONS
DEPICT LIKE
AND connector
Generic Line
Generic Line No Name
Generic Node
Generic Port
RoadmapV2
BPMN Business Process diagram symbols
UML 2.0 Sequence diagram symbols
General Sequence diagram symbols
DIAGRAM
DISPLAY
DRAW_MENU
DRAW_TOOL
DRAW_TOOL_SEQ
EDIT
EDITCLASS
EDIT COMPLETE
EDIT URLS
END
EXPRESSION
EXPRESSIONOF
FILL COLOR
FIXED: Analytic depiction command
FLOAT
fmtxxx or _fmtxxx
FONT COLOR
FORCE and VFORCE
FORMAT
FREEZE
FROM_CHOICES_ONLY
FROMDEF and TODEF
FROMTAG and TOTAG
GROUP
HELP
HETEROGENEOUS (ONEOF, LISTOF)
HIDE
HIDE DEFINITION
HIDE DIAGRAM
HIERARCHICAL
HOVER_HELP
IFDEF
IFNDEF
INCLUDE
INIT_FROM_REFERER
INITIAL
INIT_FROM_SYMBOL
INITIAL USER REQUIRED
INSTANTIABLE
INVISIBLE
JUSTIFY
KEY
KEYED (BY)
KEY (used for display)
LABEL
LABELPOS
LAYOUT
LEFT: Analytic depiction command
LEGEND
LENGTH
LINES
LIST
LISTOF
LISTONLY
LISTONLYCOMBO
MAX, MAXIMUM
MENU
MIN, MINIMUM
MINISPEC
MIRRORS
MODE
NAME
NAME_OPTIONAL
NAME_REQUIRED
NODESC, NODESCRIPTION
NONADDR, NONADDRESSABLE
NONE
NONKEY
NOTHING
NUMERIC
OF DEFINITION AND SUPERS REFERENCED IN
OF DEFINITION REFERENCED IN
ONEOF
OVER
OVERRIDABLE
PACK
PARENT
PARMLISTOF
PARMONEOF
PEN COLOR
percent of symbol
PLACEMENT
PROPERTY
PROPPOS and PROPSIZE
PROPSIZE
PUBLISHER
PUBLISHER ORDER
PUBLISHER SHOW
QUALIFIABLE
READONLY
REFPROP
RELATE (BY), RELATED (BY)
RELATION
RELATIONSHIP LABEL
REM, REMARK
RENAME
RENAME DEFINITION
RENAME DIAGRAM
RENAME SYMBOL
REPRESENTS
REPRESENTS NODE
REPRESENTS EXPLICIT RELATIONSHIP
REPRESENTS IMPLICIT RELATIONSHIP
REQUIRED
RETAIN STYLE
Right: Analytic depiction command
SACPropertyOneOfBase
SCRIPT
SHOW_ON_INSTANCES
SIZE_RESTRICT*
STRING
SUBTYPE OF
SUPERS
SYMBOL
TAB
TESTPROC, TESTPROPERTY, TESTSTRING
TestPropertyValue
TestPropertyNotValue
TEXT
TIME
TO
TOP: Analytic depiction command
UNORDERED
UPDATE
VALUE
VALUESCRIPT
VFORCE
VNONE
VISIBLE
WHERE
Multi-property WHERE
ZOOMABLE
ZOOMED
Metamodel graphical editor
Enabling the metamodel object
Creating user defined definitions
Creating user diagram types
Creating user definition types
Creating user definition properties
Creating user definition chapters
Adding a user definition chapter to a user definition type
Creating user symbol types
Generating a user props file
Importing a user props file into a production encyclopedia
Advanced use of user-defined definitions
Creating user-defined RELATION with the metamodel graphical editor
Instance modeling: Instantiable definition types
Adding options to Advanced Method Customization
Introduction to extending metamodel with USRPROPS
Adding options to Advanced Method Customization
This site works best with JavaScript enabled