Tips and Tricks (Development)

homepage Forums BridgePoint Development and Integrations Tips and Tricks (Development)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #3930
    Travis London

    This topic will host various tips and tricks when developing xtUML. These can include all processes through development. They can include tips and tricks about the other tools used to build xtUML.

    • This topic was modified 6 years, 1 month ago by Bob Mulvey.
    Travis London

    When working with unit tests in the xtUML editor certain Windows 7 settings must be configured. These are:

    _- Configure Windows Vista or Windows 7 for unit test running
    – Bring up the Windows Color and Appearance settings
    – Right click on the desktop background and select Personalize
    – In Vista select the Windows Color and Appearance hyperlink
    – In Windows 7 select the Windows Color hyperlink
    – In the window that appears, change the following attributes:
    – Active Title Bar Size: 25 Font: Trebuchet 10
    – Border Padding Size: 0
    – Caption Buttons Size: 25
    – Icon Size: 32 Font: Tahoma 8
    – Inactive Title Bar Size: 25 Font: Trebuchet 10
    – Menu Size: 19 Font: Tahoma 8
    – Message Box Font: Tahoma 8
    – Palette Title Size: 17 Font: Tahoma 8
    – Selected Items Size: 19 Font: Tahoma 8
    – Tooltip Font: Tahoma 8
    – If you have a smaller screen or resolution potential you may need to
    configure the start menu to not always be on top, or set it to auto-hide.
    – Note: Do NOT use the Windows setting that scaling text to make it easier to see.
    This setting, in Windows 7, is found here:
    Personalize > Display > “Make it easier to read what is on your machine”
    That setting must be set to “smaller” 100%

    Without these settings the expected results will not match up.

    Once you have configured these you will see an Unsaved theme in the Windows configuration area. Here you can right click and then save the theme to BridgePoint Tests. This will easily allow you to switch to these settings only when running the tests.

    Travis London

    Java templates.

    – Go to Window > Preferences
    – Navigate to Java > Editor > Templates
    – Click the New… button
    – Give the template a name
    – Select it’s Context type (for instance Java)
    – Give it a description
    – Enter the java code you want auto-completion for
    – Click OK
    – In the Preferences window click Apply and OK

    Now while in a java editor you can use control space, type the start of the template name, and find the name of your template (Also you can hit control space twice to see only templates). Hitting enter will apply the code block.

    Bob Mulvey

    When getting started as a BridgePoint developer, use this Developer’s Getting Started document:

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.