blob: c7e518a0ac804f4b01bdeba92957f0283ddce193 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 by SAP AG, Walldorf.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* SAP AG - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.common.snippets.tests.helpers;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.wst.common.snippets.internal.AbstractSnippetProvider;
import org.eclipse.wst.common.snippets.internal.editors.ISnippetEditor;
import org.eclipse.wst.common.snippets.ui.ISnippetInsertion;
public class DummyProvider extends AbstractSnippetProvider {
public String getId() {
return "dummy";
}
public ISnippetInsertion getSnippetInsertion() {
return null;
}
public boolean isActionEnabled(ISelection selection) {
return false;
}
public IStatus saveAdditionalContent(IPath path) {
return null;
}
public ISnippetEditor getSnippetEditor() {
// TODO Auto-generated method stub
return null;
}
}