For example, if you want the display name for an actor on a use case diagram to show its full-path name (instead of the factory default setting for the relative name) for every project created, you would set this up in the site.prp file.
To change a default value for a property for your entire company:
The following code sample shows the factory default for the UseCaseGe::Actor::ShowName property with the default of Relative. This means that by default when you create an actor for a use case diagram, its relative name is displayed.
Subject UseCaseGe
Metaclass Actor
Property ShowName Enum "Full_path,Relative,Name_only,Label" "Relative"
Property ShowStereotype Enum "Label,Bitmap,None" "Label"
end
end
The following code sample shows a modification of the same property in the site.prp file where the default has been changed to Full-path. This means that going forward, any actor created for a use case diagram shows it full-path display name. Any actors created for a use case diagram before the modification in the site.prp file continue to show their display name in whatever the default value was when they were created.
Subject UseCaseGe
Metaclass Actor
Property ShowName Enum "Full_path,Relative,Name_only,Label" "Full-path"
Property ShowStereotype Enum "Label,Bitmap,None" "Label"
end
end