Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » property changes on a resource
property changes on a resource [message #326653] Thu, 27 March 2008 14:34 Go to next message
Eclipse UserFriend
Originally posted by: deam_38.yahoo.fr

Hi,

I'm looking for a way to add persistent property change listener on a
resource.

I've read in the FAQ
( http://wiki.eclipse.org/FAQ_How_can_I_be_notified_on_propert y_changes_on_a_resource%3F)
that Eclipse do not manage this kind of listeners for performance
constraints.

IResourceChangeListener and IPropertyChangeListener do not respond to my
problem.


The concrete thing I want to do is the following:

I've created a first plugin which manages the creation of Projects. These
projects are configuration projects. A part of this configuration can be
set threw Properties pages. They can't be compiled but since the
configuration is complexe, it required to be a specific project kind.

I've created a second plugin which manages the creation of another kind of
project. Each of these projects is linked to a configuration defined by
the first kind of project.

I want that my second kind of projects can be aware of any change in the
associated configuration project.


Thanks for any help.


Deam.
Re: property changes on a resource [message #326658 is a reply to message #326653] Thu, 27 March 2008 16:30 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
As far as I know there is no way in Eclipse to have events associated
with either session or persistent property changes. You will have to
create your own mechanism to do this.

deam wrote:
> Hi,
>
> I'm looking for a way to add persistent property change listener on a
> resource.
>
> I've read in the FAQ
> ( http://wiki.eclipse.org/FAQ_How_can_I_be_notified_on_propert y_changes_on_a_resource%3F)
>
> that Eclipse do not manage this kind of listeners for performance
> constraints.
>
> IResourceChangeListener and IPropertyChangeListener do not respond to my
> problem.
>
>
> The concrete thing I want to do is the following:
>
> I've created a first plugin which manages the creation of Projects.
> These projects are configuration projects. A part of this configuration
> can be set threw Properties pages. They can't be compiled but since the
> configuration is complexe, it required to be a specific project kind.
>
> I've created a second plugin which manages the creation of another kind
> of project. Each of these projects is linked to a configuration defined
> by the first kind of project.
>
> I want that my second kind of projects can be aware of any change in the
> associated configuration project.
>
>
> Thanks for any help.
>
>
> Deam.
>


Previous Topic:How to disable/replace eclipse logger implementation
Next Topic:Open a blank editor.
Goto Forum:
  


Current Time: Wed Feb 05 06:58:28 GMT 2025

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

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

Back to the top