Search code examples
javaeclipsercp

RCP command handler not extend "org.eclipse.core.commands.AbstractHandler" class


I am new to RCP trying to learn it through http://www.vogella.de/articles/EclipseRCP/article.html#views but when i Defining commands and created the handler class it does not extend org.eclipse.core.commands.AbstractHandler class but it implements IHandler can any one tell me what I am doing wrong?


Solution

  • In the handler extension point schema, we have defined the handler as a class that implements IHanlder. So when you use the wizard by default it will add IHandler as the super interface. You have to add the AbstractHandler as a super class manually in that wizard.