| FCS. Products Issues: c# UML -> Activity
- What tool using to design activity diagram for the creating application?
- How to create the class that implements the activity diagram?
- How to manage and modify both the diagram and the class?
"Flow In Class" - This is a simple way to program the activity diagram in the class of your application.
Plugin for Visual Studio allows you to design the Flow of Activities in the class file (whole application).
How to use it?
- Install extension to Visual Studio
- Add files to your project:
- - Add- > New Item ...
- - Search Instaled Templates.. by name "flow"
- - Select the file type "Flow In Class"
- - Set the appropriate name for the new class file
- Open by Designer file extension ". fcs"
- Build the appropriate diagram using components from the "Toolbox" window
- Add arrow branch by drag one action point to other
- In the file class: "FlowInClass1.cs" encode suitable methods for actions
- Using the Designer (double click on component action) select method of file "FlowInClass1.cs"
- Using the Designer (double click on component decision) set a condition using the properties of the class: "FlowInClass1.cs"
- Save the file "FlowInClass1.fcs"
- For the public function "public object Start() {...}" (in the file: FlowInClass1.fcs.cs ) will generated code illustrating the flow of activity
Exaple:public class Program { public void Main() { var flow1 = new FlowInClass1(); flow1.Start();
} } | Product Screenshots
| |
| |