Bug 154683

Summary: [gmfgraph] Custom border in gmfgraph model produces uncompilable code
Product: [Modeling] GMF-Tooling (ARCHIVED) Reporter: Michael Golubev <borlander>
Component: CoreAssignee: Michael Golubev <borlander>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: lava20002001
Version: unspecifiedKeywords: contributed
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fixes the subj none

Description Michael Golubev CLA 2006-08-22 08:00:20 EDT
Actually we do not have dispatcher that can process gmfgraph.CustomBorder instance. Thus, using of this feature produces code like 
     this.setBodrer(); 
that can not be compiled. 

The problem is that we need expression to be generated but general CustomClass support is intended to produces statement (or statement list).

Expected: Generator generates createCustomBorder<FigureName> methods for custom borders with code produced by common CustomClass dispatcher, dispatcher for CustomBorders just generate the code like 
     this.setBorder(createCustomBorder<FigureName>)
Comment 1 Michael Golubev CLA 2006-08-22 08:05:06 EDT
Originally requested in news group. See news:127d694a6f8018a0e89e023261707cfb$1@www.eclipse.org
Comment 2 Michael Golubev CLA 2006-08-22 12:13:04 EDT
Created attachment 48388 [details]
Fixes the subj
Comment 3 Alex Shatalin CLA 2006-08-23 08:29:08 EDT
*** Bug 154842 has been marked as a duplicate of this bug. ***
Comment 4 Artem Tikhomirov CLA 2006-08-24 09:10:26 EDT
reviewed and committed
Comment 5 Eclipse Webmaster CLA 2010-07-19 22:21:08 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug