Bug 442243 - Add support for doubleclick actions on diagram background
Summary: Add support for doubleclick actions on diagram background
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-08-21 06:43 EDT by Christian Pontesegger CLA
Modified: 2014-08-21 15:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pontesegger CLA 2014-08-21 06:43:20 EDT
I would like to add a default double click action on a diagram background. Eg. create the most common object of my model.
Comment 1 Laurent Redor CLA 2014-08-21 07:40:37 EDT
As says in forum, the double click is currently available only on diagram elements: 
In DoubleClickEditPolicyProvider[1], we can see that 
DoubleClickEditPolicy is only added for IAbstractDiagramNodeEditPart, 
IDiagramEdgeEditPart and IDiagramNameEditPart.

[1] http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/tree/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/graphical/edit/policies/DoubleClickEditPolicyProvider.java
Comment 2 Christian Pontesegger CLA 2014-08-21 15:32:20 EDT
Right, so this is a new feature request :)