[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: model changes after loading

Jörg,

I'm not sure how it would always make sense to modify the state during loading, but you could use this resource load option to get a  callback when loading is completed.
  /**
   * A {@link ResourceHandler} value that can be registered to receive call backs
   * for loading from an input stream or saving to an output stream.
   * @see org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler
   * @see org.eclipse.emf.ecore.xmi.impl.BasicResourceHandler
   */
  String OPTION_RESOURCE_HANDLER = "RESOURCE_HANDLER";


Jörg wrote:
Hello,

sorry for my english. i try my best. so i have some elements. these elements have ID(String) and they refer each other over these IDs. Now i want to fill an EReference linklist with the corresponding elements. I have to do this, after this model has been completely loaded. Where is that point rather where i have can i implement my code to do this?

Thanks in advance