package com.softberries.klerk.commands; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.IHandler; import org.eclipse.core.commands.IHandlerListener; public class AddProductCommand implements IHandler { @Override public void addHandlerListener(IHandlerListener handlerListener) { } @Override public void dispose() { } @Override public Object execute(ExecutionEvent event) throws ExecutionException { System.out.println("execute add product"); return null; } @Override public boolean isEnabled() { return false; } @Override public boolean isHandled() { return false; } @Override public void removeHandlerListener(IHandlerListener handlerListener) { } }