|
From: Peter De B. <pet...@gm...> - 2007-10-07 20:18:31
|
The CommandButtonIconInfo.configure method sets the icon properties (icon, selectedIcon, disabledIcon, pressedIcon and rolloverIcon) on a command button. But there's different behaviour depending on the effective type of the button: On a JMenu, all icons are set to null, on a JMenuItem, the icon and disabledIcon are set, and on all other types, all icons are set. This means that when creating a popup menu with a sub menu, the sub menu will never have an icon. Wouldn't it be better to just set all the icons on all types of buttons? That way, the icons are completely configured using the images.properties. What do you think? Peter |
|
From: Benoit X. <bx...@ob...> - 2007-10-08 16:08:31
|
That would be great. It would also be useful to have the ability to have = an icon at the =93parent=94 of the sub-menu; at the moment I do not think = that either work when there is a submenu. =20 I=92m willing to test any new code on this subject (and the =93minimise all=94 command that, I believe, you were working = on?) =20 Thanks a lot, =20 Kind regards =20 Benoit =20 ------------------------------- IMPORTANT NOTICE This communication contains information that is = considered confidential and may also be privileged . It is for the exclusive use of = the intended recipient(s). If you are not the intended recipient(s) please = note that any form of distribution, copying or use of this communication or = the information in it is strictly prohibited and may be unlawful. If you = have received this communication in error please return it to the sender and delete the original. =20 From: spr...@li... [mailto:spr...@li...] On Behalf = Of Peter De Bruycker Sent: 07 October 2007 21:18 To: Spr...@li... Subject: [Springframework-rcp-dev] CommandButtonIconInfo question =20 The CommandButtonIconInfo.configure method sets the icon properties = (icon, selectedIcon, disabledIcon, pressedIcon and rolloverIcon) on a command button. But there's different behaviour depending on the effective type of the button:=20 On a JMenu, all icons are set to null, on a JMenuItem, the icon and disabledIcon are set, and on all other types, all icons are set. This means that when creating a popup menu with a sub menu, the sub menu will never have an icon.=20 Wouldn't it be better to just set all the icons on all types of buttons? That way, the icons are completely configured using the = images.properties. What do you think? Peter No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: = 07/10/2007 18:12 No virus found in this outgoing message. Checked by AVG Free Edition.=20 Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: = 07/10/2007 18:12 =20 |
|
From: Peter De B. <pet...@gm...> - 2007-10-08 18:14:51
|
If no one objects, I'm going to change the existing code in CommandButtonIconInfo, so if someone has a remark, please answer this mail. On 10/8/07, Benoit Xhenseval <bx...@ob...> wrote: > > That would be great. It would also be useful to have the ability to have > an icon at the "parent" of the sub-menu; at the moment I do not think that > either work when there is a submenu. > what do you mean with "the parent of the sub-menu"? I'm willing to test any new code on this subject > great (and the "minimise all" command that, I believe, you were working on?) > yep, still on my list Thanks a lot, > > > > Kind regards > > > > Benoit > > > > ------------------------------- > > IMPORTANT NOTICE This communication contains information that is > considered confidential and may also be privileged . It is for the exclusive > use of the intended recipient(s). If you are not the intended recipient(s) > please note that any form of distribution, copying or use of this > communication or the information in it is strictly prohibited and may be > unlawful. If you have received this communication in error please return it > to the sender and delete the original. > > > > *From:* spr...@li... [mailto: > spr...@li...] *On Behalf Of *Peter > De Bruycker > *Sent:* 07 October 2007 21:18 > *To:* Spr...@li... > *Subject:* [Springframework-rcp-dev] CommandButtonIconInfo question > > > > The CommandButtonIconInfo.configure method sets the icon properties (icon, > selectedIcon, disabledIcon, pressedIcon and rolloverIcon) on a command > button. > > But there's different behaviour depending on the effective type of the > button: > > On a JMenu, all icons are set to null, > on a JMenuItem, the icon and disabledIcon are set, > and on all other types, all icons are set. > > This means that when creating a popup menu with a sub menu, the sub menu > will never have an icon. > > Wouldn't it be better to just set all the icons on all types of buttons? > That way, the icons are completely configured using the images.properties. > > What do you think? > > Peter > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: > 07/10/2007 18:12 > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: > 07/10/2007 18:12 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > > |
|
From: Andy D. <an...@ma...> - 2007-10-08 20:29:12
|
I'm all for the change myself. - Andy Peter De Bruycker wrote: > If no one objects, I'm going to change the existing code in > CommandButtonIconInfo, so if someone has a remark, please answer this > mail. > > > > On 10/8/07, * Benoit Xhenseval* <bx...@ob... > <mailto:bx...@ob...>> wrote: > > That would be great. It would also be useful to have the ability > to have an icon at the "parent" of the sub-menu; at the moment I > do not think that either work when there is a submenu. > > > what do you mean with "the parent of the sub-menu"? > > > I'm willing to test any new code on this subject > > > > great > > (and the "minimise all" command that, I believe, you were working on?) > > > yep, still on my list > > > Thanks a lot, > > > > Kind regards > > > > Benoit > > > > ------------------------------- > > IMPORTANT NOTICE This communication contains information that is > considered confidential and may also be privileged . It is for the > exclusive use of the intended recipient(s). If you are not the > intended recipient(s) please note that any form of distribution, > copying or use of this communication or the information in it is > strictly prohibited and may be unlawful. If you have received this > communication in error please return it to the sender and delete > the original. > > > > *From:* spr...@li... > <mailto:spr...@li...> > [mailto:spr...@li... > <mailto:spr...@li...>] > *On Behalf Of *Peter De Bruycker > *Sent:* 07 October 2007 21:18 > *To:* Spr...@li... > <mailto:Spr...@li...> > *Subject:* [Springframework-rcp-dev] CommandButtonIconInfo question > > > > The CommandButtonIconInfo.configure method sets the icon > properties (icon, selectedIcon, disabledIcon, pressedIcon and > rolloverIcon) on a command button. > > But there's different behaviour depending on the effective type of > the button: > > On a JMenu, all icons are set to null, > on a JMenuItem, the icon and disabledIcon are set, > and on all other types, all icons are set. > > This means that when creating a popup menu with a sub menu, the > sub menu will never have an icon. > > Wouldn't it be better to just set all the icons on all types of > buttons? That way, the icons are completely configured using the > images.properties. > > What do you think? > > Peter > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: > 07/10/2007 18:12 > > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: > 07/10/2007 18:12 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > <mailto:Spr...@li...> > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > |
|
From: Benoit X. <bx...@ob...> - 2007-10-08 21:19:03
|
Hi All,
Peter, thanks for the MinimizeAllCommand.
I was wondering how you suggest to configure the CascadeCommand to have
resizeFrame = false;
The issue is that the command is not a bean but created explicitly in
DesktopPaneContextMenuFactory
CascadeCommand cascadeCommand = new CascadeCommand( desktop );
And the DesktopPaneContextMenuFactory is itself instantiated explicitly in
DesktopApplicationPage
Any suggestion welcomed...
Best regards
Benoit.
-------------------------------
IMPORTANT NOTICE This communication contains information that is considered
confidential and may also be privileged . It is for the exclusive use of the
intended recipient(s). If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful. If you have
received this communication in error please return it to the sender and
delete the original.
-----Original Message-----
From: spr...@li...
[mailto:spr...@li...] On Behalf Of
Andy DePue
Sent: 08 October 2007 21:40
To: spr...@li...
Subject: Re: [Springframework-rcp-dev] CommandButtonIconInfo question
I'm all for the change myself.
- Andy
Peter De Bruycker wrote:
> If no one objects, I'm going to change the existing code in
> CommandButtonIconInfo, so if someone has a remark, please answer this
> mail.
>
>
>
> On 10/8/07, * Benoit Xhenseval* <bx...@ob...
> <mailto:bx...@ob...>> wrote:
>
> That would be great. It would also be useful to have the ability
> to have an icon at the "parent" of the sub-menu; at the moment I
> do not think that either work when there is a submenu.
>
>
> what do you mean with "the parent of the sub-menu"?
>
>
> I'm willing to test any new code on this subject
>
>
>
> great
>
> (and the "minimise all" command that, I believe, you were working on?)
>
>
> yep, still on my list
>
>
> Thanks a lot,
>
>
>
> Kind regards
>
>
>
> Benoit
>
>
>
> -------------------------------
>
> IMPORTANT NOTICE This communication contains information that is
> considered confidential and may also be privileged . It is for the
> exclusive use of the intended recipient(s). If you are not the
> intended recipient(s) please note that any form of distribution,
> copying or use of this communication or the information in it is
> strictly prohibited and may be unlawful. If you have received this
> communication in error please return it to the sender and delete
> the original.
>
>
>
> *From:* spr...@li...
> <mailto:spr...@li...>
> [mailto:spr...@li...
> <mailto:spr...@li...>]
> *On Behalf Of *Peter De Bruycker
> *Sent:* 07 October 2007 21:18
> *To:* Spr...@li...
> <mailto:Spr...@li...>
> *Subject:* [Springframework-rcp-dev] CommandButtonIconInfo question
>
>
>
> The CommandButtonIconInfo.configure method sets the icon
> properties (icon, selectedIcon, disabledIcon, pressedIcon and
> rolloverIcon) on a command button.
>
> But there's different behaviour depending on the effective type of
> the button:
>
> On a JMenu, all icons are set to null,
> on a JMenuItem, the icon and disabledIcon are set,
> and on all other types, all icons are set.
>
> This means that when creating a popup menu with a sub menu, the
> sub menu will never have an icon.
>
> Wouldn't it be better to just set all the icons on all types of
> buttons? That way, the icons are completely configured using the
> images.properties.
>
> What do you think?
>
> Peter
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date:
> 07/10/2007 18:12
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date:
> 07/10/2007 18:12
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Springframework-rcp-dev mailing list
> Spr...@li...
> <mailto:Spr...@li...>
> https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Springframework-rcp-dev mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Springframework-rcp-dev mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 07/10/2007
18:12
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 07/10/2007
18:12
|