Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » Very Important : How to load lazily any element which is there in containment relationship
Very Important : How to load lazily any element which is there in containment relationship [message #607547] Wed, 06 August 2008 07:34
Eclipse User
Originally posted by: rmishra.tibco.com

Hi ,
i have a model which is some thing like this ,
<Table>
<DecisionTable/>
</Table>
Table and DecisionTable elemens have containment relationship.
i feed this model as input to the tree viewer . This model gets opened in an
editor on double click of table node .
when we released first version of this perticular application we did not
consider of possibility of very larget tables (50 MB size ) and defined
containment relationship between Table element and DecisionTable element .
DecsionTable element is the one which has this large data.
Now because of large data inside DecsionTable node ,tree view population
takes time(it loads whole data from file system) . If there are 2 , 3 such
tables ,application hangs even at the time of population of tree view.
Now we want some how to load <DecisionTable> element lazily on double click
of <Table> node . <DecisionTable> node is not shown in the view only
<Table> node is shown.
We could achieve this by chnaging relationship between <Table> and
<DecisionTable> to Reference from Containment but at this point in time we
can not chnage model because of backward compatibilty issue .We will not be
able to open old models if we do that .
One more option we have to write our own content provider but i would like
to acheive this EMF ways .
So , please help me out if it can be achieved in EMF ways . I just want to
load lazily any element which is there in containment relationship.
Thanks ,
Raju Mishra
Previous Topic:org.eclipse.emf.mwe?
Next Topic:Very Important : How to load lazily any element which is there in containment relationship
Goto Forum:
  


Current Time: Sun Sep 21 16:25:54 GMT 2014

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

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