Bug 1573 - Presentation should also be content provider (1GDTUJH)
Summary: Presentation should also be content provider (1GDTUJH)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:15 EDT by Darin Wright CLA
Modified: 2001-10-12 23:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2001-10-10 22:15:36 EDT
DW (5/16/01 11:26:07 AM)
	It would be good if the model presentation were also the content provider
	for a view. This would allow the presentation to handle sorting/filtering on
	its own.

DW (8/10/01 11:15:47 AM)
	Currently, the debug UI implements content providers for the debug views.
	This means that it controls the sorting of elements in the view. The JDI
	debug model has to do sorting for variables - i.e. args, locals, statics, etc.
	It would be more desirable to have sorting handled in the presentation layer.

DW (9/20/2001 10:13:38 AM)
	We use actions to add/remove filter (eg. final & static filters). There is no simple
	way for a presentation to add a sorter to a view. Currerntly the model implements
	sorting.
	
	However, the only view where sorting is applicable is in the "variable" view.
	Order is defined in the debug/launch view (eg. stack frames are top-down).

	In views where there are elements from different debug models (breakpoints view),
	we would have to have a top level sorter that first grouped elements (by debug model),
	and then sorted within groups. This would require an API on the presentation to
	"get a sorter for a specific view".

	Deferred to P3.
Comment 1 Darin Wright CLA 2001-10-12 23:22:35 EDT
Decided not to mix model presentation with content provider.