Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] How to add radio buttons on a viewer's local toolbar

Hi,

I need to add radio buttons to an image viewer local
toolbar. I can add normal buttons using
org.eclipse.ui.viewActions extension point by adding
the following lines to plugin.xml:

<extension point="org.eclipse.ui.viewActions">
    <viewContribution
        targetID="ibm.viewer.views.ImageView"
        id="ibm.viewer.views.ImageView.pushbutton">
    <action label="open"
            icon="icons/Open.gif"
            tooltip="Open image"
         class="ibm.viewer.actions.PushActionDelegate"
            toolbarPath="push_group"
            enablesFor="*"
            id="toolbar.open">
    </action>
    .....
</viewContribution>

But how does it apply for radio buttons?

Thank you in advance,

Richard


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


Back to the top