Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-ui-dev] Which is the right place to subscribe for resource change events?

You may be better of using a "rename refactoring participant" rather than 
a resource change listener for this sort of thing.

@see the org.eclipse.ltk.core.refactoring.renameParticipants extension 
point.

Darin 



Gabriel Petrovay <gabipetrovay@xxxxxxxxx> 
Sent by: pde-ui-dev-bounces@xxxxxxxxxxx
06/12/2008 04:21 AM
Please respond to
"Eclipse PDE UI developers list." <pde-ui-dev@xxxxxxxxxxx>


To
pde-ui-dev@xxxxxxxxxxx
cc

Subject
[pde-ui-dev] Which is the right place to subscribe for resource change 
events?






Hi all,

Which is the right place to subscribe for resource change events? I want 
to detect when a project name changes and change all the properties that 
depend on the project name.

Where should I put the following line? In the start method of my plugin?

ResourcesPlugin.getWorkspace().addResourceChangeListener(listener)

Thanks!
_______________________________________________
pde-ui-dev mailing list
pde-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-ui-dev




Back to the top