##Requirements To compile and build the SensingFlow Editor, install the following dependencies:
- Java Development Kit (JDK) version 1.6 or greater which includes the JRE
- Eclipse Modeling Package
Help
-Install New Software
- Select
Luna - http://download.eclipse.org/releases/luna
from theWork with
dropdown. - Select Modeling from the package list and click
Next
to install the package.
##Build and run the editor
- Import
Sensingflow
andjdom2
project in your workspace. - Run
sensingflow.gef
as Eclipse application
##Create a new Sensingflow project
- Navigate to
File
-New
-Project
- Select
General
-Project
from the list - Enter the project name and choose the location, and click
Finish
- From the Project Exlorer view, right click on the create project and select
New
-Other
- Find and choose
Sensingflow Model
from the list and clickNext
- Enter the file name and click Next
- From the
Model Object
menu, chooseProcessor
, and clickFinish
##Draw and save a Sensingflow diagram
- From the Palette, choose a node type you want to add:
The palette starts folded by default.
To open it, click the small triangle on the right side of the editor.
- Select the node created, change the Operator Name attribute from the Property view.
- After finishing the work, save the diagram via
File
-Save
orCtrl+S
.
##Load an exising processor configuration file
- Create a new project if there is no active project.
- From the Project Explorer view, right click on the project your created and select
import
- Choose
General
-File System
- Select the directory where the file your want to import exists
- Select the file(s) from the list on the right side and click
Finish
- From the Project Explorer view, right click on the file you added and select
Open With
-Other
- Choose
SensingFlow Editor
from the list
The top-level tag of a file to be imported should be Processor
, not ProcessorInfo
. So, you cannot import processor_info.xml
in Symphony
project directly.