Bug 1573

Summary: Presentation should also be content provider (1GDTUJH)
Product: [Eclipse Project] JDT Reporter: Darin Wright <darin.eclipse>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows NT   
Whiteboard:

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.