Bug 271065 - Create a new target platform state view
Summary: Create a new target platform state view
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2009-04-02 17:55 EDT by Chris Aniszczyk CLA
Modified: 2009-04-06 16:55 EDT (History)
1 user (show)

See Also:


Attachments
org.eclipse.pde.ui.patch (48.60 KB, patch)
2009-04-02 18:00 EDT, Chris Aniszczyk CLA
no flags Details | Diff
org.eclipse.pde.ui.patch (51.71 KB, patch)
2009-04-02 18:23 EDT, Chris Aniszczyk CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2009-04-02 17:55:39 EDT
It's currently possible to get a snapshot of the target platform state within the plug-in dependencies view. Unfortunately, noone knows about this. I propose that we create a new view where this information is accessible to anyone. We can also enhance the view to dump the state in a log view which can be useful in the diagnosis of some complicated target issues.

Also, when we have multiple targets, we can evolve this view to support that.
Comment 1 Chris Aniszczyk CLA 2009-04-02 18:00:45 EDT
Created attachment 130774 [details]
org.eclipse.pde.ui.patch
Comment 2 Chris Aniszczyk CLA 2009-04-02 18:23:52 EDT
Created attachment 130776 [details]
org.eclipse.pde.ui.patch

An updated and final patch.

Anyone have a better name than "Target Platform State" ?
Comment 3 Chris Aniszczyk CLA 2009-04-02 18:24:10 EDT
done.

> 20090402
Comment 4 Darin Wright CLA 2009-04-06 14:51:32 EDT
(I'm late on this one...) Although the view could be a debugging tool for PDE developers to see differences between a target definition and eventual target state, I don't see what value the view provides for users in general. To be more useful, it should allow editing - but that is what the target definition editor/preference page already provide. Additionaly, I don't think the view displays resolution error information (which would be useful). The target pref page provides analysis of differences between a definition and state (by pressing "Reload...").

I think we need to consider removing this view from the SDK, and perhaps enhancing it as a separate installable feature that we (as PDE developers) can use to diagnose problems. Am I missing something?
Comment 5 Chris Aniszczyk CLA 2009-04-06 16:39:17 EDT
This "view" has existed for quite awhile but inside the plug-in dependencies view in Eclipse. Therefore noone really knew about it. The goal was to refactor out this view into a separate view so people can know about it.

It does show resolution and wiring issues in the view.
Comment 6 Chris Aniszczyk CLA 2009-04-06 16:55:17 EDT
Also to note, it's very difficult to debug pde state issues without having access to this view. There really is nothing terrible new here, besides the view being refactored out of the dependencies view (see help in Eclipse 3.4 and the 'Show State Status' option).

In the future, we may be willing to change this view as our support for targets expands.