Community
Participate
Working Groups
Create an extra long path (e.g. C:\programs\eclipse\eclipse-SDK-I20031125-win32\eclipse\workspace\test\test.jar) for the JAR and run the wizard twice. On the second run you'll be prompted to confirm the replace. The path on that dialog is not readable. The dialog should either be resizable (or size itself according to the path) or it should use a strategy to shorten the path (like C:\foo\...\bar\filename).
This is a general issue with the MessageDialog (or to be more clear: the wrapping behavior of Label): it automatically breaks but only if there are white space characters. It should either wrap or allow to see the full text somehow.
This is an issue with the wrap algorithms on many platforms - this sort of thing cannot be done generically as we would have to take the lowest common denominator (wrap only on space) and shorten based on that which would break platform look and feel everywhere.
I agree that MessageDialog should not/cannot have a wrapping strategy for its message. But: The path should be shortened *before* it is stuffed into the dialog as its message. @@ Side note @@ Wasn't there a mention from one of you guys in a email list/newsgroup somewhere that there would/should be a generic path "shortener" for the entire Eclipse platform to use?
There has been a suggestion but no plan yet. Please feel free to provide a suggested implementation.
This has been fixed in the meantime.
.