How to allow a ControlContribution in a CoolBarManager to span the whole line. [message #276582] |
Thu, 25 November 2004 18:22 |
Eclipse User |
|
|
|
Originally posted by: qian.qiao.gmail.com
Hi,
I subclassed ControlContribution in order to add a composite to a JFace
CoolBarManager.
So the simplified code now looks like the following:
public SomeWindow extends ApplicationWindow{
protected CoolBarManager createCoolBarManager(int style){
CoolBarManager manager = new CoolBarManager(style);
manager.add(SubClassedControlContribution);
manager.add(createAnotherToolBarManager);
return manager;
}
protected ToolBarManager createAnotherToolBarManager(int style){
// Creates a ToolBarManager
}
}
I am now looking for a way to allow this CoolItem corresponding to the
SubClassedControlContribution
to span an entire line, in other words, the CoolItem added by
createAnotherToolBarManager
starts on a new line.
Is there a way to achieve this?
Thanks in advance.
-- Joe
|
|
|
Powered by
FUDForum. Page generated in 0.27420 seconds