Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Create a add custom command to cheatsheet
Create a add custom command to cheatsheet [message #722242] Mon, 05 September 2011 02:50
Charu Sharma is currently offline 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
Previous Topic:(no subject)
Next Topic:a feature project including sources
Goto Forum:
  


Current Time: Wed Jul 30 11:29:07 EDT 2014

Powered by FUDForum. Page generated in 0.01464 seconds