Bug 154683 - [gmfgraph] Custom border in gmfgraph model produces uncompilable code
Summary: [gmfgraph] Custom border in gmfgraph model produces uncompilable code
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-08-22 08:00 EDT by Michael Golubev CLA
Modified: 2010-07-19 22:21 EDT (History)
1 user (show)

See Also:


Attachments
Fixes the subj (48.89 KB, patch)
2006-08-22 12:13 EDT, Michael Golubev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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