Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] IToolBarManager/CoolBarManager


This is the swt mailing list.
CoolBarManager and IToolBarManager are not swt classes, they are org.eclipse.jface... classes.
Please try asking this question on the platform newsgroup (news://news.eclipse.org/eclipse.platform) where jface questions are asked.

Thanks, and good luck!
Carolyn



"Carmelo Scala" <carmeloscala@xxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

04/26/2005 07:45 AM

Please respond to
"Eclipse Platform SWT component developers list."

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] IToolBarManager/CoolBarManager





Hi all,
Does anyone could help me with a coolbar, I mean what is the right way to use/create a coolbar in a view?
 
At the moment I’m using what follow
 
// ---------
IToolBarManager toolbarManager = view.getViewSite().getActionBars()
        .getToolBarManager();
toolbarManager.add(deleteAction);
toolbarManager.add(addProjectAction);
// --------
 
I have seen I can do …
 
CoolBarManager coolbarManager = new CoolBarManager ();
coolbarManager.add(toolbarManager);
 
how to move from here (if this is right!)?
 
Thanks for any help.
 
Kar

 _______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top