Bug 432889 - Ease the use of egde tools
Summary: Ease the use of egde tools
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0M4   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-04-16 06:00 EDT by Yvan Lussaud CLA
Modified: 2014-04-17 03:03 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2014-04-16 06:00:16 EDT
In order to prevent trips between the diagram and the tool palette for edge tools,some kind of aggregating tool should be made.

The idea is to have a hot key that enable an edge tool that aggregates defined edge tools. Like ctrl allow to keep the current tool to an other use.

Let say shift for instance.

Shit+click should select a set of edge tools that are applicable for the selected source.

The union of possible targets should be made available in order to select a target

After selecting a target, if there are more than one tool that can be used, feedback should be provided in order to select one tool.

The selected tool should be applied.
Comment 1 Melanie Bats CLA 2014-04-16 06:09:13 EDT
To ease the use of edge tools, they should be available also in the pop up toolbar.
Comment 2 Maxime Porhel CLA 2014-04-16 06:17:09 EDT
It is an idea to improve and facilitate the creation of edges. 

Do you already have a draft/prototype ?



Another idea could be to populate the modeling assistants with the edge tools.
Comment 3 Yvan Lussaud CLA 2014-04-16 08:24:53 EDT
I think both approaches will ease the use of edge creation but the shift+click seems more ergonomic to me.

I don't have any prototype but by quickly looking at the code

org.eclipse.sirius.diagram.tools.internal.palette.ConnectionCreationTool

might be a good entry point with getCurrentInput() to get the shift modifier...
Comment 4 Cedric Brun CLA 2014-04-16 10:27:48 EDT
It looks a lot like the GMF edge handles (which are not supported in Sirius yet) isn't it ?

https://wiki.eclipse.org/images/0/07/Connection_handle.png
Comment 5 Yvan Lussaud CLA 2014-04-17 03:03:04 EDT
I can't figure out if the tool selection take place at the source selection or the target selection. If it's when the target is selected then it's the same feature. If not, it's not optimal.