Create a add custom command to cheatsheet [message #722242] |
Mon, 05 September 2011 06:50 |
Charu Sharma Messages: 17 Registered: May 2011 Location: Pune |
Junior Member |
|
|
Hi,
I want to create a custom command to my cheat sheet, i have done below stuff, but i am getting the error:
1) Define custom command in plugin.xml.
<extension
point="org.eclipse.ui.commands">
<category
id="com.test.category"
name="My Category">
</category>
<command
categoryId="com.test.category"
defaultHandler="com.test.commands.TestCommandHandler"
description="Test Command"
id="com.test.commands.testCommand"
name="Test commands">
</command>
</extension>
I am getting Error message as below:
Message : Failed to deserialize command: com.test.commands.TestCommandHandler
**Exception Stack Trace:**
org.eclipse.core.commands.common.NotDefinedException: Cannot get the parameters from an undefined command. com.test.commands.TestCommandHandler
|
|
|
Powered by
FUDForum. Page generated in 0.04554 seconds