Open Diagrams
UP has various types of diagrams to better illustrate the application. There are several ways to open these diagrams.
Open State Machine Diagram
Method 1 (via context menu):
Method 2 (via diagram resource):
Method 3 (double-click on the controller instance in the controller tree):
Perspectives
Reset Perspective
UPstudio has a standardised view setting (Perspective) for all windows. If a view is accidentally closed or moved, it can be reset to the original setting by right-click on the UP icon in the top right:
Save Perspective
You can also save your own settings via the above menu.
Project Explorer
When creating a new workspace, the standard view of the project packages is flat. To obtain a hierarchical view, this can be changed in the Project Explorer settings:
Search
Search for references
With the reference search, all uses of an object are listed in the search field. Double-clicking takes you to the relevant location.
Search and Replace
In UP, all resources are represented by a unique GUID. Wherever a resource is used (e.g., a local variable is placed in a code snippet), the respective GUID is referenced in the background.
The GUID of each resource can be read via contex menu:
For example, to replace one variable with another, the GUID of the old variable must be replaced with the new GUID at all uses. To do this, you first search for the location of the old variable using the 'File Search':
The usage windows appear in the search window. Double-click on the corresponding locations in the resource editor.
By selecting and using the right mouse button, the GUID can be replaced with the GUID of the new variable in the selection:
0 Comments