Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Triquetrum/Getting Started"
m (→Create a Workflow: typos) |
(Added image of editing a parameter) |
||
Line 43: | Line 43: | ||
# In the Diagram window, select the Diagram type of Triquetrum workflow (you may need to double click on Triquetrum workflow) | # In the Diagram window, select the Diagram type of Triquetrum workflow (you may need to double click on Triquetrum workflow) | ||
# In Triquetrum, a tab called newDiagram should appear: | # In Triquetrum, a tab called newDiagram should appear: | ||
− | [ | + | [[ File:TriquetrumGettingStartedNewDiagramPanel.png|500px]] |
− | + | ||
== Build and Run A Model == | == Build and Run A Model == | ||
# Drag a Const, Discard and SDF director from the right side into the newDiagram pane. | # Drag a Const, Discard and SDF director from the right side into the newDiagram pane. | ||
# Then drag from the Const output port to the Discard input port. | # Then drag from the Const output port to the Discard input port. | ||
# Then click on the background of the diagram so that the relation changes from an orange dashed line to a blue solid line: | # Then click on the background of the diagram so that the relation changes from an orange dashed line to a blue solid line: | ||
− | [ | + | [[File:TriquetrumGettingStartedSimpleModel.png|862px]] |
# Save the model. | # Save the model. | ||
# Click the green run arrow in the upper left tool bar. | # Click the green run arrow in the upper left tool bar. | ||
− | # Look in the Console tab of the Eclipse that was used to launch Triquetrum. | + | # Look in the Console tab of the Eclipse that was used to launch Triquetrum. A line showing the run time and memory should appear: |
− | + | 148 ms. Memory: 573952K Free: 500570K (87%) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Editing == | == Editing == | ||
* To change the name of an actor, highlight the actor name in the model and type in a new name | * To change the name of an actor, highlight the actor name in the model and type in a new name | ||
* To change a parameter, double click on the actor and select the parameter: | * To change a parameter, double click on the actor and select the parameter: | ||
− | [ | + | [[File:TriquetrumGettingStartedEditParameters.png|436px]] |
− | + | ||
− | + |
Revision as of 16:08, 12 February 2016
This page covers how to get started with Triquetrum.
There are at least two ways to get started with Triquetrum:
- Building From Sources, which is for people who will collaborate on Triquetrum
- Downloads, which is for people who want to use Triquetrum
Contents
Running
Select a workspace
When Triquetrum starts up, you will be prompted to Select a workspace:
The Welcome Pane
The Eclipse Application may show a welcome window, which you can close.
The first Triquetrum window
You will then see a fresh Triquetrum window:
Create a Triquetrum Project
Triquetrum is based on a project model, so first we create a project:
- Right click on the Project Explorer tab
- Select New -> Project -> General -> Project
- Click on Next
- Enter the name of your project. We chose ``MyProject``.
- Click on Finish
- Your project will appear in the Package Explorer tab
Create a Workflow
The next step is to create a workflow:
- In the Package Explorer, right click on MyProject, the newly created project
- Select New -> Other and the Select a wizard dialog appears:
- In the Select a wizard dialog, in the Diagram Type drop down, select Triquetrum workflow model:
- Click on Next
- In the Diagram window, select the Diagram type of Triquetrum workflow (you may need to double click on Triquetrum workflow)
- In Triquetrum, a tab called newDiagram should appear:
Build and Run A Model
- Drag a Const, Discard and SDF director from the right side into the newDiagram pane.
- Then drag from the Const output port to the Discard input port.
- Then click on the background of the diagram so that the relation changes from an orange dashed line to a blue solid line:
- Save the model.
- Click the green run arrow in the upper left tool bar.
- Look in the Console tab of the Eclipse that was used to launch Triquetrum. A line showing the run time and memory should appear:
148 ms. Memory: 573952K Free: 500570K (87%)
Editing
- To change the name of an actor, highlight the actor name in the model and type in a new name
- To change a parameter, double click on the actor and select the parameter: