Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How can I be notified when the files in workspace was changed? In order to create a common navigati
How can I be notified when the files in workspace was changed? In order to create a common navigati [message #220884] Mon, 07 August 2006 16:37 Go to next message
Eclipse UserFriend
Originally posted by: dzhpingbo.sohu.com

In my example, I would expect a navigator tree view called "ProcessModel"
can show the current workspace and models, I have done this in my picture
below.

the ProcessModel view now can listen to the change of models in the
EditDomain
Re: How can I be notified when the files in workspace was changed? In order to create a common navi [message #221345 is a reply to message #220884] Fri, 11 August 2006 17:07 Go to previous message
Eclipse UserFriend
Originally posted by: dzhpingbo.sohu.com

I got it.
look in any generated EMF editor you'll find there's a
resourceChangeListener field that holds an instance that listens for
changes in the workspace. Setting a breakpoint in resourceChanged and
watching the events that arrive when you do things like delete a file
from the workspace.

"dzh" <dzhpingbo@sohu.com> д
Previous Topic:Figures and EditParts
Next Topic:UndoablePropertySheetPage and Wrapped/Unwrapped Property Values (EMF.Edit)
Goto Forum:
  


Current Time: Sat Jan 18 08:42:00 GMT 2025

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

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

Back to the top