Bug 130157 - Can I call Configuration Details from headless?
Summary: Can I call Configuration Details from headless?
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 12:18 EST by Christophe Elek CLA
Modified: 2019-09-06 03:34 EDT (History)
3 users (show)

See Also:


Attachments
Patch for org.eclipse.core.runtime (11.38 KB, patch)
2006-04-03 11:07 EDT, Christophe Elek CLA
no flags Details | Diff
patch for org.eclipse.ui (7.71 KB, patch)
2006-04-03 11:07 EDT, Christophe Elek CLA
no flags Details | Diff
patch for org.eclipse.ui.workbench (8.09 KB, patch)
2006-04-03 11:08 EDT, Christophe Elek CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Elek CLA 2006-03-02 12:18:06 EST
Is it possible to call 'Configuration Details' from headless ?
(the button is avail in Help->about)

Could it be done while Eclipse is up and running ? (by starting an app without locking the workspace ? maybe pointing at the configuration ?)

We want to dump info about eclipse config if an issue occurs, so we know the java properties, loaded plugins and info in .log

Thanks :)
Comment 1 Tod Creasey CLA 2006-03-08 09:47:34 EST
The dialog cannot be but there you can call the API from Core. Moving to core for advice.
Comment 2 Pascal Rapicault CLA 2006-03-08 11:24:50 EST
The data being displayed in the configuration details is provided by various contributors (I think there is an extension point in UI land: org.eclipse.ui.systemSummaryExtensions) and therefore there is no such APIs.

However I think it might be good to try to move the extension point out of runtime so that such a requirement could be fullfilled. Would you like to prototype that?

In the interim, you can get all the runtime stuffs by various APIs.
Comment 3 Christophe Elek CLA 2006-03-15 13:24:13 EST
Pascal, Yep,
Can you elaborate ?  I checked org.eclipse.ui.systemSummaryExtensions... you are sating the best way would be to move the extension point OUT of UI into Runtime ? And then provide API for it ?
Comment 4 Pascal Rapicault CLA 2006-03-16 17:52:24 EST
Yes Christophe, moving the ui extension point into runtime would be the easiest way to go, especially now that we have decoupled the extension point namespace from the plug-in one.
As for the API, I'm not sure what would be best here.
Comment 5 Christophe Elek CLA 2006-04-03 09:49:13 EDT
Starting refactoring in 3.2 M6
Comment 6 Christophe Elek CLA 2006-04-03 11:07:21 EDT
Created attachment 37530 [details]
Patch for org.eclipse.core.runtime
Comment 7 Christophe Elek CLA 2006-04-03 11:07:49 EDT
Created attachment 37531 [details]
patch for org.eclipse.ui
Comment 8 Christophe Elek CLA 2006-04-03 11:08:14 EDT
Created attachment 37532 [details]
patch for org.eclipse.ui.workbench
Comment 9 Christophe Elek CLA 2006-04-03 11:09:23 EDT
Tested with 3.2M6, looks good, Pascal, you mind checking the patch ? Thanks
Comment 10 Jeff McAffer CLA 2006-04-04 15:56:10 EDT
of course, some UI team interaction would be needed here...  Adding Boris cause he seems like that kind of guy...
Comment 11 Jeff McAffer CLA 2006-04-09 22:16:24 EDT
-1 for 3.2.  Thanks for the patches but this touches on a number of pluigns and it is getting too late in the cycle.  We can revisit in 3.3 as part of a manageabilty effort.
Comment 12 Christophe Elek CLA 2007-01-16 13:32:25 EST
Hey Jeff... Is now a good time to revisit for 3.3 ? :)
Comment 13 Lars Vogel CLA 2019-09-06 03:34:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it and remove the stalebug whiteboard tag. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.