Hi All,
Plz any one help me to solve my problem.
I want to create my Toolbar menu actions are Editor
associated.
I just created some actions I added those actions to my editor
Toolbar. Some of items are buttons and some of the items are pull down menus(see
my attach file). I want to add my actions are Editor associate. I mean i don't
want to see those items in some other editor.
Some Button actions are created by extends ActionDelegate class and
implementing IEditorActionDelegateIn interface.
For Some action i used IWorkbenchWindowPulldownDelegate2 interface for to
create menuitem in the Toolbar.so I cant able to make those actions are Editor
associated. so plz
Give me some idea for to make the Toolbar pull down menus are editor
associate.
In plug.in.xml i used editorActions extension point.
<extension
point="org.eclipse.ui.editorActions">
<editorContribution
<action
label="ZoomOutToolBar"
tooltip="ZoomOut widgets"
icon="images/zoomminus.gif"
toolbarPath="org.eclipse.ui.workbench.navigate/new.group"
class="com.bm.devicestudio.feng.ui.esvg.actions.ZoomOutToolBarAction"
id="com.bm.devicestudio.feng.ui.esvg.actions.ZoomOutToolBar"
enablesFor="+">
</action>
</editorContribution>
</extension>