Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Help with keeping track of changes to resources
Help with keeping track of changes to resources [message #149258] Wed, 19 April 2006 07:33 Go to next message
Eclipse UserFriend
Originally posted by: Roohullah.popal.aeroflex.com

Hi! I am developing a simple plugin which displays the list of files in
folder outside the workspace. I know this can only be implemented through
the linked resource method. I also need to keep track of changes that have
been made to these files(i.e. delete and added etc). The
IResourceChangelistener is not sufficient since it is only appropriate for
changes made by the workspace. I need to monitor the files at all times
and refresh the view to reflect the changes made by other programs or
through windows explorer. As far I know this can be achieved by using the
org.eclipse.core.resource.win32 fragment, but my problem is that i can
locate the fragment in the plugin directory but i cant import it to the
view class. I have looked around for articles on how to use/activate
fragments but found nothing. Can anyone please provide me with some
insight into this issue? examples of how to use this fragment would be
great. Thanks
Re: Help with keeping track of changes to resources [message #149320 is a reply to message #149258] Thu, 20 April 2006 07:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Roohullah.popal.aeroflex.com

can anyone please direct me to the correct newsgroup because nobody seem
to be interested in this topic here.
Re: Help with keeping track of changes to resources [message #149364 is a reply to message #149320] Thu, 20 April 2006 19:34 Go to previous messageGo to next message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Roohulla Popal wrote:
> can anyone please direct me to the correct newsgroup because nobody seem
> to be interested in this topic here.

I'd suggest eclipse.platform myself.

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Re: Help with keeping track of changes to resources [message #149550 is a reply to message #149258] Mon, 24 April 2006 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: daniel.megert.eclipse.org

Roohulla Popal wrote:

> Hi! I am developing a simple plugin which displays the list of files
> in folder outside the workspace. I know this can only be implemented
> through the linked resource method. I also need to keep track of
> changes that have been made to these files(i.e. delete and added etc).
> The IResourceChangelistener is not sufficient since it is only
> appropriate for changes made by the workspace. I need to monitor the
> files at all times and refresh the view to reflect the changes made by
> other programs or through windows explorer. As far I know this can be
> achieved by using the org.eclipse.core.resource.win32 fragment, but my
> problem is that i can locate the fragment in the plugin directory but
> i cant import it to the view class. I have looked around for articles
> on how to use/activate fragments but found nothing. Can anyone please
> provide me with some insight into this issue? examples of how to use
> this fragment would be great. Thanks

The Windows download of the SDK contains the fragment but you don't need
that fragment directly: it's a user preference whether changes outside
Eclipse are tracked and reported to via resource deltas (see Window >
Preferences > Workspace > Refresh automatically.

Dani
Re: Help with keeping track of changes to resources [message #149903 is a reply to message #149550] Wed, 26 April 2006 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Roohullah.popal.aeroflex.com

Thanks! that did the job, but can this preference be set programatically.
Re: Help with keeping track of changes to resources [message #149911 is a reply to message #149903] Wed, 26 April 2006 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roohulla Popal schreef:
> Thanks! that did the job, but can this preference be set programatically.

Which one? You didn’t quote any context, so I don’t know what you are
talking about. Read op on some netiquette.

H.

- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFET3EPe+7xMGD3itQRAkeQAJ0Zq7A2tC+M+v4tByEfRbESVda+RgCf WRQq
xmq3jOi4xmaQM2/D6zTIJCk=
=0hiJ
-----END PGP SIGNATURE-----
Re: Help with keeping track of changes to resources [message #149918 is a reply to message #149550] Wed, 26 April 2006 16:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Roohullah.popal.aeroflex.com

Daniel Megert wrote:

> Roohulla Popal wrote:

>> Hi! I am developing a simple plugin which displays the list of files
>> in folder outside the workspace. I know this can only be implemented
>> through the linked resource method. I also need to keep track of
>> changes that have been made to these files(i.e. delete and added etc).
>> The IResourceChangelistener is not sufficient since it is only
>> appropriate for changes made by the workspace. I need to monitor the
>> files at all times and refresh the view to reflect the changes made by
>> other programs or through windows explorer. As far I know this can be
>> achieved by using the org.eclipse.core.resource.win32 fragment, but my
>> problem is that i can locate the fragment in the plugin directory but
>> i cant import it to the view class. I have looked around for articles
>> on how to use/activate fragments but found nothing. Can anyone please
>> provide me with some insight into this issue? examples of how to use
>> this fragment would be great. Thanks

> The Windows download of the SDK contains the fragment but you don't need
> that fragment directly: it's a user preference whether changes outside
> Eclipse are tracked and reported to via resource deltas (see Window >
> Preferences > Workspace > Refresh automatically.

> Dani


Thanks mate!can this preference be set programatically.
Re: Help with keeping track of changes to resources [message #150379 is a reply to message #149918] Sun, 30 April 2006 19:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: roohullah.popal.aeroflex.com

CAN ANYONE HELP!


Roohulla Popal wrote:

> Daniel Megert wrote:

>> Roohulla Popal wrote:

>>> Hi! I am developing a simple plugin which displays the list of files
>>> in folder outside the workspace. I know this can only be implemented
>>> through the linked resource method. I also need to keep track of
>>> changes that have been made to these files(i.e. delete and added etc).
>>> The IResourceChangelistener is not sufficient since it is only
>>> appropriate for changes made by the workspace. I need to monitor the
>>> files at all times and refresh the view to reflect the changes made by
>>> other programs or through windows explorer. As far I know this can be
>>> achieved by using the org.eclipse.core.resource.win32 fragment, but my
>>> problem is that i can locate the fragment in the plugin directory but
>>> i cant import it to the view class. I have looked around for articles
>>> on how to use/activate fragments but found nothing. Can anyone please
>>> provide me with some insight into this issue? examples of how to use
>>> this fragment would be great. Thanks

>> The Windows download of the SDK contains the fragment but you don't need
>> that fragment directly: it's a user preference whether changes outside
>> Eclipse are tracked and reported to via resource deltas (see Window >
>> Preferences > Workspace > Refresh automatically.

>> Dani


> Thanks mate!can this preference be set programatically.
Re: Help with keeping track of changes to resources [message #157220 is a reply to message #150379] Fri, 16 June 2006 21:26 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4485
Registered: July 2009
Senior Member

roohullah popal wrote:
> CAN ANYONE HELP!

Yes, since it can be found using
ResourcesPlugin.getPlugin().getPluginPreferences() as a Boolean with
a key of ResourcesPlugin.PREF_AUTO_REFRESH. However, since it is
not your own preference and it's controllable by the user, I'd
discourage changing it on your own.


--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:how to open netbeans project in Eclipse?
Next Topic:Listening for Perspective Changes
Goto Forum:
  


Current Time: Sun Sep 01 07:37:48 GMT 2024

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

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

Back to the top