Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom behavior and and creating arrow (Read 2181 times)
MichalLaskowski
YaBB Newbies
*
Offline



Posts: 13
Joined: Mar 14th, 2006
Custom behavior and and creating arrow
Mar 22nd, 2006 at 11:25pm
Print Post  
From documentation:
Section bout "Behavior class":
"If creating a link, use the Arrow constructor that takes a single Node argument, specifying the origin node."

There is no such ctor (at least marked as public).
Maby you coud publish any patch for that? Or maby you can tell when there will be new version?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom behavior and and creating arrow
Reply #1 - Mar 23rd, 2006 at 5:29am
Print Post  
Ok, we are making it public in the 4.0.4 version.
  
Back to top
 
IP Logged
 
MichalLaskowski
YaBB Newbies
*
Offline



Posts: 13
Joined: Mar 14th, 2006
Re: Custom behavior and and creating arrow
Reply #2 - Mar 25th, 2006 at 6:24pm
Print Post  
With new version in my custom behavior i create arrow. After i release mouse button 1st event i get is ArrowCreating in FlowChart and after that GetTargetNode in my custom behavior.
IMHO 1st should be GetTargetNode.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom behavior and and creating arrow
Reply #3 - Mar 27th, 2006 at 8:07am
Print Post  
It seems the eventArgs for ArrowCreating do not use the custom behavior at all. We will fix that later today, and the sequence of method calls and events will be

- Arrow.confirmCreate (protected)
- Behavior.GetTargetNode
- ArrowCreating
- Arrow.completeCreate (protected)
- Behavior.GetTargetNode
- ArrowCreated
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint