Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to allow a ControlContribution in a CoolBarManager to span the whole line.
How to allow a ControlContribution in a CoolBarManager to span the whole line. [message #276582] Thu, 25 November 2004 18:22
Eclipse UserFriend
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
Previous Topic:jar export and RMI
Next Topic:How do you get the currently selected project from the workspace?
Goto Forum:
  


Current Time: Wed Jul 16 06:10:10 EDT 2025

Powered by FUDForum. Page generated in 0.27420 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top