[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.emf] Re: creating a "repository" of resources (using multiple sources)
|
Chris,
No, 1.x development is halted. It would be easy to copy the class to make it work
until you move to 2.0....
Christopher Lee wrote:
> Will this "Load Resource..." action be brought over to EMF 1.1.1? Or is
> 1.1.1 development halted?
>
> Ed Merks wrote:
>
> > Chris,
>
> > You outline a scenario where you want multiple resources and then explain
> that
> > the approach to handling multiple resources doesn't "feel" correct. You'll
> > need to elaborate on that, because I don't understand the basis for your
> > feeling. Certainly a resource set will allow you to do what you are trying
> to
> > achieve and the latest drivers will even generate a "Load Resource..." action
> > to lets you add a resource to the resource set...
>
> > Christopher Lee wrote:
>
> > > Hi,
> > >
> > > So, what I ultimately want to do, is to be able to specify a complex
> > > model, and create instances of that model in multiple resources. If we
> > > take the customer example, I want to be create an instance of a customer,
> > > and save it as a resource. I want to be able to create an order, and have
> > > it reference the customer in another resource. Maybe, the order will
> > > reference other products, specified in one/many product catalog resources.
> > >
> > > I know the book specifies how you would create a model, and save different
> > > portions of the model into separate resources, and then go about how to
> > > load and edit them again, but this approach does not "feel" correct for
> > > the above scenario (willing to argue).
> > >
> > > I have thought that I would create some kind of 'registry' that would load
> > > each individual resource into the (i forget the name of the class that
> > > loads resources =p, ResourceSet?). I have not experimented with this, as
> > > far as if it will allow one resource to be aware of the other ones.
> > >
> > > is anyone taking this approach, or trying to solve this type of problem?
> > >
> > > Chris