Tutorials

how to build projectonceptor

First of all you need a working haiku os build enviroment. There are several tutorials and documentations out for different Operatingsystems

over here

So after you have set up a nice enviroment to build haiku os you can check out the projectconceptor sources. Open a terminal and change directory into

    haiku/3rdparty

then type in

Connection

In this documentaion you can see the Struckture of a connection Node.

So first a tabel wich explains the messagefileds, used types and what the field is for.

but first here is an exampel of a connection:

Example of a connection (what=P_C_CONNECTION_TYPE='pcCT')

NodesMessage Ruels

If you add Data to a Node you should follow Rules to make more clear what kind of Data you added and to avoid

NodesMessage should follow following Rules

 

How to insert a Node

In this tutorial i gonna describe step by step what you need to do to insert a node in a Projectconceptor Document 

At first we define the complete Node.

Therefore we create a BMessage wich will be our Node:

nodeMessage    = new BMessage(P_C_CLASS_TYPE);

P_C_CLASS_TYPE defines that this BMessage represent a node in the ProjectConceptor. Later there will also other kind of nodes like P_C_GROUP_TYPE

Syndicate content