[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] revert should refresh

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-02-23 17:36:29 CET

Daniel Serodio <daniel.listas@xxx.com.br> wrote on 02/23/2006 11:21:57 AM:

> Mark Phippard wrote:
> > The job of Subclipse, or any plugin, is not to explicitly refresh
> > it is to send the proper notifications that the file has been changed.
> > Eclipse framework then takes care of the rest. We definitely send
> > notifications, that is why you see the decorators change.
> >
> > When I test this specific example it works correctly for me. When I
> > revert the change the decorators change and if I view the project
> > Properties the reverted settings are showing.
> >
> > The rest is up to Eclipse.
> >
> I agree, but what I don't understand is why "Refresh Automatically" is
> not selected by default. Most Eclipse (not only Subclipse) newbies get
> bitten by the need to hit Refresh.

Refresh Automatically exists for a different reason. If you work entirely
in Eclipse everything should refresh automatically by default (as long as
the plugins are well-behaved and send change notifications). This
preference exists to have Eclipse monitor your workspaces for changes that
are made outside of Eclipse. So, if you edit a file using an external
editor when you save it, Eclipse will pick up the change and notify the
change listeners. Prior to this setting you would have to do a manual

In general, you do not need this preference turned on as it is a fairly
heavy process and only solves a problem that you might not even have.


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Feb 23 17:53:11 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.