Register / Login
Swing / AWT / SWT
Apply GridData for button created by jface action
posted 10 years ago
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
, and I created some JFACE buttons using action classes I created using:
ActionContributionItem aci = new ActionContributionItem(action); aci.fill(this.buttonArea);
is Composite which have
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
SCJP 1.2, SCBCD 5
JFace: Formatting control created by ActionContributionItem
ActionListener to Jface Dialogue
Get button created by ActionContributionItem
swt buttons wont right-align