[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: synchronize file system and workspace

Zsolt Török wrote:

Hi Vadim,

Apparently you tried lots of different ways to fix this, but let me recommend you another one: writing a WorkspaceJob implementation.

(http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/resources/WorkspaceJob.html)
The javadoc is quite detailed, and it all boils down to putting your workspace modification code into the runInWorkspace method and hooking up a resource change listener.

HTH,
Zsolt
Thank you, Zsolt! I will definetely give it a try.

If anybody has other options as wel, you are welcome :)