1 / 21

Technical Session: Tau Power Tricks

Technical Session: Tau Power Tricks. Greg Gorman Tau Semi-Guru With apologies to non-dog-lovers…. Agenda. Simple Tricks Keyboard shortcuts Startup flags URN’s Medium Tricks Drawing shortcuts Auto-completion Auto-placement Advanced Tricks Stereotypes and tagged values Scripting

jonco
Download Presentation

Technical Session: Tau Power Tricks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Technical Session:Tau Power Tricks Greg Gorman Tau Semi-Guru With apologies to non-dog-lovers….

  2. Agenda • Simple Tricks • Keyboard shortcuts • Startup flags • URN’s • Medium Tricks • Drawing shortcuts • Auto-completion • Auto-placement • Advanced Tricks • Stereotypes and tagged values • Scripting • FI Debugger

  3. Simple Tricks

  4. Workspace Operations

  5. Editor Shortcuts (1/2)

  6. Editor Shortcuts (2/2)

  7. Application Builder Shortcuts

  8. Model Verifier Shortcuts

  9. Startup Flags • VCS.EXE (Windows) or tau (Unix) [–Script ScriptName] [-SuppressSplashScreen] [ProjectName]

  10. URN’s • There are five predefined names, “u2”, “u2user”, “u2useraddins”, “u2teamaddins” and “u2companyaddins”. • u2 maps to the Tau installation directory • u2user maps to the user directory • u2useraddins maps to where user add-ins are located • u2teamaddins maps to where the team add-ins are located • u2companyaddins maps to where the company add-ins are located

  11. Medium Tricks

  12. Drawing Shortcuts • Varies slightly by editor • Hold down Ctrl, pallette shows you what symbols are valid in the selected context • Ctrl-Space is very helpful! • Class Diagram • Activity Diagram • Statemachine Diagram • Sequence Diagram • D&D of a signal

  13. Auto-completion (Intellisense) • Ctrl-Space pops up a list of elements that are valid in the current context • Very useful for signals on SD, Class names, etc.

  14. Reference Existing • Useful when you want to place a new symbol that references an existing model element • Remember, using the tool bar and putting in the same name creates a new, distinct element! • Alternative to drag/drop from Model View • Activated via right-click Sequence Diagram Class Diagram

  15. Available on Statemachine Diagram and Activity Diagram Shift-Space activates If you have a symbol selected, then press Shift-Space, you are presented with a list of “valid” next symbols. Use the Up/Down Arrows to pick and press Enter. Symbol is placed in line and connected. Next time you press Shift -Space, if it’s valid, the same symbol is pre-selected. A super-fast way to block out a diagram! Auto-Placement

  16. Advanced Tricks

  17. Stereotypes and Tagged Values • Sometimes you want to capture some additional information about elements in the model. • Example “Review Status” for a Diagram Create this in your model, drag/drop the ‘Diagram’ element from TTDMetamodel Apply the stereotype to any diagram Now you can Query for all Diagrams that are in a certain state!

  18. Scripting • Create a simple Agent script to print the GUID of any element on demand [[ proc ShowGUID { triggeredBy timing context server agentParameters } { upvar 1 $agentParameters ap set sel [std::GetSelection] if {$sel == ""} {return} set guid [u2::GetValue $sel guid] std::Output "Name: [u2::GetValue $sel Name], Guid:$guid, Kind:[u2::GetMetaClassName $sel]\n" } ]]

  19. FI Debugger • Used to examine the detailed metamodel and interconnections between UML elements • Extremely useful when writing advanced Agents and scripts • DO NOT use on a daily or “normal” basis • Very resource-intensive! • Part of the “SDK” add-in (a separate download) • Telelogic Support Web>Tau>“Tau Addins” page.

  20. Questions and Thank You!

More Related