Community
Participate
Working Groups
I found it bit obstructing that there is no easy way to get the system summary information (shown in the AboutSystemDialog). I want to make a service call function that automatically encloses the system summary information. Therefore I have to rewrite all the things from the AboutSystemDialog - hence use internal classes from org.eclipse.ui.internal. For those cases it would be nice to gain the system summary text via a simple public API function.
Can you specify what information that are looking for?
I'm looking for the same information that is displayd within the AboutSystemDialog - that dialog you'll get with Help>About>Configuration Details The problem is, that these "Configuration Details" are difficult to get outside that dialog. I'm missing a simple function like Platform.getConfigurationDetails() ... that gave me the same String that is shown in the AboutSystemDialog. For now I have to copy all the code out of the AboutSystemDialog. So I have to access a lot of internal classes.
The text is all provided by one call, org.eclipse.ui.internal.ConfigurationInfo.getSystemSummary() What information do you need that is not included by that? PW
Ah ok, I see - thank you Paul. I accidentally looked at 3.3 sources. It's just a bit disadvantageous ConfigurationInfo is an internal class.
We use this call as it is very useful for creating a summary string that we can embed in our problem reporting. The information is generally useful and already publicised in the Eclipse About dialog -> System Information, Configuration tab. It really should be a public API - to write similar code would require cloning several internal values and we would rather it is standardised. You could add the following static method to PlatformUI class or some new public class. public static String getSystemSummary() { return ConfigurationInfo.getSystemSummary(); } Thanks