Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Body of getViewChildren exceeds 64K
Body of getViewChildren exceeds 64K [message #205952] Thu, 18 September 2008 11:16 Go to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi,

I'm currently working with a fairly big metamodel consisting of around
160 different nodes and a few hundred references (which are mapped to
nodes and connections in the editor). When I generate the diagram code,
the body of the getViewChildren(View view, Object parentElement) in the
XXXNavigatorContentProvider class exceeds 64K and Eclipse complains
about that. Is this a known limitation? Any workarounds?

Cheers,
Dimitrios
Re: Body of getViewChildren exceeds 64K [message #205968 is a reply to message #205952] Thu, 18 September 2008 11:18 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
In case it makes a difference, I'm using the version of GMF that ships
with the Ganymede Modeling distribution (2.1.0?)

Dimitrios Kolovos wrote:



> Hi,
>
> I'm currently working with a fairly big metamodel consisting of around
> 160 different nodes and a few hundred references (which are mapped to
> nodes and connections in the editor). When I generate the diagram code,
> the body of the getViewChildren(View view, Object parentElement) in the
> XXXNavigatorContentProvider class exceeds 64K and Eclipse complains
> about that. Is this a known limitation? Any workarounds?
>
> Cheers,
> Dimitrios
Re: Body of getViewChildren exceeds 64K [message #205990 is a reply to message #205952] Thu, 18 September 2008 11:24 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Dimitrios,

Well, we have riched this limit several times in the past with other generated
classes.. ;-(
Can you please submitt bug report for it?
Concerning the workaround for now - you can modify this method splitting
it on two or more..

-----------------
Alex Shatalin
Re: Body of getViewChildren exceeds 64K [message #205998 is a reply to message #205990] Thu, 18 September 2008 11:38 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Alex,

Thanks for your prompt reply. This is indeed a quite common problem with
generators.

The bug report is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=247810

Cheers,
Dimitrios

Alex Shatalin wrote:
> Hello Dimitrios,
>
> Well, we have riched this limit several times in the past with other
> generated classes.. ;-(
> Can you please submitt bug report for it?
> Concerning the workaround for now - you can modify this method splitting
> it on two or more..
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:adding child figures causes bounds anomalies when zoomed out
Next Topic:Is it possible to use GMF on a abstract semantic model ?
Goto Forum:
  


Current Time: Mon May 17 03:38:18 GMT 2021

Powered by FUDForum. Page generated in 0.01598 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top