Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 547841

Summary: DOT Editor - Extend the content assistant support by subgraph template proposals
Product: [Tools] GEF Reporter: Tamas Miklossy <miklossy>
Component: GEF DOTAssignee: Zoey Gerrit Prigge <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 5.2.0 (2019-09)   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Screenshot about the current subgraph proposals. none

Description Tamas Miklossy CLA 2019-06-02 02:18:30 EDT
Created attachment 278797 [details]
Screenshot about the current subgraph proposals.

Currently, the DOT Editor proposes the 'subgraph' keyword when the content assistant is invoked on a place where subgraph definitions are allowed.
(see also the attached screenshot).

Additional subgraph template proposals should be offered on such places:
- subgraph with opening and closing curly braces
- subgraph with name (as placeholder variable) and opening and closing curly braces
- cluster subgraph with name (as placeholder variable where it is already prefixed with 'cluster'.

Hint: the already supported template proposals are available under
https://github.com/eclipse/gef/blob/master/org.eclipse.gef.dot.ui/templates/templates.xml
Comment 1 Tamas Miklossy CLA 2019-06-20 01:41:58 EDT
Thank you Zoey for your contribution! I merged your PR into the master branch.
Comment 2 Tamas Miklossy CLA 2019-06-28 08:32:43 EDT
Resolving as fixed in 5.2.0 (2019-09)