|Connection Selection Tolerance, Adjusting Connection Context, Automatic Layout [message #911675]
||Wed, 12 September 2012 05:36
|| Jeeeyul Lee
Registered: July 2009
For me, clicking polyline consumes pretty much time. I want to give it some tolerance likes GEF does to let user can easily select connection. Can I do this on Graphiti?
As you can see on Figure 1, Creation Connection feedback shows negative mouse pointer to users.
Because, table can reference only tables, not columns.
In common sense, we know that user is not trying to connect table to column.
But ICreateConnectionContext is automatically populated, and there is no chance to adjust context.
I tried some hack in isloated space(inside of CreateConnectionFeature) to walk around this problem, but there were several side effects.
ToolBehaviorProvider provides a way to adjust location info for direct editing, I think it would be great what if there is some adjust method like ToolBehaviorProvider#getLocationInfo.
Each creatation of connection may have different sense, So I suggest that locate adjust method onto create connection feature.
Automatic Call of layout feature
When I removed a column from a table, there will be an empty space.
I can manually call layout feature for resolve this problem,
But I think structural change of PEs should have to call layout feature automatically.
Thanks to great inventors and challengers.
Powered by FUDForum
. Page generated in 0.01752 seconds