|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 20:33:25
|
[ http://jira.springframework.org/browse/RCP-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-175:
-----------------------------
Fix Version/s: 1.x
> Image and title in TitledPageApplicationDialog when using CompositeDialogPage
> -----------------------------------------------------------------------------
>
> Key: RCP-175
> URL: http://jira.springframework.org/browse/RCP-175
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Components: Dialog System
> Reporter: Peter De Bruycker
> Assignee: Oliver Hutchison
> Priority: Minor
> Fix For: 1.x
>
>
> 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://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|