Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Behavior Type of diagram - need more types (Read 3781 times)
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Behavior Type of diagram - need more types
May 7th, 2007 at 7:44am
Print Post  
There are a few behavior types that I can set to diagram. The problem begins when I need a combination of behaviors. For instance, what I need is to allow the user to move boxes but not to delete/add/change size or change connections.
Currently there's no behavior type that fits me.
Why not create the BehaviorType values as a bit map (values 2,4,8, etc.) so that user can combine a few behaviors together?
This way user could select MOVABLE_ITEMS and NO_DELETE and NO_ADD.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Behavior Type of diagram - need more types
Reply #1 - May 7th, 2007 at 9:44am
Print Post  
Thanks for the suggestion, we will implement that in a future release. For now, you can use the Modify behavior to prevent adding new items. Also call Box.setEnabledHandles() to disable the adjustment handles used for resizing an item.

Stoyan
  
Back to top
 
IP Logged
 
ymoran00
Full Member
***
Offline



Posts: 163
Joined: May 2nd, 2007
Re: Behavior Type of diagram - need more types
Reply #2 - May 7th, 2007 at 10:40am
Print Post  
I will.
Thanks!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint