------------------------------
Message: 2
Date: Tue, 04 Sep 2007 10:30:48 -0400
From: Karen Moore <karen.moore@xxxxxxxxxx>
Subject: Re: [dali-dev] Listening for Entity Generation operations
To: "General Dali EJB ORM developer discussion."
<dali-dev@xxxxxxxxxxx>
Message-ID: <46DD6C18.1080901@xxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Chris,
We changed entity generation to use a WorkspaceJob instead of a
IWorkspaceRunnable so that we could make it run in the background
instead of locking up the UI. The Job has the IProject as a scheduling
rule since anything in the project can change. You could set up a Job
as well for the population of your table that also has a scheduling rule
of IProject. Then your Job will not run until our entity generation Job
has completed. Hope this helps.
Karen
Christopher Jaun wrote:
Hello,
Is there a way I can listen for newly generated entities?
I see as a result of this change
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=181816) in the
maintenance stream that entities are now generated in the background
when created with your wizard.
I have a wizard containing a button that allows a user to launch your
entity wizard and when that returns I populate a table with the newly
created entities. Now that these are being generated in the background
I need a way to know when all the entity generation operations are
complete or at least be notified every time a new entity is created so
I can add it to my table.
Is there a way to do this?
Thanks,
Chris
------------------------------------------------------------------------
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
------------------------------
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
End of dali-dev Digest, Vol 24, Issue 1
***************************************