Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how 2 achieve this
how 2 achieve this [message #27569] Mon, 05 May 2003 11:02 Go to next message
Eclipse UserFriend
Originally posted by: pradheept.hotmail.com

hi
i want to perform some action whenever a project is opened and closed.
how 2 do this. pl. provide snippet & mail a line in reply

Pradheep T
(pradheept@hotmail.com)
Re: how 2 achieve this [message #27583 is a reply to message #27569] Mon, 05 May 2003 12:06 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.inf.ufsc.br.nospam

You need to install a resource change listener to the project or to the
workspace root (if want to monitor any project).

When a project is opened/closed, a delta will be sent to all resource
listeners.

For more information on resource change listeners, see Eclipse Corner
Article:

"How You've Changed! Responding to resource changes in the Eclipse
workspace"


For a example of resource change listeners, see the Resource Spy in the
Core Tools plug-in (v1.0.1):

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-core-home/dev.html

HTH,

Rafael
Previous Topic:how to add initial enablement logic in xml (plug-in file)?
Next Topic:execute an exe from a java project
Goto Forum:
  


Current Time: Wed May 28 15:46:24 EDT 2025

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

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

Back to the top