Apply GridData for button created by jface action [message #464261] |
Sat, 19 November 2005 05:14  |
Eclipse User |
|
|
|
Originally posted by: ashraf.fouad.gmail.com
Dears,
I'm still new in SWT/JFace, and this is my first application, so sorry if
it seems it is naive.
I layout my controls using GridLayout, and I created some JFACE buttons
using action classes I created using:
ActionContributionItem aci = new ActionContributionItem(action);
aci.fill(this.buttonArea);
this.buttonArea is Composite which have GridLayout of 3 columns, I want to
add the button filling horizontal span = 3, and some other attributes in
GridData.
How can I specify the layout for button created using Jface action?
Thanks in advance.
Ashraf Fouad
|
|
|
Re: Apply GridData for button created by jface action [message #464377 is a reply to message #464261] |
Tue, 22 November 2005 07:01  |
Eclipse User |
|
|
|
Actions are part of the UI Workbench. You will probably get a better
response to this question in the eclipse platform newsgroup:
news://news.eclipse.org/eclipse.platform
"Ashraf Fouad" <ashraf.fouad@gmail.com> wrote in message
news:75805464090dbcd98b61f66653af49a4$1@www.eclipse.org...
> Dears,
> I'm still new in SWT/JFace, and this is my first application, so sorry if
> it seems it is naive.
>
> I layout my controls using GridLayout, and I created some JFACE buttons
> using action classes I created using:
>
> ActionContributionItem aci = new ActionContributionItem(action);
> aci.fill(this.buttonArea);
>
> this.buttonArea is Composite which have GridLayout of 3 columns, I want to
> add the button filling horizontal span = 3, and some other attributes in
> GridData.
>
> How can I specify the layout for button created using Jface action?
>
> Thanks in advance.
> Ashraf Fouad
>
|
|
|
Powered by
FUDForum. Page generated in 0.09423 seconds