Image and title in TitledPageApplicationDialog when using CompositeDialogPage
-----------------------------------------------------------------------------
Key: RCP-175
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-175
Project: Spring Framework Rich Client Project
Type: Bug
Components: Dialog System
Reporter: Peter De Bruycker
Assigned to: Oliver Hutchison
Priority: Minor
When putting a CompositeDialogPage in a TitledPageApplicationDialog, the image and title text in the title-area of the dialog are not updated when another DialogPage is made active.
(The image is always the default image, not the image of the DialogPage, and the title text is always the title of the Dialog)
This fixes it:
in CompositeDialogPage add these methods:
public Image getImage() {
if (activePage != null) {
return activePage.getImage();
}
return super.getImage();
}
public String getTitle() {
if (activePage != null) {
return activePage.getTitle();
}
return super.getTitle();
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|