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 06:50
Charu Sharma is currently offline Charu SharmaFriend
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: Mon Dec 22 13:00:30 GMT 2014

Powered by FUDForum. Page generated in 0.01447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software