Bug 36223 - Setting description does not send out a preference change
Summary: Setting description does not send out a preference change
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 36197
  Show dependency tree
 
Reported: 2003-04-08 11:32 EDT by Tod Creasey CLA
Modified: 2011-11-09 08:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2003-04-08 11:32:04 EDT
2.1

If we set the workspace description we do not get a preference change event 
sent from the preference store. As a result we have to keep our own preference 
so that an propertyChangedEvent will be fired when this value is updated - if 
a propertyChangeEvent was fired when this occured we could eliminate this call.
Comment 1 Rafael Chaves CLA 2003-04-08 13:33:47 EDT
Tod, setting the workspace description should be the same thing as setting 
each corresponding property (ies) in the preference store. I can't reproduce 
it (events are properly generated for each attribute changed in the workspace 
description object).

Are you sure the workspace description you are setting does not have only 
default values (auto build = true, max file states = 50, etc)? 
Comment 2 Tod Creasey CLA 2003-04-08 13:42:51 EDT
If it has defaults I should still get change notification if the value 
changes - I will investiage further.
Comment 3 Rafael Chaves CLA 2003-04-08 14:22:16 EDT
Tod agreed it works ok. Closing.
Comment 4 Michael Fiedler CLA 2011-11-09 08:48:28 EST
Sorry - assigned wrong bug