Command not defined [message #870723] |
Wed, 09 May 2012 08:54  |
Eclipse User |
|
|
|
Hi,
I want to create open project command and show the icon for command on toolbar.
I am geting following message on console
Unable to create menu item "org.eclipse.ui.project.openProject", command "org.eclipse.ui.project.openProject" not defined
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="abc.test.main.toolbar1"
label="MainToolBar">
<command
commandId="org.eclipse.ui.project.openProject"
label="Open"
style="push"
tooltip="Open">
</command>
<command
commandId="org.eclipse.ui.file.saveAll"
label="Save All"
style="push"
tooltip="Save All">
</command>
<command
commandId="org.eclipse.ui.edit.undo"
label="Undo"
style="push"
tooltip="Undo">
</command>
<command
commandId="org.eclipse.ui.edit.redo"
label="Redo"
style="push"
tooltip="Redo">
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="Delete"
style="push"
tooltip="Delete">
</command>
</toolbar>
</menuContribution>
</extension>
all other command icons are showing on tool bar but not open project command. Is there any i need to alter?
Regards,
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.16945 seconds