|
From: Peter De B. (JIRA) <no...@at...> - 2005-09-02 10:00:25
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-175?page=all ] Peter De Bruycker updated RCP-175: ---------------------------------- type: Improvement (was: Bug) > 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: Improvement > Components: Dialog System > Reporter: Peter De Bruycker > Assignee: 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 |